From 8068875bc2a63f7aa758b30129e81c0def6e10e9 Mon Sep 17 00:00:00 2001 From: Christopher Dunn Date: Sat, 30 Mar 2019 11:12:41 -0500 Subject: [PATCH] Destroyed Cmake (markdown) --- Cmake.md | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 Cmake.md diff --git a/Cmake.md b/Cmake.md deleted file mode 100644 index ddcd80d..0000000 --- a/Cmake.md +++ /dev/null @@ -1,17 +0,0 @@ -We use **Meson** for our CI builds, but users help us to support **Cmake** also. - -#### Usage -* https://github.com/open-source-parsers/jsoncpp/issues/455#issuecomment-477307969 - -The `jsoncppConfig.cmake` defines property `INTERFACE_INCLUDE_DIRECTORIES` for targets `jsoncpp_lib` and `jsoncpp_lib_static`. - -You need to query the target property and set it manually: -```cmake -get_target_property(JSON_INC_PATH jsoncpp_lib INTERFACE_INCLUDE_DIRECTORIES) -include_directories(${JSON_INC_PATH}) -``` - -Linking is done via: -```cmake -target_link_libraries(${PROJECT_NAME} jsoncpp_lib) -``` \ No newline at end of file