[CMake] What do these CMake error messages mean?

2016-06-16 Thread Howard Rubin
"which is prefixed in the" - Howard Rubin Error messages == : : Configuring done CMake Error in 3rdparty/opencv-3.1.0/modules/core/CMakeLists.txt: Target "opencv_core" INTERFACE_INCLUDE_DIRECTORI

[CMake] Relative path to CMAKE_SOURCE_DIR

2015-10-09 Thread Howard Rubin
Is it possible to get the relative path from PROJECT_BINARY_DIR (or CMAKE_BINARY_DIR) to CMAKE_SOURCE_DIR? I'm using CMAKE_SOURCE_DIR to add files to *.csproj file (copied with configure_file) using CMake on Windows. This results in lots of warnings like the below that I'd like to get rid of. I

[CMake] How to use lib from include_external_msproject

2015-08-20 Thread Howard Rubin
I have a C++/CLI LIB (and DLL) that I generate with include_external_msproject. I need to link to it from my C++ project, which I'm trying to do with target_link_libraries. This gives the below error message. Since I'm not creating it with add_library I don't see how to indicate it's a shared lib.