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
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"
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
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
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