[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] cmake and MinGW - resolution

2013-02-28 Thread Donald Robinson
Thanks to Bill Hoffmann and Alan Irwin for helping work through this MinGW problem. As it turns out, the problem in my CMakeLists.txt file wasn't the residual presence of a CMakeFiles directory or a CMakeCache.txt file, or the command-line, which is correctly: Cmake -G "MinGW Makefiles"

Re: [CMake] MinGW Makefile fails make test

2013-02-27 Thread Donald Robinson
My generation also starts with this: cmake -G "MinGW Makefiles" So I don't know if that is it. The error reference to 'nmake' is confusing, but that could be a (misleading) hardcoded message and not the actual command being passed to the CMD shell. I may try the MSYS option

[CMake] MinGW Makefile fails make test

2013-02-26 Thread Donald Robinson
This is a repost (and rewording) of an earlier post "Setting CMAKE_BUILD_TOOL or CMAKE_MAKE_PROGRAM with MinGW tools," which garnered no response. Hopefully this post is clearer: I have Cmake 2.8.8 installed along with MinGW 4.7.2 on Windows XP with no other development tools. I would like this

[CMake] Setting CMAKE_BUILD_TOOL or CMAKE_MAKE_PROGRAM with MinGW tools

2013-02-06 Thread Donald Robinson
I have Cmake 2.8.8 installed along with MinGW 4.7.2 on Windows XP with no other development tools. I would like this project to build using only MinGW tools, if possible. The project includes C and Fortran code, and those are both recognized (GNU 4.7.2 and GNU, respectively) and correctly generate