Thanks. As far as $(OutDir), I'm staring at a makefile that reads:
INCLUDE_DIRECTORIES("$(OutDir)" ) ## Release or Debug ADD_DEFINITIONS(${STANDARD_DEFINES} ) LINK_LIBRARIES( ${DEPENDS_DB} PerfLib opends60.lib xp_base) SET(LIBRARY_OUTPUT_PATH ${EXECUTABLE_OUTPUT_PATH} ) ## DLLs need to go in the BIN directory. ADD_DEFINITIONS(${STANDARD_DEFINES} ) ADD_LIBRARY(xp_MBDeleteFile SHARED ${SRC}) I presume that if I remove that INCLUDE_DIRECTORIES tag, then it won't build for some reason (else, why would someone have put that there - it's not standard practice in the rest of the system... ) but I'm not really sure why .. perhaps some earlier step generates a .h file that this project needs???? So, yeah, there probably is some other way to do this. -----Original Message----- From: Brad King [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 09, 2007 10:30 AM To: Rob Mathews Cc: Bill Hoffman; cmake@cmake.org Subject: Re: [CMake] LIBRARY_OUTPUT_PATH, EXECUTABLE_OUTPUT_PATH broken if CMake variables used. Rob Mathews wrote: > And $(OutDir)? There isn't one. That's what LIBRARY_OUTPUT_PATH and EXECUTABLE_OUTPUT_PATH are supposed to set. What are you doing with $(OutDir)? There is probably another way to do it. -Brad > -----Original Message----- > From: Bill Hoffman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 09, 2007 9:59 AM > To: Rob Mathews > Cc: cmake@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 > > > > _______________________________________________ > CMake mailing list > CMake@cmake.org > http://www.cmake.org/mailman/listinfo/cmake _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake