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