* Adopt the retar, I mean, actual way of handling resource files. This is a temporary measure until a windres issue is fixed.
svn path=/branches/cmake-bringup/; revision=51381
* Sync with trunk r51339.
* Move the static lib creation command from the toolchain file to gcc.cmake
svn path=/branches/cmake-bringup/; revision=51340
Don't automatically add stub files to the sources, instead add them manually where neccessary. also fix a number of spec files to resemble actual state of implementation.
svn path=/branches/cmake-bringup/; revision=50574
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
Add generation of a depencency graph for shared libraries.
The output is a graphml file. Can be enabled with GENERATE_DEPENDENCY_GRAPH switch.
svn path=/branches/cmake-bringup/; revision=50243
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
- Fix set_entrypoint for other architectures than x86, add an optional 3rd parameter for stdcall stackbytes
- don't add stdcall decoration to def files for other architectures then x86
svn path=/branches/cmake-bringup/; revision=50188
- 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
- Group some cross compiling related sections.
- Implement add_importlib_target() for gcc.
- Improve the msvc version.
svn path=/branches/cmake-bringup/; revision=49903
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
- 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
- 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
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
- 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
- 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
- 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
- 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