Commit graph

29 commits

Author SHA1 Message Date
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