* unify spec2def and add_importlib_target
* use module name instead of spec file name for deciding importlib target name
svn path=/trunk/; revision=56081
- unify spec2def and add_importlib_target, thanks to cmake_parse_arguments.
- also generate stub files only when necessary.
- better precompiled header support, commented out as it wasn't tested on any other machine than mine, and it depends on cmake features which don't exist yet.
For now only for gcc toolchain
svn path=/trunk/; revision=52460
* Automatically add _DLL and __USE_CRTIMP definitions when linking to msvcrt.
* Separate some flags from definitions (using add_compiler_flags).
svn path=/trunk/; revision=52213
fix pch support, with proper dependancies.
Use cmake built-in functions instead of doing weird "magic" with tabs and spaces.
According to gcc doc, if header.h is precompiled, the output should be named "header.h.gch" and not anything else.
svn path=/trunk/; revision=52058