Commit graph

57 commits

Author SHA1 Message Date
Amine Khaldi
c47b3863d9 [CMAKE]
- Adapt to the new spec2def syntax.

svn path=/branches/cmake-bringup/; revision=49908
2010-12-02 23:37:33 +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
Sylvain Petreolle
1d2630cc29 [CMAKE]
Add stubs file to source automatically.

Gcc: fix set_rc_compiler() so that it doesn't conflict with custom_incdefs().

svn path=/branches/cmake-bringup/; revision=49893
2010-12-02 12:36:16 +00:00
Amine Khaldi
0f1a6952bb [CMAKE]
- Add auto stubs support to the gcc based toolchains.

svn path=/branches/cmake-bringup/; revision=49864
2010-11-29 18:33:07 +00:00
Timo Kreuzer
89a3a5f960 [SPEC2DEF]
- add support for stubs generation
- add support for "proper" stubs, with calling convention and parameter dump
- handle -private
- change invokation a bit
[CMAKE]
- remove the old VARIANT hack

svn path=/branches/cmake-bringup/; revision=49862
2010-11-29 17:53:20 +00:00
Timo Kreuzer
5c2f95e5a4 [CMAKE]
Make rpcproxy macro portable

svn path=/branches/cmake-bringup/; revision=49856
2010-11-28 20:16:40 +00:00
Amine Khaldi
4a8860b952 - Correct the entry point for win32dll, win32ocx and cpl module types.
- Fix acledit.

svn path=/branches/cmake-bringup/; revision=49806
2010-11-26 23:57:03 +00:00
Timo Kreuzer
674c35dcd7 [CMAKE]
No precompiled headers for MSVC atm

svn path=/branches/cmake-bringup/; revision=49705
2010-11-22 12:25:25 +00:00
Timo Kreuzer
26718d757e [CMAKE]
- Add /nologo, when preprocessing asm files
- Move add_pch to compiler specific files (maybe someone can fix it for MSVC)
- Update set_module_type for MSVC

svn path=/branches/cmake-bringup/; revision=49683
2010-11-21 12:32:03 +00:00
Timo Kreuzer
f12dd9240e [CMAKE]
Add EXTERNAL_OBJECT TRUE for generated def files on gcc builds. Fixes empty exports.
Add kernelmodedriver module type for MSVC

svn path=/branches/cmake-bringup/; revision=49677
2010-11-21 00:55:46 +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
77c6616d62 [CMAKE]
- Revert back to including the definition files into the source files list.

svn path=/branches/cmake-bringup/; revision=49637
2010-11-19 17:41:48 +00:00
Timo Kreuzer
8dc1f0eb0e [CMAKE]
Fix dependencies, fix native-spec2def

svn path=/branches/cmake-bringup/; revision=49634
2010-11-19 16:38:25 +00:00
Timo Kreuzer
390cf6bc5f [CMAKE]
Add a new macro set_export_spec(), that replaces the use of spec2def + adding the generated def file to the sources
Remove EXTERNAL_OBJECT TRUE property for the generated def files.

svn path=/branches/cmake-bringup/; revision=49629
2010-11-19 14:21:18 +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
Jérôme Gardou
eea0d56fec [CAKE]
- simplify set_image_base

svn path=/branches/cmake-bringup/; revision=49571
2010-11-12 23:52:40 +00:00
Timo Kreuzer
2b5855372c [CMAKE]
- Move spec2def into comppiler specific files, use spec2pdef tool on MSVC builds
- Add a ridiculously complex macro to create the importlibs for MSVC. (It was hard for me to figure this out, so be it for you ;-))

svn path=/branches/cmake-bringup/; revision=49545
2010-11-10 12:33:24 +00:00
Timo Kreuzer
04d745acca [CMAKE]
add missing dependency

svn path=/branches/cmake-bringup/; revision=49535
2010-11-08 19:01:52 +00:00
Timo Kreuzer
c4f1145fca [CMAKE]
- add new macro add_linkerflag to avoid code duplication
- add new macro set_pdef_file, replacing the use of pdef2def, which is neccessary to resolve issues with MSVC. cmake doesn't handle def files as source files very well, when they are not in the current source directory.

svn path=/branches/cmake-bringup/; revision=49524
2010-11-08 12:24:33 +00:00
Amine Khaldi
1c18b9b723 [CMAKE]
- Add a preprocessed definition file for acledit.
- Add the pdef2def macro.
- Include wpp into build, widl links to it.
- Fix libmpg123.

svn path=/branches/cmake-bringup/; revision=49509
2010-11-06 11:31:38 +00:00
Amine Khaldi
7393a02b74 [CMAKE]
- Explicitly disable auto imports for executables.
- Set a proper linker invocation for C++ modules.

svn path=/branches/cmake-bringup/; revision=49503
2010-11-05 23:17:29 +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
Jérôme Gardou
fa36534888 [CMAKE]
Poor little gcc, forgotten by Timo

svn path=/branches/cmake-bringup/; revision=49447
2010-11-02 17:25:36 +00:00
Jérôme Gardou
887046a6ee [CMAKE]
- build msvc importlibs explicitly from def file
  - circumvent lack of pseh lib in MSVC.
  - fix advapi32.def

svn path=/branches/cmake-bringup/; revision=49409
2010-11-01 17:24:32 +00:00
Timo Kreuzer
ee10c4c2c7 [CMAKE]
Implement add_importlib_target macro to build importlibs for MSVC. We can't use MSVC's libraries, as they are incomplete.
gcc version does nothing.

svn path=/branches/cmake-bringup/; revision=49377
2010-10-31 17:31:05 +00:00
Sylvain Petreolle
2be091d196 [CMAKE]
Enable auto import.

svn path=/branches/cmake-bringup/; revision=49339
2010-10-29 12:27:26 +00:00
Jérôme Gardou
f9b79bf9fc [CMAKE]
- Downgrade a warning to a status, so this is not too intrusive

svn path=/branches/cmake-bringup/; revision=49317
2010-10-27 22:25:35 +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
Jérôme Gardou
b52b88ac96 [CMAKE]
- fix typo

svn path=/branches/cmake-bringup/; revision=49290
2010-10-26 18:01:37 +00:00
Jérôme Gardou
06537a6ad4 [CMAKE]
- midl support for building rpc server/client libraries

svn path=/branches/cmake-bringup/; revision=49289
2010-10-26 17:42:02 +00:00
Amine Khaldi
8c7563f645 [CMAKE]
- Add set_image_base macro.
- Fix ks linking.

svn path=/branches/cmake-bringup/; revision=49258
2010-10-24 12:44:36 +00:00
Sylvain Petreolle
89271fe38d [CMAKE]
Add each win32dll module to livecd and remove global temporary add-on from gcc.cmake.
Fix pch use in fmifs.
Enable remaining dlls in dll/win32/CMakeLists.txt.

svn path=/branches/cmake-bringup/; revision=49230
2010-10-22 19:40:56 +00:00
Sylvain Petreolle
fc6a87624a [CMAKE]
Add win32dll modules to livecd for now.
For better flexibility, this will be needed in each module file.

svn path=/branches/cmake-bringup/; revision=49221
2010-10-22 13:40:02 +00:00
Jérôme Gardou
2d93fd22ac [CMAKE]
- include stlport directory in set_cpp macro
  - move set_cpp macro where it belongs : it's generic enough to go to CMakeMacros.cmake

svn path=/branches/cmake-bringup/; revision=49148
2010-10-14 20:16:57 +00:00
Jérôme Gardou
33a0b314cd [CMAKE]
- add kernelmodedriver module type
  - add set_cpp macro, which takes care of all c++ stuff for you
  - hackfix stlport headers for c++ kernel mode modules.
  - complain about explorer
  - solitaire, telnet and uniata now build happily against stlport

svn path=/branches/cmake-bringup/; revision=49141
2010-10-14 11:03:20 +00:00
Amine Khaldi
9ff87a62ad [CMAKE]
- More work on the dlls. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=49135
2010-10-13 12:11:50 +00:00
Amine Khaldi
e9977ecc9f [CMAKE]
- More work on the dlls.
- libgcc is already a standard C lib, don't relink to it for executables.
- ICU isn't needed for now, disable it.

svn path=/branches/cmake-bringup/; revision=49059
2010-10-08 21:02:11 +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
Jérôme Gardou
db37322eb6 [CMAKE]
- link executables against gcc and mingw_common
  - remove link dependencies from mingw_common
This puts C executables into a good shape again.

svn path=/branches/cmake-bringup/; revision=49054
2010-10-08 18:04:16 +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
Jérôme Gardou
27267a3cab [CMAKE]
- add gcc dependencies to executables, not to mingw_(w)main
[STLPORT]
  - move features definitions where it belongs.
[SDK]
  - errno _must_ be defined in errno.h, nowhere else, or stlport headers choke.

svn path=/branches/cmake-bringup/; revision=49049
2010-10-08 10:46:54 +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
a5f513fed5 [CMAKE]
- Disable emitting debug info and applying the linker script for now.
- Enable explorer build.

svn path=/branches/cmake-bringup/; revision=48983
2010-10-04 22:06:46 +00:00
Amine Khaldi
c6dd9578be [CMAKE]
- Improve some dlls.

svn path=/branches/cmake-bringup/; revision=48967
2010-10-02 22:19:59 +00:00
Amine Khaldi
12fbca9aba [CMAKE]
- Introduce the case where entry point is 0.
- Improve some dlls.

svn path=/branches/cmake-bringup/; revision=48966
2010-10-02 19:08:06 +00:00
Amine Khaldi
0281bf63e6 [CMAKE]
- Improve the unicode situation.
- Apply a consistent formatting.
- Improve the unicode modules we have so far.
- Get rid of some rbuildism.
- Overall improvements.

svn path=/branches/cmake-bringup/; revision=48964
2010-10-02 16:09:32 +00:00
Amine Khaldi
9a79b1e80d [CMAKE]
- Add typelib support macro and use it with stdole2. By Jerome Gardou.

svn path=/branches/cmake-bringup/; revision=48914
2010-09-28 13:32:41 +00:00
Sylvain Petreolle
c0c597d9c6 [CMAKE]
Add a set_rc_compiler macro,
its a workaround for lack of mingw RC support in cmake.
Enable winemine build.
Improve user32 CMakeLists.txt.

Thanks to AmineKhaldi for initial support of resources in user32.

svn path=/branches/cmake-bringup/; revision=48906
2010-09-27 09:14:54 +00:00
Amine Khaldi
9ea8827010 [CMAKE]
- Introduce proper set_entrypoint and set_subsystem macros for both mingw and msvc.
- Fix the subsystem for console apps.

svn path=/branches/cmake-bringup/; revision=48893
2010-09-25 20:44:46 +00:00