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 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 sub-folder in > the solution (e.g. PYTHON) as I did for other projects in my MSVC solution. > I have attempted with the classic: > set_target_properties( test_swig PROPERTIES FOLDER "PYTHON" ) > > but it does not work.. > > Could anybody help me ? > > G. > ______________________________________________________________________ > --------------------------------------------------------------------------------------------------------------------------- > > -- > > Powered by www.kitware.com > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Kitware offers various services to support the CMake community. For more > information on each offering, please visit: > > CMake Support: http://cmake.org/cmake/help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake