Commit graph

16 commits

Author SHA1 Message Date
Colin Finck c2c66aff7d Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
Amine Khaldi e7a9440fb8 [CMAKE] Default to Debug for the build type in GCC builds.
svn path=/trunk/; revision=67862
2015-05-23 11:45:59 +00:00
Dmitry Gorbachev c0b944dbb5 Fix build.
svn path=/trunk/; revision=63894
2014-08-15 11:17:16 +00:00
Dmitry Gorbachev f8abce1e28 [CMAKE]
Thin & Slim link-time optimization (requires up-to-date binutils).

svn path=/trunk/; revision=63893
2014-08-15 11:12:09 +00:00
Amine Khaldi cfe9329efe [CMAKE/GCC]
* Add -lgcc for C++ modules too. Dedicated to Timo.

svn path=/trunk/; revision=61918
2014-02-02 11:11:53 +00:00
Dmitry Gorbachev 5385764edf [CMAKE]
Reduce the disk space needed to build ReactOS (disabled for LTCG builds - linker bug #15143).

svn path=/trunk/; revision=60832
2013-11-02 13:56:47 +00:00
Amine Khaldi 735f00f3aa [CMAKE]
* Rely on CMAKE_HOST_WIN32 instead of CMAKE_HOST_SYSTEM_NAME which, sometimes, isn't set for some reason. Should fix the incorrect MINGW_TOOLCHAIN_PREFIX value issue.

svn path=/trunk/; revision=58292
2013-02-06 22:10:51 +00:00
Amine Khaldi ac35817a56 [ROSBE/CMAKE]
* Set the correct prefix for the upcoming RosBE 2.1 toolchain.

svn path=/trunk/; revision=57913
2012-12-14 21:56:11 +00:00
Amine Khaldi 2a0e108e5b [CMAKE]
* Prefer STREQUAL over MATCHES since we're comparing with strings here. Brought to you by Hermès Bélusca.
See issue #7306 for more details.

svn path=/trunk/; revision=57181
2012-08-27 18:58:27 +00:00
Amine Khaldi 04e46d06af [CMAKE]
* Get GCC version and add some compiler flags conditionally based on it. Dedicated to Dmitry.

svn path=/trunk/; revision=55870
2012-02-25 22:01:20 +00:00
Amine Khaldi 03c55fa911 [CMAKE]
* Don't detect the ASM compiler ID, we set it instead.

svn path=/trunk/; revision=53882
2011-09-28 11:13:53 +00:00
Amine Khaldi bed4f24279 [CMAKE]
* Prefix with ccache only when compiling c/c++ objects.
* Show a note when ccache build is enabled.

svn path=/trunk/; revision=53877
2011-09-27 21:21:59 +00:00
Dmitry Gorbachev fef1e2d451 [CMAKE]
Allow to specify prefix/suffix for GCC and Binutils.

svn path=/trunk/; revision=53730
2011-09-18 00:57:17 +00:00
Amine Khaldi fc340c26f9 [CMAKE]
* Fix the ar variable. Missed in r53488.

svn path=/trunk/; revision=53489
2011-08-29 13:43:15 +00:00
Sylvain Petreolle b2333da2b1 [CMAKE]
Let cmake find mingw32-ar by itself on *nix, otherwise cmake errors out.
See http://www.mail-archive.com/cmake@cmake.org/msg27491.html for details.


svn path=/trunk/; revision=53488
2011-08-29 13:15:14 +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
Renamed from reactos/toolchain-mingw32.cmake (Browse further)