Re: [CMake] Define a subfolder for SWIG project

2014-05-20 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 giu...@yahoo.it wrote: Good morning, I am working for the first time with

Re: [CMake] Define a subfolder for SWIG project

2014-05-20 Thread Nils Gladitz
On 05/20/2014 08:36 AM, Iosif Neitzke wrote: Assuming USE_FOLDERS is set [0], does set_property( TARGET test_swig PROPERTY FOLDER PYTHON ) work? From the documentation: To get the name of the swig module target library, use: ${SWIG_MODULE_${name}_REAL_NAME} So perhaps: set_property(TARGET

[CMake] Define a subfolder for SWIG project

2014-05-16 Thread Giumas
Good morning, I am working for the first time with SWIG, I have been able to build and use a python module based on a C++ class. CMake makes a huge job to make the building very easy, but there is an issue I cannot figure out.. In brief, I would like to put the SWIG project in a specific