[CMake] LIBRARY_OUTPUT_PATH, EXECUTABLE_OUTPUT_PATH broken if CMake variables used.

Rob Mathews Rob.Mathews at varolii.com
Wed May 9 10:03:57 EDT 2007


And $(OutDir)? 

-----Original Message-----
From: Bill Hoffman [mailto:bill.hoffman at kitware.com] 
Sent: Wednesday, May 09, 2007 9:59 AM
To: Rob Mathews
Cc: cmake at cmake.org
Subject: Re: [CMake] LIBRARY_OUTPUT_PATH, EXECUTABLE_OUTPUT_PATH broken
if CMake variables used.

Rob Mathews wrote:
> While we're at it, I notice some other VC variables that have crept
in. 
>
> What's the CMake equivalent for these VC variables:?
> $(OutDir)
> $(ConfigurationName)
>   
${CMAKE_CFG_INTDIR}

CMAKE_INTDIR  will be a -D on the command line.   CMAKE_CFG_INTDIR will 
be expanded to . for makefiles that do not have config dirs, and to the 
Debug, Release, etc directories on visual studio and Xcode.

-Bill





More information about the CMake mailing list