[CMake] Reading DartConfiguration.tcl

2012-03-19 Thread Michael Pfeuti
Hi there, I've been struggling getting a custom cdash script to work. I want to submit to some subproject and also some additional files (exp: the compiled binary). If I understand correctly I need to write a custom script. Now I played around a bit and got this working. However, what I don't l

Re: [CMake] cmake generates broken project file when path includes whitespace (in this case at least)

2012-03-19 Thread Paul Baumer
I can also confirm that the problem also appears in custom targets where the path is in the name of the output. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at:

Re: [CMake] cmake generates broken project file when path includes whitespace (in this case at least)

2012-03-19 Thread Ajay Panyala
Did you use cygwin CMake or win32 CMake? I think using win32 CMake with cygwin does not play well, one should use cygwin CMake. I do use the Cygwin CMake. Thanks Ajay On Mon, Mar 19, 2012 at 11:28 AM, Eric Noulard wrote: > 2012/3/19 Ajay Panyala : > > Did you try playing around with: > > > > fi

Re: [CMake] cmake generates broken project file when path includes whitespace (in this case at least)

2012-03-19 Thread Eric Noulard
2012/3/19 Ajay Panyala : > Did you try playing around with: > > file(TO_CMAKE_PATH path result) > file(TO_NATIVE_PATH path result) > > I did try file(TO_NATIVE_PATH path result) at the time, but it was not > useful in my case. > The result is still a unix style path (maybe because I am using Cygwin

Re: [CMake] cmake generates broken project file when path includes whitespace (in this case at least)

2012-03-19 Thread Ajay Panyala
Did you try playing around with: file(TO_CMAKE_PATH path result) file(TO_NATIVE_PATH path result) I did try file(TO_NATIVE_PATH path result) at the time, but it was not useful in my case. The result is still a unix style path (maybe because I am using Cygwin) Thanks Ajay On Mon, Mar 19, 2012 at

Re: [CMake] cmake generates broken project file when path includes whitespace (in this case at least)

2012-03-19 Thread Eric Noulard
2012/3/19 Ajay Panyala : > Please notice the linebreak after Foo, this causes the linker to fail, > saying it can not find "C:/Projects/Foo". > > I guess this is a cmake bug, but I need to find a workaround for this one. I > am using cmake 2.8.2 on Windows 7. > > I have the exact same whitespace is

Re: [CMake] cmake generates broken project file when path includes whitespace (in this case at least)

2012-03-19 Thread Ajay Panyala
Please notice the linebreak after Foo, this causes the linker to fail, saying it can not find "C:/Projects/Foo". I guess this is a cmake bug, but I need to find a workaround for this one. I am using cmake 2.8.2 on Windows 7. I have the exact same whitespace issue with a custom command. I am using

[CMake] Working with Multiple Projects

2012-03-19 Thread Hashim Mir
Hi there, I am currently working on transitioning over a project (that has multiple subprojects inside of it) over to Cmake. There is one thing that I am not sure about - basically, to include the subprojects from the top level CMakeLists.txt file, I just utilize the add_subdirectory command,

[CMake] missing PACKAGE_SOURCE target in Visual Studio IDE?

2012-03-19 Thread Tim Hutton
Hello, In our project, if we use NMake then targets "package" and "package_source" are both supported. If we use the Visual Studio IDE then only the PACKAGE target appears, not a PACKAGE_SOURCE. Is there some way to get a PACKAGE_SOURCE project to appear in the solution? Here's our CMakeLists.txt

[CMake] cmake generates broken project file when path includes whitespace (in this case at least)

2012-03-19 Thread Paul Baumer
Hello, I have the following in my Cmakelists.txt file: set_target_properties( MyApp PROPERTIES STATIC_LIBRARY_FLAGS "${SOME_LIB_FILENAME}") If the SOME_LIB_FILENAME path includes white space such as c:/Projects/Foo 4/Src/somelib.lib the generated visual studio 2008 file includes the following