[CMake] VS2010 problem with upper case CPP extension

2010-04-25 Thread Jarl Lindrud
Hi, I've just run cmake 2.8.1, with the "Visual Studio 10" generator, on a cmake project that I've previously been running the VS2008 generator on. There appears to be a problem with C++ source files that end with upper case CPP. They end up in the Visual Studio C++ project, but when I loo

Re: [CMake] Apply FIND_PACKAGE_HANDLE_STANDARD_ARGS() on COMPONENTS

2010-04-25 Thread Michael Hertling
On 04/22/2010 09:55 PM, Alexander Neundorf wrote: > On Thursday 22 April 2010, Michael Hertling wrote: >> On 04/21/2010 09:13 PM, Alexander Neundorf wrote: >>> On Tuesday 20 April 2010, Michael Hertling wrote: Dear CMake community, dear CMake developers, >>> >>> ... >>> There's another as

Re: [CMake] VS2010 problem with upper case CPP extension

2010-04-25 Thread Michael Wild
On 25. Apr, 2010, at 11:37 , Jarl Lindrud wrote: > > Hi, > > I've just run cmake 2.8.1, with the "Visual Studio 10" generator, on a cmake > project that I've previously been running the VS2008 generator on. > > There appears to be a problem with C++ source files that end with upper case > CP

Re: [CMake] VS2010 problem with upper case CPP extension

2010-04-25 Thread Michael Hertling
On 04/25/2010 12:10 PM, Michael Wild wrote: > > On 25. Apr, 2010, at 11:37 , Jarl Lindrud wrote: > >> >> Hi, >> >> I've just run cmake 2.8.1, with the "Visual Studio 10" generator, on a cmake >> project that I've previously been running the VS2008 generator on. >> >> There appears to be a proble

Re: [CMake] VS2010 problem with upper case CPP extension

2010-04-25 Thread Jarl Lindrud
Advice: SET_SOURCE_FILES_PROPERTIES(File2.CPP PROPERTIES LANGUAGE CXX) or go with lower case... ;) Regards, Michael OK, for now I've worked around this using SET_SOURCE_FILES_PROPERTIES... Thanks. I've reported this as a bug (http://www.cmake.org/Bug/view.php?id=10610). Jarl.

[CMake] VS2010 bug, when output executable has '.' characters

2010-04-25 Thread Jarl Lindrud
I think I've found another bug in the VS2010 generator. I've generated a VS2010 solution from this CMakelists.txt: PROJECT(AAA) ADD_LIBRARY(AAA.BBB.CCC SHARED File1.cpp) , but when I build it, I find that the output file is named AAA.exe (it should be AAA.BBB.CCC.exe). I've filed it in t

[CMake] Is "full language support" possible?

2010-04-25 Thread Magnus Therning
What is needed to make it possible to write project( camlzip MyLanguage ) and then have all the standard macros, add_libary() etc, do the correct thing for MyLanguage? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.or

[CMake] Adding to rpath through cmake

2010-04-25 Thread Michael Darling
Hi, I've been trying to figure out how to append another directory to the -rpath sent to the linker through cmake. I have a yum-installed version of stdlibs in /usr/lib64, and a svn source built one in /usr/local/lib64. I need the newer version for software that I'm developing, but would like to