This website requires JavaScript.
Explore
Help
Sign In
kolan
/
CMake
Watch
1
Star
0
Fork
You've already forked CMake
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
20e8dcf162
CMake
/
Tests
/
Complex
/
Executable
/
complex_nobuild.c
2 lines
43 B
C
Raw
Normal View
History
Unescape
Escape
Fix vs2010 project generation error when HEADER_FILE_ONLY is set. In vs2010 a bad project file could be generated if a .c or .cxx file was marked with HEADER_FILE_ONLY, if it was in a library that contained both c and c++ code. This fixes the error in the code, and adds a test for this case.
2010-12-20 23:25:16 +03:00
#
error "This file should not be compiled."