[CMake] a question on ExternalProject_Add
Yifei Li
yifli82 at gmail.com
Thu Feb 6 20:04:35 EST 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140206/aece790a/attachment.html>
More information about the CMake
mailing list