Commit graph

16 commits

Author SHA1 Message Date
Thomas Faber
a1cc2c02bf [CMAKE]
- Add current source directory to MS RC include paths
- Add include directories to WRC include paths
- Now they should behave identically enough. Thanks to Amine.

svn path=/trunk/; revision=53361
2011-08-21 21:18:59 +00:00
Amine Khaldi
2583d5f4fb [HALACPI]
* Add to build. Dedicated to Cameron.
[SPEC2DEF]
* Add an option to set the name of the output def file.

svn path=/trunk/; revision=53264
2011-08-15 15:36:25 +00:00
Jérôme Gardou
b3a155a9d9 [CMAKE]
- get back to DllMAinCRTStartup entry point

svn path=/trunk/; revision=53239
2011-08-14 20:34:13 +00:00
Amine Khaldi
ec0d0002e1 [CMAKE]
* Convert some macros to functions.

svn path=/trunk/; revision=53136
2011-08-08 11:45:34 +00:00
Jérôme Gardou
47a2a8069d [CMAKE]
- add the possibility to add dependencies to PCH.
- Use it to fix advapi32 build

svn path=/trunk/; revision=53116
2011-08-07 11:13:45 +00:00
Jérôme Gardou
073e87c6d2 [CMAKE]
- make generated files depend on their generator
It seems stupid, but I removed this quite some time ago, don't ask me why.
Now, you just have to build the tools and do an incremental build each time a tool is updated.

svn path=/trunk/; revision=53088
2011-08-05 20:40:40 +00:00
Jérôme Gardou
6b39d13104 [CMAKE/GCC]
- fix entry point for native dlls

svn path=/trunk/; revision=53025
2011-08-02 06:11:12 +00:00
Dmitry Gorbachev
8cbe6f90ea Add "-fno-omit-frame-pointer" compiler option. GCC 4.6 omits on -O2 and -O3 level.
svn path=/trunk/; revision=52915
2011-07-27 02:37:33 +00:00
Amine Khaldi
5bd86be83b [CMAKE]
* Introduce a temporary cmake variable (PCH) to enable/disable cmake pch support as this requires our patched binary.
* Wrap pch macros around this variable.
* Implement the pch marco accordingly. By Jerome.

svn path=/trunk/; revision=52865
2011-07-25 19:05:00 +00:00
Amine Khaldi
c1e9a0abbe [CMAKE]
* De-duplicate IDL flags.

svn path=/trunk/; revision=52862
2011-07-25 18:39:25 +00:00
Amine Khaldi
81a39fdab6 [CMAKE]
* Disable stdcall fixup for executables.

svn path=/trunk/; revision=52570
2011-07-08 11:14:10 +00:00
Timo Kreuzer
871ee92c7b [CMAKE]
revert r52460, r52463, r52468 on behalf of Jerome
it wrongly gave name decorations to export

svn path=/trunk/; revision=52473
2011-06-26 21:29:55 +00:00
Jérôme Gardou
76c6c9e3e4 [CMAKE]
- add back add_importlib_target for def files, w32kdll relies on it.

svn path=/trunk/; revision=52468
2011-06-26 10:21:57 +00:00
Jérôme Gardou
01a4049405 [CMAKE]
- unify spec2def and add_importlib_target, thanks to cmake_parse_arguments.
  - also generate stub files only when necessary.
  - better precompiled header support, commented out as it wasn't tested on any other machine than mine, and it depends on cmake features which don't exist yet.
For now only for gcc toolchain

svn path=/trunk/; revision=52460
2011-06-25 18:34:03 +00:00
Amine Khaldi
c1c1acb463 [CMAKE]
* Deduplicate add_importlibs.

svn path=/trunk/; revision=52211
2011-06-13 12:05:22 +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/gcc.cmake (Browse further)