Browse code

Add Members

Robert Cranston authored on 01/03/2023 23:07:13
Showing 1 changed files
... ...
@@ -16,7 +16,7 @@ add_library(${PROJECT_NAME} INTERFACE)
16 16
 ## Common
17 17
 include(common.cmake)
18 18
 common(
19
-    CXX_STANDARD 11
19
+    CXX_STANDARD 14
20 20
     DISABLE_CPPCHECK # GLTRAITS_TEST_OBJECT(template gen_objects<Args...>)
21 21
     PACKAGES
22 22
         glm
Browse code

Add Object

Robert Cranston authored on 28/02/2023 02:19:27
Showing 1 changed files
... ...
@@ -17,6 +17,7 @@ add_library(${PROJECT_NAME} INTERFACE)
17 17
 include(common.cmake)
18 18
 common(
19 19
     CXX_STANDARD 11
20
+    DISABLE_CPPCHECK # GLTRAITS_TEST_OBJECT(template gen_objects<Args...>)
20 21
     PACKAGES
21 22
         glm
22 23
     FETCHCONTENT
Browse code

Add Value

Robert Cranston authored on 15/10/2022 19:02:09
Showing 1 changed files
... ...
@@ -9,3 +9,19 @@ project(gltraits
9 9
     VERSION 1.0.0
10 10
     LANGUAGES CXX
11 11
 )
12
+
13
+## Main target
14
+add_library(${PROJECT_NAME} INTERFACE)
15
+
16
+## Common
17
+include(common.cmake)
18
+common(
19
+    CXX_STANDARD 11
20
+    PACKAGES
21
+        glm
22
+    FETCHCONTENT
23
+        https://git.rcrnstn.net/rcrnstn/glbase
24
+    DEPENDENCIES_TESTS
25
+        glm::glm
26
+        glbase
27
+)
Browse code

Add project

Robert Cranston authored on 14/10/2022 21:57:18
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(gltraits
9
+    VERSION 1.0.0
10
+    LANGUAGES CXX
11
+)