Re: [CMake] CMAKE_RUNTIME_OUTPUT_DIRECTORY inconsistent between make and Xcode

2014-03-09 Thread jmerkow
I am having a similar issue. I generate a number of scripts I configure with the path to the executables. This path is the same when using make, but with XCode or MSVSC they append the build type (Debug, Release, RelWithDebInfo, etc). Bascially, this script sets a number of env variables, and

Re: [CMake] CMAKE_RUNTIME_OUTPUT_DIRECTORY inconsistent between make and Xcode

2014-03-09 Thread Lucas Soltic
Le 9 mars 2014 à 21:19, jmerkow jmer...@gmail.com a écrit : I am having a similar issue. I generate a number of scripts I configure with the path to the executables. This path is the same when using make, but with XCode or MSVSC they append the build type (Debug, Release, RelWithDebInfo,

[CMake] CMAKE_RUNTIME_OUTPUT_DIRECTORY inconsistent between make and Xcode

2014-03-05 Thread Lucas Soltic
Hello, I have noticed an annoying difference between Xcode and make as far as the output directory is concerned. I have added the following to my CMakeLists.txt: set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)