Browse code

Add implementation

Robert Cranston authored on 10/01/2022 00:25:45
Showing 1 changed files
... ...
@@ -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
+)
Browse code

Add project

Robert Cranston authored on 09/01/2022 03:34:28
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,11 @@
1
+## CMake
2
+cmake_minimum_required(VERSION 3.14)
3
+if(NOT CMAKE_BUILD_TYPE)
4
+    set(CMAKE_BUILD_TYPE Debug)
5
+endif()
6
+
7
+## Project
8
+project(globject
9
+    VERSION 1.0.0
10
+    LANGUAGES CXX
11
+)