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!