Eclipse CDT generator creates invalid build targets (see attached example project)
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
To reproduce: Create following directory structure:
CMakeBug\CMakeBug
CMakeBug\Build
Extract the zip to CMakeBug\CMakeBug
Run following command in the CMakeBug\Build
directory:
cmake -G"Eclipse CDT4 - NMake Makefiles" -DECLIPSE_CDT4_GENERATE_SOURCE_PROJECT=TRUE -DCMAKE_BUILD_TYPE:STRING="Debug" ../CMakeBug
Import the project to eclipse.
When you try to make the target "[exe] Module1" you will get a message "NMAKE : fatal error U1073: don't know how to make 'Module1'" but all other targets are buildable.