Hello, Is there a SOURCE_DIR property for targets? I wasn't able to find anything in the documentation on this, however I thought I saw something similar to this a few years ago. I'm using CMake 3.2. Basically I want the equivalent of CMAKE_CURRENT_SOURCE_DIR, but for a specific project.
Documentation states you can do <TARGET>_SOURCE_DIR, but this value is empty for me. Unless this is for projects, not targets (i.e. the value passed to the project() command). Thanks in advance. -- 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://public.kitware.com/mailman/listinfo/cmake