Re: [CMake] Define a subfolder for SWIG project

2014-05-19 Thread Iosif Neitzke
Assuming USE_FOLDERS is set [0], does set_property( TARGET test_swig PROPERTY FOLDER "PYTHON" ) work? [0] http://www.cmake.org/cmake/help/v2.8.12/cmake.html#prop_global:USE_FOLDERS On Fri, May 16, 2014 at 4:45 PM, Giumas wrote: > > Good morning, > > I am working for the first time with SWIG, I h

[CMake] how to start cmake-gui from context menu in windows? (cmake-gui arguments)

2014-05-19 Thread livia.barazzetti
Dear all, I would like to add a shortcut in the context menu in windows 7 for txt files, so that I have an option to start cmake with the selected "CMakeLists.txt" as input. I know how to add an extension modifying the registry ( go to HKEY_CLASSES_ROOT\txtfile\shell , create a new key (for e

Re: [CMake] How to handle find_package inter-dependencies

2014-05-19 Thread Gregor Jasny
Hello, for reference: On 10/03/14 20:53, Gregor Jasny wrote: > I wrote some FindXYZ modules that utilize FindPackageHandleStandardArgs > to find precompiled libraries. Now I have to "find" a library that > itself depends on another library and I wonder what's the recommended > way to do so? > >

Re: [CMake] cmake cannot add clang cxx flags

2014-05-19 Thread Rashad M
Thanks Nils, Anyway I was not using any Ninja generator. I added CMAKE_CXX_FLAGS inside a dashboard submission script. -Wno-#warnings, "-Wno-#warnings" -Wno-\#warnings didnt worked. >From terminal i can say cmake -DCMAKE_CXX_FLAGS='Wall -Wno-\#warnings" and from ctest script. As you suggested -W

Re: [CMake] cmake cannot add clang cxx flags

2014-05-19 Thread Nils Gladitz
On 05/19/2014 10:13 AM, Nils Gladitz wrote: On 05/19/2014 09:52 AM, Rashad M wrote: Which generators?. if using MSVC or GCC there is no Wno-#warnings available right? "Ninja" also uses # comments but does not seem to require escaping in this context ... adding escapes may or may not break t

Re: [CMake] cmake cannot add clang cxx flags

2014-05-19 Thread Nils Gladitz
On 05/19/2014 09:52 AM, Rashad M wrote: Which generators?. if using MSVC or GCC there is no Wno-#warnings available right? "Ninja" also uses # comments but does not seem to require escaping in this context ... adding escapes may or may not break that. Also any of the extra generators that

Re: [CMake] CMake Roadmap

2014-05-19 Thread Nils Gladitz
On 05/19/2014 09:39 AM, Jörg Kreuzberger wrote: Hi! My question: When is cmake 3.0 available for "productive" usage? Can you give me any hint where i can find this information? CMake 3.0-rc5 has been released last week. Any rc (release candidate) release may become the "final" version presum

Re: [CMake] cmake cannot add clang cxx flags

2014-05-19 Thread Rashad M
On Mon, May 19, 2014 at 9:30 AM, Nils Gladitz wrote: > On 05/19/2014 09:05 AM, Rashad M wrote: > >> Hi all, >> >> I was trying to add a cxx flags to clang -Wno-#warnings. to supress a >> deprecated header warning. >> >> > >> It is clear that -Wno-#warning is not parsed properly. This maybe due to

[CMake] CMake Roadmap

2014-05-19 Thread Jörg Kreuzberger
Hi! My question: When is cmake 3.0 available for "productive" usage? Currently i am switching from qmake to cmake. With success, at least with many support from this mailing list. Thanks. I am currently using 2.8.12 and start now using cmake in "productive" environment, that means start creatio

Re: [CMake] cmake cannot add clang cxx flags

2014-05-19 Thread Nils Gladitz
On 05/19/2014 09:05 AM, Rashad M wrote: Hi all, I was trying to add a cxx flags to clang -Wno-#warnings. to supress a deprecated header warning. It is clear that -Wno-#warning is not parsed properly. This maybe due to clang warning flag starting with # symbol. Is there any way to add this

[CMake] cmake cannot add clang cxx flags

2014-05-19 Thread Rashad M
Hi all, I was trying to add a cxx flags to clang -Wno-#warnings. to supress a deprecated header warning. In file included from main.cxx:3: /opt/install/vcl/vcl_deprecated_header.h:10:3: warning: "deprecated" [-W#warnings] # warning "deprecated" when i compile from terminal. clang++ main.cxx -I/