]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/jaegertracing/opentelemetry-cpp/third_party/nlohmann-json/test/cmake_target_include_directories/CMakeLists.txt
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / third_party / nlohmann-json / test / cmake_target_include_directories / CMakeLists.txt
diff --git a/ceph/src/jaegertracing/opentelemetry-cpp/third_party/nlohmann-json/test/cmake_target_include_directories/CMakeLists.txt b/ceph/src/jaegertracing/opentelemetry-cpp/third_party/nlohmann-json/test/cmake_target_include_directories/CMakeLists.txt
new file mode 100644 (file)
index 0000000..0a324cb
--- /dev/null
@@ -0,0 +1,18 @@
+add_test(NAME cmake_target_include_directories_configure
+  COMMAND ${CMAKE_COMMAND}
+    -G "${CMAKE_GENERATOR}"
+    -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
+    -Dnlohmann_json_source=${PROJECT_SOURCE_DIR}
+    ${CMAKE_CURRENT_SOURCE_DIR}/project
+)
+add_test(NAME cmake_target_include_directories_build
+    COMMAND ${CMAKE_COMMAND} --build .
+)
+set_tests_properties(cmake_target_include_directories_configure PROPERTIES
+    FIXTURES_SETUP cmake_target_include_directories
+    LABELS not_reproducible
+)
+set_tests_properties(cmake_target_include_directories_build PROPERTIES
+    FIXTURES_REQUIRED cmake_target_include_directories
+    LABELS not_reproducible
+)