[CMake] cmake uppercase source file problem

Ralf Habacker ralf.habacker at freenet.de
Mon Aug 18 16:14:46 EDT 2008


Hi,

while working on a C++ project migrating from old Turbo C++ ide's I 
encountered a problem with uppercase extensions. The symtom is that 
files with uppercase CPP extension are completly ignored.See appended 
testcase:

I'm using cmake cvs from
E:\daten\test>e:\daten\bin\cmake.exe --version
cmake version 2.7-20080808

E:\daten\test>e:\daten\kde\emerge-msvc-root\bin\cmake.exe -G "NMake 
Makefiles" .
-- The C compiler identification is MSVC
-- The CXX compiler identification is MSVC
-- Check for CL compiler version
-- Check for CL compiler version - 1400
-- Check if this is a free VC compiler
-- Check if this is a free VC compiler - no
-- Check CL platform
-- Check CL platform - 32 bit
-- Check for working C compiler: C:/Programme/Microsoft Visual Studio 
8/VC/bin/cl.exe
-- Check for working C compiler: C:/Programme/Microsoft Visual Studio 
8/VC/bin/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Programme/Microsoft Visual Studio 
8/VC/bin/cl.exe
-- Check for working CXX compiler: C:/Programme/Microsoft Visual Studio 
8/VC/bin/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: E:/daten/test

E:\daten\test>nmake

Microsoft (R) Program Maintenance Utility   Version 7.00.8882
Copyright (C) Microsoft Corp 1988-2000. All rights reserved.

Scanning dependencies of target a
[ 50%] Building CXX object CMakeFiles/a.dir/TEST2.cpp.obj
TEST2.cpp

-> TEST.CPP is ignored

Linking CXX executable a.exe
[ 50%] Built target a
Scanning dependencies of target b
[100%] Building CXX object CMakeFiles/b.dir/TEST2.cpp.obj
TEST2.cpp
Linking CXX executable b.exe
[100%] Built target b

Regards
 Ralf

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.zip
Type: application/x-zip-compressed
Size: 494 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080818/1717f5f5/attachment.bin>


More information about the CMake mailing list