Commit graph

80 commits

Author SHA1 Message Date
Jérôme Gardou 04fa57f360 [CMAKE]
We provide everything (headers, libraries, executables...), so tell it to cmake
[CRT]
The crt library must provide a and w version of the functions and not rely to _UNICODE being set or not

svn path=/branches/cmake-bringup/; revision=51273
2011-04-07 14:11:36 +00:00
Jérôme Gardou 1d2b1c4a24 [CMAKE]
- Get rid of buildno_header target, builno.h is generated at configure time.

svn path=/branches/cmake-bringup/; revision=51220
2011-04-01 17:34:49 +00:00
Jérôme Gardou ab94ebe598 [CMAKE]
- Do not make an artificial target for gendib generated files.
GENERATED property for source files is there for that and is automatically set by cmake for custom command OUTPUT files.

svn path=/branches/cmake-bringup/; revision=51219
2011-04-01 16:59:14 +00:00
Jérôme Gardou e8a0827c67 [CMAKE]
- fix cmake version check

svn path=/branches/cmake-bringup/; revision=51153
2011-03-26 12:36:15 +00:00
Jérôme Gardou 04410bf196 [CMAKE]
- wrap cmake 2.8.4 (which is > 2.8.2, ah ah) policy into right checks
  - put it in the right place

svn path=/branches/cmake-bringup/; revision=51152
2011-03-26 12:31:05 +00:00
Jérôme Gardou 6765eed6e2 [CMAKE]
- cmake 2.8.4 comes with a new policy, set the needed behaviour.

svn path=/branches/cmake-bringup/; revision=51149
2011-03-26 11:11:46 +00:00
Timo Kreuzer 91fce48fa1 [HEADERS]
- Remove include/reactos and include/reactos/wine include directories for host tools
- Add include/host/wine directory
- Move wpp.h to include/host/wine
- Put a seperate config.h into include/host
- Add a dummy debug.h and guiddef.h, wine/list.h, wine/port.h and wine/rpcfc.h that link to the original ones to include/host

svn path=/branches/cmake-bringup/; revision=50763
2011-02-16 22:48:56 +00:00
Amine Khaldi 3f7f1e0d7f [CMAKE]
- Get rid of the redundancy in setting msvc flags, and set /ZI instead of /Zi for both host and target modules.
- Get rid of the redundancy in setting the default behaviour of the FIND_XXX() commands between toolchain files.

svn path=/branches/cmake-bringup/; revision=50688
2011-02-14 10:32:46 +00:00
Timo Kreuzer 89fbead325 sync trunk HEAD (r50626)
svn path=/branches/cmake-bringup/; revision=50635
2011-02-09 15:56:57 +00:00
Timo Kreuzer 0d54e35b94 [CMAKE]
Refactor IDL compilation:
- Move all macros to idl-support.cmake
- Make rpc proxy a static library, instead of fiddeling with SOURCE variable
- Merge client and server rpc libraries into one library
- Reorder global makelist file a little
- Improve configure script
- Improve naming, use add_* when a target is added, generate_* when only a file is generated
- Don't compile wbemcli.idl on MSVC (temp hack)
- Don't compile rossym on MSVC, we don't use it
- Use ml64 as assembler when compiling for amd64
- fix spec2def invocation

svn path=/branches/cmake-bringup/; revision=50478
2011-01-24 18:13:40 +00:00
Timo Kreuzer 1fb963feea [CMAKE]
Remove _M_AXP64 definition

svn path=/branches/cmake-bringup/; revision=50469
2011-01-22 18:41:33 +00:00
Timo Kreuzer a3604ffda3 [CMAKE]
- lowerize ARCH string (fixes cmlib)
- move definition

svn path=/branches/cmake-bringup/; revision=50465
2011-01-22 17:13:06 +00:00
Sylvain Petreolle 5f1a2314f2 [CMAKE]
Use cmake subversion capabilities to generate buildno.h and version.h.

svn path=/branches/cmake-bringup/; revision=50454
2011-01-21 20:29:45 +00:00
Sylvain Petreolle f8f7ec4d56 [CMAKE]
-fshort-wchar is not related to inline, neither is i386 specific.


svn path=/branches/cmake-bringup/; revision=50337
2011-01-08 23:22:54 +00:00
Sylvain Petreolle 398ded55b9 [CMAKE]
Move -fshort-wchar defintion (gcc specific).


svn path=/branches/cmake-bringup/; revision=50336
2011-01-08 22:33:22 +00:00
Amine Khaldi 9d64a217d5 [CMAKE]
- Prevent cmake from escaping preprocessor definition values added via add_definitions.
- Fix a FIXME in oleaut32 and urlmon builds.

svn path=/branches/cmake-bringup/; revision=50333
2011-01-08 20:01:33 +00:00
Amine Khaldi 287ba86f03 [CMAKE]
- Add -fshort-wchar to host tools

svn path=/branches/cmake-bringup/; revision=50320
2011-01-08 11:52:58 +00:00
Amine Khaldi 166360a829 [CMAKE]
- Initial support of the arm toolchain/build.

svn path=/branches/cmake-bringup/; revision=50300
2011-01-06 16:57:56 +00:00
Timo Kreuzer 8c14a1744a [CMAKE]
Add generation of a depencency graph for shared libraries.
The output is a graphml file. Can be enabled with GENERATE_DEPENDENCY_GRAPH switch.

svn path=/branches/cmake-bringup/; revision=50243
2010-12-31 16:49:49 +00:00
Amine Khaldi fce639e14b [CMAKE]
- Disable some resource files (mostly japanese ones) with a FIXME. They prevent us from compiling in unix due to an iconv issue.
- Lower the minimum required cmake version to 2.6
- Fix browseui resource paths.

svn path=/branches/cmake-bringup/; revision=50224
2010-12-30 15:39:10 +00:00
Timo Kreuzer c06e6d6e4a [CMAKE]
- Add _WINKD_ definition
- fix DBG and KDBG

svn path=/branches/cmake-bringup/; revision=50194
2010-12-28 17:08:11 +00:00
Amine Khaldi 8c95f75064 [CMAKE]
- Move the ARCH initialization to the main cmake file instead of the toolchain file.

svn path=/branches/cmake-bringup/; revision=50186
2010-12-28 11:50:56 +00:00
Amine Khaldi 0e74512f1e [CMAKE]
- Improve amd64 toolchain support.

svn path=/branches/cmake-bringup/; revision=50171
2010-12-27 20:10:40 +00:00
Amine Khaldi bec9e0bfa6 [CMAKE]
- Add rostests to build when the folder exists.
- Alter the importlib target macro to handle definition files along with spec files.

svn path=/branches/cmake-bringup/; revision=50101
2010-12-22 16:37:32 +00:00
Timo Kreuzer 090377fe9d [CMAKE]
- Fix configuration with cmake-gui (BOOL variables are TRUE/FALSE not 0/1)
- Remove unused DBG_OR_KDBG

svn path=/branches/cmake-bringup/; revision=49946
2010-12-04 12:48:02 +00:00
Timo Kreuzer f4b7920876 [CMAKE]
define inline to __inline for host tools on MSVC builds

svn path=/branches/cmake-bringup/; revision=49934
2010-12-03 17:51:03 +00:00
Amine Khaldi faa04c1086 [CMAKE]
- Group some cross compiling related sections.
- Implement add_importlib_target() for gcc.
- Improve the msvc version.

svn path=/branches/cmake-bringup/; revision=49903
2010-12-02 21:56:40 +00:00
Timo Kreuzer 8ee00e2746 [CMAKE]
Bye, bye, winebuild. Welcome spec2def.

svn path=/branches/cmake-bringup/; revision=49675
2010-11-20 21:43:57 +00:00
Amine Khaldi 70dbd8d479 [CMAKE]
- Fix gcc host tools build.

svn path=/branches/cmake-bringup/; revision=49633
2010-11-19 15:58:35 +00:00
Timo Kreuzer 9431c38607 [SPEC2DEF]
rename spec2pdef to spec2def

svn path=/branches/cmake-bringup/; revision=49632
2010-11-19 15:27:58 +00:00
Timo Kreuzer f2ab1b31c4 [ASM]
add genincdata, a module that will be compiled as a dll to provide the data for geninc to be converted into an .inc file.

svn path=/branches/cmake-bringup/; revision=49561
2010-11-11 13:40:29 +00:00
Jérôme Gardou 541b368402 [CMAKE]
- build and export spec2pdef

svn path=/branches/cmake-bringup/; revision=49549
2010-11-10 22:02:51 +00:00
Amine Khaldi c93d1289fd [CMAKE]
- Remove wpp from build.
- Improve several tools and libs.
- Improve the root cmake file.

svn path=/branches/cmake-bringup/; revision=49492
2010-11-05 18:06:25 +00:00
Jérôme Gardou 9e6d47d509 [CMAKE]
allow to specify build tools directory with -DREACTOS_BUILD_TOOLS_DIR=Y:\you\path
So now you're able to use multiple compilers with one tree without too much worry.

svn path=/branches/cmake-bringup/; revision=49459
2010-11-03 12:57:03 +00:00
Jérôme Gardou fd5ef6b1c1 [CMAKE]
- add macros add_cab and add_cab_target to add files to reactos.dff
  - add bootcd target
  - make use of these macros to create bootcd and livecd
Bootcd works and install things, but 2nd stage fails booting. We need debug symbols!!!

svn path=/branches/cmake-bringup/; revision=49347
2010-10-30 09:53:53 +00:00
Sylvain Petreolle c5b7494a04 [CMAKE]
Export cabman as native tool.

svn path=/branches/cmake-bringup/; revision=49321
2010-10-27 22:43:04 +00:00
Sylvain Petreolle 5644ab604d [CMAKE]
Improve minicd and livecd macros.
Files and iso images are updated/cleaned without any manual steps.

svn path=/branches/cmake-bringup/; revision=49306
2010-10-27 14:06:40 +00:00
Jérôme Gardou ef1e9cefa1 [CMAKE]
- use baseaddresses for dlls

svn path=/branches/cmake-bringup/; revision=49305
2010-10-27 14:00:51 +00:00
Sylvain Petreolle 070a3b3935 [CMAKE]
Livecd: Add inf files.
Temporarily add generated syssetup.inf from trunk.

svn path=/branches/cmake-bringup/; revision=49235
2010-10-23 11:35:26 +00:00
Amine Khaldi b975ab079c [CMAKE]
- Create profiles related folders into the livecd iso.
- Add some missing modules to livecd.

svn path=/branches/cmake-bringup/; revision=49234
2010-10-23 10:38:48 +00:00
Sylvain Petreolle 493475d8d2 [CMAKE]
Add mkhive to build.
Add livecd target.
Make filename optional in add_mini_target, using the target one as default.
Move MACRO_IDL_FILES to CMakeMacros.cmake.
Add rpcproxy macro.
Build interface definitions headers for epm and irot.

svn path=/branches/cmake-bringup/; revision=49218
2010-10-22 13:15:58 +00:00
Timo Kreuzer ae8c809c3b [CMAKE] Fix option checking
svn path=/branches/cmake-bringup/; revision=49077
2010-10-09 16:25:03 +00:00
Sylvain Petreolle da55a789c3 [CMAKE]
Add minicd target.
This partial bootcd target produces a minicd iso,
able to start the install process to the cabinet installation page.

svn path=/branches/cmake-bringup/; revision=49072
2010-10-09 13:54:36 +00:00
Amine Khaldi 6340b50853 [CMAKE]
- Introduce lesser verbose makefiles.

svn path=/branches/cmake-bringup/; revision=49066
2010-10-09 10:10:39 +00:00
Jérôme Gardou e20a0a30ee [CMAKE]
- Use stlport specific includes only for c++ source files
  - remove linking to ntdll, kernel32 and oldnames for mingw_common

svn path=/branches/cmake-bringup/; revision=49050
2010-10-08 13:47:39 +00:00
Amine Khaldi 4efda499f7 [CMAKE]
Jerome Gardou:
- Add STLport 5.2.1 (yes, STLport, the c++ stl implementation) to build. For now, it works only in user mode.
- Link some c++ executables to it
- sol.exe : one step towards a complete and modern OS.
- Dedicated to Amine for his patience and his help.
- Might Break Things! (tm)

svn path=/branches/cmake-bringup/; revision=49046
2010-10-07 22:09:31 +00:00
Timo Kreuzer aefbd32d48 [CMAKE]
- Add support for gui configurable options
- globalize compiler specific cmake files
- Add compiler specific macros set_entrypoint, set_module_type

svn path=/branches/cmake-bringup/; revision=48821
2010-09-19 20:06:02 +00:00
Amine Khaldi 0dbb8d3eb2 [CMAKE]
- *cough* Separate compiler specific flags.

svn path=/branches/cmake-bringup/; revision=48808
2010-09-19 00:15:45 +00:00
Sylvain Petreolle c702cc0d5a [CMAKE]
Generalize CMAKE_C_CREATE_SHARED_LIBRARY and remove per project instances.
Thanks to Amine for regexxer tool discovery ;)


svn path=/branches/cmake-bringup/; revision=48804
2010-09-18 15:22:08 +00:00
Amine Khaldi 13dc8a4761 [CMAKE]
- Generalize CMAKE_C_LINK_EXECUTABLE and CMAKE_EXE_LINKER_FLAGS, and use additional flags per module.
- Fix usetup: make it depend on psdk and buildno_header, and also fix the entry point (_NtProcessStartup -> _NtProcessStartup@4)
- Make ext2lib depend on psdk.

svn path=/branches/cmake-bringup/; revision=48802
2010-09-18 12:14:03 +00:00