Hi folks,

I'm using VS2012+cmake2.8.12. My problem is that CMake failed to generate
the correct path to my external project. For example:

Project("{...}") = "external", "external.vcxproj", "..."

whereas 'external.vcxproj' should be something like
..\path\to\external.vcxproj

Here is how I use ExternalProject_Add command:

ExternalProject_Add(external SOURCE_DIR
${CMAKE_SOURCE_DIR}/../../int/external CMAKE_ARGS ..
BINARY_DIR ${CMAKE_SOURCE_DIR}/../../int/external/build)


Any help is highly appreciated!


Yifei
-- 

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

Reply via email to