Commit graph

48 commits

Author SHA1 Message Date
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
7d0047c609 [CMAKE]
Invoke spec2def only once to generate asm stub and def file.

svn path=/branches/cmake-bringup/; revision=49904
2010-12-02 22:16:59 +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
0522c531df [CMAKE]
- Add the stubs file as an output file.

svn path=/branches/cmake-bringup/; revision=49866
2010-11-29 18:36:22 +00:00
Amine Khaldi
2a6108be5a [CMAKE]
- Add auto stubs support to the msvc based toolchains.

svn path=/branches/cmake-bringup/; revision=49865
2010-11-29 18:35:43 +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
Timo Kreuzer
5782837e7e [CMAKE]
Reapply the midl hack. Someone wants to trick me or something. I could swear it just worked one minute ago.

svn path=/branches/cmake-bringup/; revision=49847
2010-11-28 16:22:38 +00:00
Timo Kreuzer
7cef73429a [CMAKE]
Fix dependencies for importlib targets

svn path=/branches/cmake-bringup/; revision=49846
2010-11-28 16:12:25 +00:00
Timo Kreuzer
4592c1140e [CMAKE]
- Remove the dxsdk hack. It works now without. Why? I don't know. Why didn't it work before? I have no idea. Maybe the newlines. Anyway it works. If someone breaks it, I'll ki^Z^Z revert it ;-)

svn path=/branches/cmake-bringup/; revision=49845
2010-11-28 15:52:00 +00:00
Timo Kreuzer
0ee737e354 [CMAKE]
Add a hack for midl. Don't ask me why, but renaming IEnumVARIANT to something different globally fixes the compilation of dxsdk. someone with more idl knowledge should check that.

svn path=/branches/cmake-bringup/; revision=49843
2010-11-28 15:40:47 +00:00
Timo Kreuzer
f4d65e62c9 [CMAKE]
Remove the old global strict_context_handle hack

svn path=/branches/cmake-bringup/; revision=49842
2010-11-28 12:58:10 +00:00
Timo Kreuzer
adfc8941cc [CMAKE]
ML wants /nologo, not /NOLOGO

svn path=/branches/cmake-bringup/; revision=49828
2010-11-27 23:41:23 +00:00
Timo Kreuzer
efa7393534 [CMAKE]
- implicitly link to msvcsup
- set proper entrypoints
- add linkerflags /DLL and /DRIVER

svn path=/branches/cmake-bringup/; revision=49805
2010-11-26 23:48:07 +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
e1f1113670 [CMAKE]
Allow no entrypoint for MSVC and use no entrypoint in genincdata to silence warning

svn path=/branches/cmake-bringup/; revision=49697
2010-11-21 19:47:55 +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
5cd6be3583 [CMAKE]
- Pass /nologo to the assembler
- don't implicitly link msvcrt and kernel32

svn path=/branches/cmake-bringup/; revision=49667
2010-11-20 16:21:24 +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
Timo Kreuzer
dc0023e49d [CMAKE]
Fix typos in add_importlib_target macro, use /NOLOGO

svn path=/branches/cmake-bringup/; revision=49621
2010-11-19 10:54:05 +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
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
Timo Kreuzer
39989dc9be [CMAKE]
Add /SAFESEH:NO to MSVC linker command line to fix unresolved symbol issue.

svn path=/branches/cmake-bringup/; revision=49473
2010-11-05 00:08:12 +00:00
Timo Kreuzer
d63277525c [CMAKE]
- fix add_importlib_target
- fix win32dll entrypoint (we wouldn't need to specify one, if the one in mingw lib had enough underscores)

svn path=/branches/cmake-bringup/; revision=49453
2010-11-02 21:31:45 +00:00
Amine Khaldi
cc843688e5 [CMAKE]
- Minor formatting.

svn path=/branches/cmake-bringup/; revision=49451
2010-11-02 20:27:06 +00:00
Timo Kreuzer
2b2d3d2776 [CMAKE]
Rename add_importlib_def to add_importlib_target
add importlib targets for ntdll, msvcrt, shell32, user32

svn path=/branches/cmake-bringup/; revision=49427
2010-11-02 09:22:58 +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
cf02eb354a [CMAKE]
Add missing dependencies for MSVC add_importlibs

svn path=/branches/cmake-bringup/; revision=49398
2010-11-01 09:39:53 +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
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
Jérôme Gardou
ab5836ad90 [CMAKE - MSC]
- Add set_image_base macro
  - add psdk and buildno dependencies to modules

svn path=/branches/cmake-bringup/; revision=49279
2010-10-26 07:31:04 +00:00
Timo Kreuzer
27301ff2e6 [CMAKE]
Add CMAKE_RC_CREATE_SHARED_LIBRARY for msvc (simply copied from gcc atm)


svn path=/branches/cmake-bringup/; revision=49099
2010-10-10 16:17:40 +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
Jérôme Gardou
796d321ba6 [CMAKE]
- add set_unicode macro to msvc toolchain
  - fix win32cui module type for msvc

svn path=/branches/cmake-bringup/; revision=48897
2010-09-25 23:01:09 +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
Jérôme Gardou
38dd8fce5f [CMAKE]
- improve cacls build file
  - add charmap, dbgprint, doskey, find, hostname, lodctr, more, reg and xcopy build files
  - add win32cui module type to msc toolchain
find is commented out for now. 

svn path=/branches/cmake-bringup/; revision=48875
2010-09-25 15:31:18 +00:00
Timo Kreuzer
aeead4620b [CMAKE]
- Improved MSVC toolchain support, now working with WDK, as well
(Thanks to Amine for solving the problems)
- Add compiler specific macro set_subsystem
- add nativecui module type

svn path=/branches/cmake-bringup/; revision=48824
2010-09-19 23:03:25 +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