Commit graph

16 commits

Author SHA1 Message Date
Timo Kreuzer 58541489db [CMAKE]
- Drop support for MSVC versions below 1300
- use the same flags for WDK / host as normal
- Disable optimization on Debug builds, its incompatible with /ZI

svn path=/branches/cmake-bringup/; revision=50689
2011-02-14 11:09:48 +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 25b4d48b89 [CMAKE]
Remove the RelWithDebInfo hack for MSVC

svn path=/branches/cmake-bringup/; revision=50687
2011-02-14 09:33:36 +00:00
Timo Kreuzer 09d50a5784 [CMAKE]
- Preserve case of symbols when assembling (this is not default)
- link to msvcsup

svn path=/branches/cmake-bringup/; revision=50536
2011-01-28 17:40:36 +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 83fb618aba [CMAKE]
Don't set lib pathes in msc toolchain file. Fixes amd64

svn path=/branches/cmake-bringup/; revision=50464
2011-01-22 16:26:37 +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 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
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
Timo Kreuzer 769e7c0eb8 [CMAKE]
Add a hack to fix compilation of irot.idl with MSVC. If someone knows how to correctly fix this, please let me know.

svn path=/branches/cmake-bringup/; revision=49538
2010-11-09 01:42:06 +00:00
Timo Kreuzer 23ade33f3e [CMAKE]
set custom command to compile asm files for MSVC toolchain. They are being preprocessed first.

svn path=/branches/cmake-bringup/; revision=49407
2010-11-01 16:40:30 +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
Amine Khaldi f8d1229750 [CMAKE]
- Remove a superfluous slash.
- Don't link to any standard libraries, we explicitly link to what's needed.

svn path=/branches/cmake-bringup/; revision=48837
2010-09-20 23:14:45 +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 e00685d331 [CMAKE]
Add RC compiler and Assembler to MSC toolchain

svn path=/branches/cmake-bringup/; revision=48820
2010-09-19 18:53:55 +00:00
Amine Khaldi 13f105b14b [CMAKE]
- Introduce MSVC toolchain support. Just use -DCMAKE_TOOLCHAIN_FILE=toolchain-msvc.cmake for the toolchain.
- Sync setjmp.h from trunk.
- Improve mingw targets (mingw_common, mingw_wmain, oldnames... etc) a bit to make them compile and link with msvc.
- Dedicated to Timo ;)

svn path=/branches/cmake-bringup/; revision=48809
2010-09-19 00:27:24 +00:00