[CMake] Xcode paths not turning out right
    Brad King 
    brad.king at kitware.com
       
    Fri Sep 18 16:21:59 EDT 2009
    
    
  
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
    
    
More information about the CMake
mailing list