3rdparty renamed to subprojects
This commit is contained in:
parent
fc308c644c
commit
2faa2fa019
6 changed files with 30 additions and 3 deletions
5
subprojects/CMakeLists.txt
Normal file
5
subprojects/CMakeLists.txt
Normal file
|
@ -0,0 +1,5 @@
|
|||
if(NOT KIMA2_USE_EXTERNAL_JSON)
|
||||
set(JSON_BuildTests OFF CACHE INTERNAL "")
|
||||
add_subdirectory(nlohmann_json EXCLUDE_FROM_ALL)
|
||||
endif()
|
||||
add_subdirectory(csv-parser)
|
1
subprojects/csv-parser
Submodule
1
subprojects/csv-parser
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit e4a899dcafcfa14e448348e9b3c8c06d7697dbf8
|
1
subprojects/nlohmann_json
Submodule
1
subprojects/nlohmann_json
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 53c3eefa2cf790a7130fed3e13a3be35c2f2ace2
|
27
subprojects/singleapplication/meson.build
Normal file
27
subprojects/singleapplication/meson.build
Normal file
|
@ -0,0 +1,27 @@
|
|||
project('singleapplication')
|
||||
|
||||
qt5 = import('qt5')
|
||||
dep_qt5 = dependency('qt5', modules: ['Core', 'Widgets', 'Network'])
|
||||
|
||||
singleapp_inc = include_directories('singleapplication.git')
|
||||
|
||||
singleapp_moc = qt5.preprocess(
|
||||
moc_headers: ['singleapplication.git/singleapplication.h', 'singleapplication.git/singleapplication_p.h'],
|
||||
moc_extra_arguments: ['-DQAPPLICATION_CLASS=QApplication'],
|
||||
dependencies: dep_qt5
|
||||
)
|
||||
|
||||
singleapp_lib = static_library('SingleApplication',
|
||||
['singleapplication.git/singleapplication.cpp', 'singleapplication.git/singleapplication_p.cpp', singleapp_moc],
|
||||
include_directories: singleapp_inc,
|
||||
cpp_args : '-DQAPPLICATION_CLASS=QApplication',
|
||||
dependencies: dep_qt5
|
||||
)
|
||||
|
||||
singleapp_dep = declare_dependency(
|
||||
include_directories: singleapp_inc,
|
||||
link_with: singleapp_lib
|
||||
)
|
||||
|
||||
# On windows, SingleApplication needs to be linked against advapi32. This is
|
||||
# done by adding 'advapi32' to cpp_winlibs, where it should be by default.
|
|
@ -0,0 +1 @@
|
|||
Subproject commit e18babe5598d53a9e51ac9263d5b62ea2c3276e6
|
Loading…
Add table
Add a link
Reference in a new issue