... | ... |
@@ -9,3 +9,24 @@ project(globject |
9 | 9 |
VERSION 1.0.0 |
10 | 10 |
LANGUAGES CXX |
11 | 11 |
) |
12 |
+ |
|
13 |
+## Main target |
|
14 |
+add_library(${PROJECT_NAME}) |
|
15 |
+ |
|
16 |
+## Common |
|
17 |
+include(common.cmake) |
|
18 |
+common( |
|
19 |
+ CXX_STANDARD 11 |
|
20 |
+ DISABLE_CPPCHECK # STR_JOIN |
|
21 |
+ FETCHCONTENT |
|
22 |
+ https://git.rcrnstn.net/rcrnstn/glbase |
|
23 |
+ https://git.rcrnstn.net/rcrnstn/gltraits |
|
24 |
+ https://git.rcrnstn.net/rcrnstn/cxx-str |
|
25 |
+ DEPENDENCIES_PRIVATE |
|
26 |
+ glbase |
|
27 |
+ gltraits |
|
28 |
+ cxx-str |
|
29 |
+ DEPENDENCIES_TESTS |
|
30 |
+ glbase |
|
31 |
+ gltraits |
|
32 |
+) |