David Cole wrote:
Sounds like maybe you are using "${CMAKE_CURRENT_SOURCE_DIR}" in a function or macro..... (defined at the top level, but called from a lower level)...

That works just fine...evaluation of the variable is the location
of the current CMakeLists.txt file, not the file containing the
reference.  Robert already said it works in VS generators.

-Brad
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to