Commit graph

22 commits

Author SHA1 Message Date
Sylvain Petreolle 4a708c0f30 [CONFIGURE]
Addendum to r69601:
host-tools are "no longer required" but actually still exist.
Add the CMakeCache cleanup for them.


svn path=/trunk/; revision=71204
2016-04-24 22:40:53 +00:00
Pierre Schweitzer d87114591b [CONFIGURE.SH]
Modify the script to take into account that now, host-tools are no longer required.

Because it needs RosBE 2.1.2 (update guys!) still provide a fallback method to allow using old build method with host-tools. In case you need it, just call configure.sh with-host-tools

svn path=/trunk/; revision=69601
2015-10-18 15:47:20 +00:00
Pierre Schweitzer c77fa2a73b [CMAKE]
Fix unwanted change brought with r62933.
This disables ccache build by default on Unix plateforms.

CORE-8176

svn path=/trunk/; revision=63174
2014-05-06 15:42:54 +00:00
Sylvain Petreolle 274ee3388d [CMAKE]
Set types for variables we pass to cmake.
Specifying no type makes them UNINITIALIZED and can cause values to be ignored.
See https://www.mail-archive.com/cmake@cmake.org/msg17305.html for details.


svn path=/trunk/; revision=62933
2014-04-23 18:59:30 +00:00
Amine Khaldi 83164605f5 [CMAKE]
* Set PCH as on by default for RosBE 2.1.1 users.
* You guys no longer need to alter anything now, just grab RosBE 2.1.1 and have fun ;)
CORE-7716

svn path=/trunk/; revision=62151
2014-02-13 21:42:05 +00:00
Sylvain Petreolle 7c164e2686 configure: remove bashism.
svn path=/trunk/; revision=59910
2013-08-31 00:05:29 +00:00
Pierre Schweitzer ed44a9b246 [CONFIGURE.SH]
Fix formatting

svn path=/trunk/; revision=59458
2013-07-12 10:13:45 +00:00
Pierre Schweitzer c7f7b737c8 [CONFIGURE.SH]
Kill bashisms introduced by r59197 and replace them by sh code.

This is mainly to preserve maximum portability of the code, and to
fix configure.sh on platforms where /bin/sh doesn't point to /bin/sh ;-).

svn path=/trunk/; revision=59457
2013-07-12 10:10:23 +00:00
Hermès Bélusca-Maïto 68a58eafa6 - Remove two strange characters in configure.cmd
- Add a space between a word and an opening parenthese (in the informative message) in configure.sh

svn path=/trunk/; revision=59283
2013-06-22 10:54:11 +00:00
Sylvain Petreolle d267ecd023 configure.sh:
Allow passing -D parameters to cmake.
Both -DVAR=value and -D VAR=value syntaxes are supported.

svn path=/trunk/; revision=59197
2013-06-09 13:47:01 +00:00
Hermès Bélusca-Maïto 4bea75236e Hey Arch! Do not define NEWCC for now ! (look at http://git.reactos.org/?p=reactos.git&a=search&h=HEAD&st=grep&s=NEWCC ; spotted by Samuel Serapion)
svn path=/trunk/; revision=59139
2013-06-02 00:21:55 +00:00
Sylvain Petreolle 2aec6ce58a Fix configure on *nixes.
Arch, don't use brackets, thats meant to execute something.

svn path=/trunk/; revision=59130
2013-05-31 21:27:50 +00:00
Hermès Bélusca-Maïto 6b811ad8f5 Finally,...
... use Ninja by default for compiling ReactOS !!

Users now have to do:

./configure

to use Ninja for building ReactOS.

The old method (using makefiles) is available by doing:

./configure Makefiles
(or: ./configure makefiles )

Tested by Amine and Sylvain (blame them ;) )

svn path=/trunk/; revision=59129
2013-05-31 21:04:28 +00:00
Thomas Faber e73afacf0f [CMAKE]
- Produce a proper error when add_cd_file is used with an unknown folder
- Remove an rbuild-leftover in reactos.dff.in
- Update outdated build tool message in configure

svn path=/trunk/; revision=59058
2013-05-20 18:27:07 +00:00
Jérôme Gardou 3ab390e130 [CONFIGURE_SH]
- Add the ability to use the ninja generator with unix configure script

svn path=/trunk/; revision=57614
2012-10-25 13:05:30 +00:00
Dmitry Gorbachev e9301d98b4 Remove "bashisms" from configure.sh script, simplify it a bit.
svn path=/trunk/; revision=57243
2012-09-05 21:40:14 +00:00
Amine Khaldi 3b813c314d [CMAKE]
* Add PCH variable (disabled by default) to configure scripts.
* Add ccache variable to unix configure script.

svn path=/trunk/; revision=52866
2011-07-25 19:08:52 +00:00
Amine Khaldi 4c941247b4 [CMAKE]
* Move cmake files to the cmake folder.
* Rename msc.cmake to msvc.cmake and toolchain-mingw32.cmake to toolchain-gcc.cmake.
* Add compilerflags.cmake to group macros that handle different compiler flags.
* Move add_linkerflag and set_unicode macros to compilerflags.cmake. They were duplicated in gcc.cmake and msvc.cmake.
* Add add_compiler_flags macro to handle CMAKE_C_FLAGS and CMAKE_CXX_FLAGS properly, and replace add_definitions calls with add_compiler_flags calls when we're adding compiler flags, not definitions.
* Reorganize gcc.cmake to have compiler flags then linking and compiling rules.
* Move CMAKE_ASM_COMPILE_OBJECT out of toolchain-gcc.cmake into gcc.cmake and add ${CMAKE_C_FLAGS} to it, now that flags are properly set.
* Don't pass <FLAGS> (compiler flags) when linking.
* Without the (commented out) linker script flag, CMAKE_SHARED_LINKER_FLAGS_INIT is the same for both i386 and amd64. Deduplicate it.
* Fix CMAKE_C_STANDARD_LIBRARIES comment.
* Use <FLAGS> in msvc CMAKE_ASM_COMPILE_OBJECT instead of manual includes.
* Don't set ntdllsys linker language to C, it's an asm lib.
* Remove ros_cd.cmake as it's not needed anymore.
* Define _CRT_SECURE_NO_WARNINGS when compiling host tools with msvc.

svn path=/trunk/; revision=52210
2011-06-13 10:36:40 +00:00
Sylvain Petreolle e39c778ae1 [CMAKE]
configure :
Remove reactos cache.
Fix echo syntax.


svn path=/trunk/; revision=52192
2011-06-11 17:03:03 +00:00
Matthias Kupfer e345b5a483 revert previous commit due to serious build problems
svn path=/trunk/; revision=51872
2011-05-23 19:48:04 +00:00
Matthias Kupfer 54e3afb4ee patch by Igor Paliychuk <mansonigor at gmail dot com>:
- [CMAKE] Reduce difference with cmake branch
- msvc fixes
- minor changes by me

svn path=/trunk/; revision=51871
2011-05-23 19:30:50 +00:00
Sylvain Petreolle de9bfefa63 Add cmake configure script for unix.
svn path=/trunk/; revision=51801
2011-05-16 21:26:08 +00:00