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 adds the the PATH
so the application can run.

I'm betting this is a common use of configure file, how is it generally
solved?  I supposed some post build command could be used?

-Jameson



--
View this message in context: 
http://cmake.3232098.n2.nabble.com/CMAKE-RUNTIME-OUTPUT-DIRECTORY-inconsistent-between-make-and-Xcode-tp7586922p7586940.html
Sent from the CMake mailing list archive at Nabble.com.
-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

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


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, etc). 
 Bascially, this script sets a number of env variables, and adds the the PATH
 so the application can run.
 
 I'm betting this is a common use of configure file, how is it generally
 solved?  I supposed some post build command could be used?
 
 -Jameson

Actually this has been answered in this thread:
http://www.cmake.org/pipermail/cmake/2014-March/057162.html

:)
-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

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