Sebastian Krause schrieb:
Andreas Pakulat <[EMAIL PROTECTED]> wrote:Thats not going to work on all platforms. There are various platforms which don't allow static libs to be linked into shared libs.But it should be possible to gather the sources in the subdirs into a variable that the parent cmake-file knows and pre-sets to empty. And then also set the compile flags by using set_source_files_properties().Yup, that's the other way I already tried. But that way had two problems: - In Visual Studio all files were shown as if they would belong to the same directory, the directory structure I have in the file system is not represented in VS. Is there a way to manually define how the file structure should be shown in IDEs?
Search http://www.cmake.org/Wiki/CMake_2.6.0_Docs for 'source_group'
- The whole project contains about 1000 files and MinGW fails on linking. I still have to find out the exact error, but I was suspecting that it might be because of the maximum length of the parameters.
Use cmake 2.6 HTH Christian
signature.asc
Description: OpenPGP digital signature
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake