Commit graph

41 commits

Author SHA1 Message Date
Amine Khaldi 0c5fa99762 [CMAKE]
- Ensure that we index the static libs in *nix environments.

svn path=/branches/cmake-bringup/; revision=51280
2011-04-08 17:30:18 +00:00
Amine Khaldi 66d7842e82 [CMAKE]
- Fix resource compilation with windres for 2.8.4

svn path=/branches/cmake-bringup/; revision=51156
2011-03-26 13:31:09 +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 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
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
Amine Khaldi 6c0c23cb53 [CMAKE]
- Sync with trunk head (r50270)
- This also reverts r49298.

svn path=/branches/cmake-bringup/; revision=50271
2011-01-03 00:33:31 +00:00
Timo Kreuzer 5351f44808 [CMAKE]
LD is stupid and doesn't handle stdcall decoration as proper as dlltool does (after we provided a patch). Passing --kill-at, also kills C++ mangled names and exports with stdcall decoration are imposible. In trunk we use dlltool to generate an exp file that we link with LD, but in the cmake branch we pass the def file to LD directly. Luckily we have a tool called spec2def that can handle these things. We now generate 2 different .def files, one for LD, containing the undecorated export name forwarded to the decorated symbol name (FooFunc=FooFunc@12), while the 2nd def file which is passed to dlltool for exportlib generation has full stdcall decorations. --kill-at is now passed to dlltool only. This commit might break msvc, but should be pretty easy to fix.

svn path=/branches/cmake-bringup/; revision=50217
2010-12-29 23:58:17 +00:00
Amine Khaldi 6e719f7d6f [CMAKE]
- Remove an unintended change.

svn path=/branches/cmake-bringup/; revision=50216
2010-12-29 19:11:17 +00:00
Amine Khaldi 67118af43a [CMAKE]
- Actually the ARCH initialization is needed in both places.

svn path=/branches/cmake-bringup/; revision=50187
2010-12-28 12:00:49 +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 9248292c48 [CMAKE]
- Improve formatting.

svn path=/branches/cmake-bringup/; revision=50169
2010-12-27 18:29:10 +00:00
Amine Khaldi 16fed19fbd [CMAKE]
- Add ccache support.

svn path=/branches/cmake-bringup/; revision=49813
2010-11-27 11:27:09 +00:00
Jérôme Gardou d738b24b6f [CMAKE]
- use correct link script file for freeldr and setupldr
  - use correct definition file for advapi32
  - don't specify name to add_bootcd_target if not needed
  - portcls is not a kernel mode driver
  - Disable stcall fixup, except for mesa32 which requires it
  - remove an useless file from minihal, add a forgotten one to freeldr

svn path=/branches/cmake-bringup/; revision=49615
2010-11-18 21:32:10 +00:00
Timo Kreuzer 0c7d0cbc07 [CMAKE]
Add include/asm to asm include pathes

svn path=/branches/cmake-bringup/; revision=49590
2010-11-15 01:09:10 +00:00
Amine Khaldi 7c79c0ae87 [CMAKE]
- Explicitly disable auto imports, and fix the modules that were missed out by the previous related commit.
- Dedicated to Usurp.

svn path=/branches/cmake-bringup/; revision=49497
2010-11-05 21:22:07 +00:00
Sylvain Petreolle 8456a5473e [CMAKE]
Revert incorrect auto import change and use proper definitions instead.

svn path=/branches/cmake-bringup/; revision=49476
2010-11-05 09:38:42 +00:00
Sylvain Petreolle 2be091d196 [CMAKE]
Enable auto import.

svn path=/branches/cmake-bringup/; revision=49339
2010-10-29 12:27:26 +00:00
Amine Khaldi da7764cd5c [CMAKE]
- Improve some dlls.
- Fix cmd and stlport.
- Add libgcc as a C standard lib.

svn path=/branches/cmake-bringup/; revision=49056
2010-10-08 19:10:33 +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
Amine Khaldi cec00257f3 [CMAKE]
- Add win32ocx module type.
- Disable the linker script for now.

svn path=/branches/cmake-bringup/; revision=49015
2010-10-06 13:24:46 +00:00
Amine Khaldi 3938ef73b1 [CMAKE]
- Fix the linking regression.

svn path=/branches/cmake-bringup/; revision=48882
2010-09-25 17:57:03 +00:00
Sylvain Petreolle 4b8f69dfac [CMAKE]
Add set_unicode macro.
Add win32dll module type.
Set CMAKE_CXX_LINK_EXECUTABLE.
Clear CMAKE_CXX_STANDARD_LIBRARIES.
Improve calc.

svn path=/branches/cmake-bringup/; revision=48871
2010-09-25 14:22:16 +00:00
Timo Kreuzer d7733b45c3 [CMAKE]
Create a portable way of compiling IDL files.
Sorry for the coding style :)

svn path=/branches/cmake-bringup/; revision=48838
2010-09-21 02:31:09 +00:00
Sylvain Petreolle 886d934055 [CMAKE]
Fix minicd boot regression.
Remove unneeded usetup link to msvcrt.

svn path=/branches/cmake-bringup/; revision=48814
2010-09-19 16:16:01 +00:00
Amine Khaldi a5f63965c8 [CMAKE]
- Introduce support for the amd64 toolchain. Using it is as simple as adding -DARCH=amd64 to the cmake line (next to the toolchain file define).
- Dedicated to Sylvain (Usurp) ;)

svn path=/branches/cmake-bringup/; revision=48763
2010-09-12 21:03:47 +00:00
Amine Khaldi d73bc1f2e0 [CMAKE]
- Include crt headers when compiling RC files.

svn path=/branches/cmake-bringup/; revision=48634
2010-08-28 17:41:06 +00:00
Amine Khaldi 6e4d96514e [CMAKE]
- Cache the mingw32 prefix.
- Improve the RC compiler invocation.

svn path=/branches/cmake-bringup/; revision=48591
2010-08-22 13:38:36 +00:00
Amine Khaldi 684dd7e251 [CMAKE]
- Automatically choose the image base for DLLs.
- Improve RC compiler invocation.
- Add and apply the global linker script.

svn path=/branches/cmake-bringup/; revision=48528
2010-08-13 14:02:58 +00:00
Sir Richard fc5ac84ba5 [CMAKE]: Don't prefix DLLs with "lib".
[CMAKE]: Add our libgcc by default.

svn path=/branches/cmake-bringup/; revision=48458
2010-08-04 14:42:05 +00:00
Sir Richard 3930317e12 [CMAKE]: Disable standard C libraries (WIP: Should add libgcc).
[CMAKE]: Set global linker flags we need for all libraries.
[CMAKE]: Set specific NTDLL linker flag.
Thanks to Amine for some of his help.

svn path=/branches/cmake-bringup/; revision=48457
2010-08-04 14:29:24 +00:00
Sir Richard 807b0907d5 [CMAKE]: Add full support for linking RC files with windres.
svn path=/branches/cmake-bringup/; revision=48448
2010-08-04 07:51:26 +00:00
Sir Richard 0efbac95d2 [CMAKE]: Don't auto-link with Win32 stuff.
svn path=/branches/cmake-bringup/; revision=48439
2010-08-03 21:38:59 +00:00
Sir Richard 5abcbffcd0 [CMAKE]: Make simple rule for building ASM files.
[CMAKE]: Enable RC support.
[CMAKE]: Stop building tools we won't need.

svn path=/branches/cmake-bringup/; revision=48427
2010-08-03 14:53:12 +00:00
Amine Khaldi 0d72b49f46 [CMAKE]
- We won't be using mkdir to create folders since cmake has a command for it.
- Split nci generated files into separate targets, so that modules can depend on each one of them separately if needed.
- Add win32ksys to build.

svn path=/branches/cmake-bringup/; revision=48329
2010-07-28 12:58:37 +00:00
Amine Khaldi a7d2ad6334 [CMAKE]
- Rename ncitool to nci and mark it as an exported native tool.
- Add nci generated intermediate files to build.

svn path=/branches/cmake-bringup/; revision=48325
2010-07-28 10:13:27 +00:00
Amine Khaldi 917e248cc6 [CMAKE]
- Add rtl to build.

svn path=/branches/cmake-bringup/; revision=48319
2010-07-27 23:55:52 +00:00
Sir Richard b2e6f743b6 [CMAKE]: Fix compiler detection, we should check for CMAKE_HOST_SYSTEM_NAME, not CMAKE_SYSTEM_NAME, which is always Windows on a cross-build.
[CMAKE]: PROCESSIR->PROCESSOR

svn path=/branches/cmake-bringup/; revision=48316
2010-07-27 17:36:25 +00:00
Sir Richard 33d9345552 [CMAKE]: Detect correct MinGW compiler on Windows vs Linux/Darwin.
svn path=/branches/cmake-bringup/; revision=48309
2010-07-27 16:00:40 +00:00
Sir Richard 13187ac941 [CMAKE]: Make cross-build work on all systems. RosBE Already is nice and adds itself to the path. CMAKE is magical and finds the RosBE compilers.
svn path=/branches/cmake-bringup/; revision=48261
2010-07-25 20:07:19 +00:00
Sir Richard 844fdca239 [CMAKE]: Add a makefile to build the IDL files. Not perfect, but gets the job done.
[CMAKE]: Add a mignw32 toolchain file, right now it's pretty hacked for my system only, but it works.

svn path=/branches/cmake-bringup/; revision=48256
2010-07-25 17:03:07 +00:00