##// END OF EJS Templates
Added libcatalogs as submodule...
jeandet -
r22:57fc8c0a0af2
parent child
Show More
@@ -0,0 +1,1
1 Subproject commit f2fa281306099e7136a288dd70fd97d0e33afa15
@@ -1,3 +1,6
1 [submodule "external/pybind11"]
1 [submodule "external/pybind11"]
2 path = external/pybind11
2 path = external/pybind11
3 url = https://github.com/pybind/pybind11
3 url = https://github.com/pybind/pybind11
4 [submodule "external/libcatalogs"]
5 path = external/libcatalogs
6 url = https://hephaistos.lpp.polytechnique.fr/rhodecode/HG_REPOSITORIES/LPP/SciQLOP_Repos/libcatalogs
@@ -5,7 +5,7 OPTION (CPPCHECK "Analyzes the source code with cppcheck" OFF)
5 OPTION (CLANG_TIDY "Analyzes the source code with Clang Tidy" OFF)
5 OPTION (CLANG_TIDY "Analyzes the source code with Clang Tidy" OFF)
6 OPTION (IWYU "Analyzes the source code with Include What You Use" OFF)
6 OPTION (IWYU "Analyzes the source code with Include What You Use" OFF)
7
7
8 OPTION (Catalog "builds catalog API" OFF)
8 OPTION (Catalog "builds catalog API" ON)
9
9
10 set(CMAKE_CXX_STANDARD 17)
10 set(CMAKE_CXX_STANDARD 17)
11
11
@@ -27,6 +27,13 if (NOT pybind11_FOUND)
27 add_subdirectory(external/pybind11)
27 add_subdirectory(external/pybind11)
28 endif()
28 endif()
29
29
30 find_package(catalogs CONFIG QUIET)
31 if (NOT CatalogueAPI_FOUND)
32 execute_process(COMMAND git submodule init external/libcatalogs WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
33 execute_process(COMMAND git submodule update external/libcatalogs WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
34 add_subdirectory(external/libcatalogs)
35 endif()
36
30 macro(declare_test testname testexe sources libraries)
37 macro(declare_test testname testexe sources libraries)
31 add_executable(${testexe} ${sources})
38 add_executable(${testexe} ${sources})
32 target_link_libraries(${testexe} ${libraries})
39 target_link_libraries(${testexe} ${libraries})
General Comments 0
You need to be logged in to leave comments. Login now