@@ -0,0 +1,1 | |||
|
1 | Subproject commit f2fa281306099e7136a288dd70fd97d0e33afa15 |
@@ -0,0 +1,4 | |||
|
1 | [wrap-git] | |
|
2 | directory=libcatalogs | |
|
3 | url=https://hephaistos.lpp.polytechnique.fr/rhodecode/HG_REPOSITORIES/LPP/SciQLOP_Repos/libcatalogs.git | |
|
4 | revision=master |
@@ -1,3 +1,6 | |||
|
1 | 1 | [submodule "external/CatalogueAPI"] |
|
2 | 2 | path = external/CatalogueAPI |
|
3 | 3 | url = https://hephaistos.lpp.polytechnique.fr/rhodecode/HG_REPOSITORIES/LPP/INSTRUMENTATION/USERS/JEANDET/CatalogueAPI |
|
4 | [submodule "external/libcatalogs"] | |
|
5 | path = external/libcatalogs | |
|
6 | url = https://hephaistos.lpp.polytechnique.fr/rhodecode/HG_REPOSITORIES/LPP/SciQLOP_Repos/libcatalogs |
@@ -48,11 +48,11 ENDIF(IWYU) | |||
|
48 | 48 | enable_testing() |
|
49 | 49 | |
|
50 | 50 | |
|
51 |
find_package( |
|
|
51 | find_package(catalogs CONFIG QUIET) | |
|
52 | 52 | if (NOT CatalogueAPI_FOUND) |
|
53 |
execute_process(COMMAND git submodule init external/ |
|
|
54 |
execute_process(COMMAND git submodule update external/ |
|
|
55 |
add_subdirectory(external/ |
|
|
53 | execute_process(COMMAND git submodule init external/libcatalogs WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) | |
|
54 | execute_process(COMMAND git submodule update external/libcatalogs WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) | |
|
55 | add_subdirectory(external/libcatalogs) | |
|
56 | 56 | endif() |
|
57 | 57 | |
|
58 | 58 | add_subdirectory(core) |
@@ -16,7 +16,7 target_include_directories(sciqlopcore PUBLIC | |||
|
16 | 16 | target_link_libraries(sciqlopcore PUBLIC |
|
17 | 17 | Qt5::Core |
|
18 | 18 | Qt5::Network |
|
19 |
|
|
|
19 | catalogs | |
|
20 | 20 | ) |
|
21 | 21 | |
|
22 | 22 | install(TARGETS sciqlopcore EXPORT SciQLOPCoreConfig |
@@ -1,6 +1,6 | |||
|
1 | 1 | |
|
2 | 2 | qxorm_dep = dependency('QxOrm', required : true, fallback:['QxOrm','qxorm_dep']) |
|
3 |
catalog |
|
|
3 | libcatalogs_dep = dependency('libcatalogs', required : true, fallback:['libcatalogs','libcatalogs_dep']) | |
|
4 | 4 | |
|
5 | 5 | |
|
6 | 6 | core_moc_headers = [ |
@@ -60,14 +60,14 sciqlop_core_lib = library('sciqlopcore', | |||
|
60 | 60 | core_moc_files, |
|
61 | 61 | cpp_args : '-DCORE_LIB', |
|
62 | 62 | include_directories : core_inc, |
|
63 |
dependencies : [qt5core, qt5network, catalog |
|
|
63 | dependencies : [qt5core, qt5network, libcatalogs_dep], | |
|
64 | 64 | install : true |
|
65 | 65 | ) |
|
66 | 66 | |
|
67 | 67 | |
|
68 | 68 | sciqlop_core = declare_dependency(link_with : sciqlop_core_lib, |
|
69 | 69 | include_directories : core_inc, |
|
70 |
dependencies : [qt5core, qt5network, catalog |
|
|
70 | dependencies : [qt5core, qt5network, libcatalogs_dep]) | |
|
71 | 71 | |
|
72 | 72 | |
|
73 | 73 |
@@ -1,5 +1,3 | |||
|
1 | qxorm_dep = dependency('QxOrm', required : true, fallback:['QxOrm','qxorm_dep']) | |
|
2 | catalogueapi_dep = dependency('CatalogueAPI', required : true, fallback:['CatalogueAPI','CatalogueAPI_dep']) | |
|
3 | 1 | |
|
4 | 2 | gui_moc_headers = [ |
|
5 | 3 | 'include/DataSource/DataSourceWidget.h', |
@@ -136,12 +134,12 sciqlop_gui_lib = library('sciqlopgui', | |||
|
136 | 134 | gui_moc_files, |
|
137 | 135 | rcc_files, |
|
138 | 136 | include_directories : [gui_inc], |
|
139 |
dependencies : [ qt5printsupport, qt5gui, qt5widgets, qt5svg, sciqlop_core |
|
|
137 | dependencies : [ qt5printsupport, qt5gui, qt5widgets, qt5svg, sciqlop_core], | |
|
140 | 138 | install : true |
|
141 | 139 | ) |
|
142 | 140 | |
|
143 | 141 | sciqlop_gui = declare_dependency(link_with : sciqlop_gui_lib, |
|
144 | 142 | include_directories : gui_inc, |
|
145 |
dependencies : [qt5printsupport, qt5gui, qt5widgets, qt5svg, sciqlop_core |
|
|
143 | dependencies : [qt5printsupport, qt5gui, qt5widgets, qt5svg, sciqlop_core]) | |
|
146 | 144 | |
|
147 | 145 |
|
1 | NO CONTENT: file was removed |
|
1 | NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now