... | ... |
@@ -9,3 +9,21 @@ project(gltest |
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 |
+ FETCHCONTENT |
|
21 |
+ https://git.rcrnstn.net/rcrnstn/glbase |
|
22 |
+ https://git.rcrnstn.net/rcrnstn/glbackend |
|
23 |
+ DEPENDENCIES_PRIVATE |
|
24 |
+ glbase |
|
25 |
+ glbackend |
|
26 |
+ DEPENDENCIES_TESTS |
|
27 |
+ glbase |
|
28 |
+ glbackend |
|
29 |
+) |