[CMake] Cmake: Combine C++ and C in DLLS created with MinGW

2013-07-26 Thread Donald Robinson
I have a Cmake project with 3 DLLs; 1 based on pure Fortran, 2 based on pure C. I now have some C++ I want to add to one of the C-based DLLs. Adding to CMakeLists.txt works fine when the target solution is Visual Studio 2010, but I'm not having any luck with MinGW. MinGW builds create OBJ files f

[CMake] Debug problem with component install

2013-07-26 Thread Andreas Pakulat
Hi, I'm having a project here where cmake refuses to recognize the "COMPONENT" option for the install() command for certain targets. Within the project there are several subdirs, the top-level CMakeLists.txt has a component-install rule like this: INSTALL(DIRECTORY ${PROJECT_BINARY_DIR}/doc/html