[CMake] Problem with uppercase file extensions in CMake

zia at itsib.ru zia at itsib.ru
Mon Jul 7 04:39:53 EDT 2008


I have several files with uppercase file extensions.
for example:
TEST.C
TEST.H
TEST2.CPP
TEST2.H

and this file is not compiling by CMake.
CMake doesn't see this file.

CMAKE_C_SOURCE_FILE_EXTENSIONS variable has a value equal "c"

How do I solution this problem or to add in
CMAKE_C_SOURCE_FILE_EXTENSIONS and CMAKE_CXX_SOURCE_FILE_EXTENSIONS
variables "c","C","cpp","CPP" at once ?

and Where adding header extendion "H"?




More information about the CMake mailing list