Browse code

WIP: Add implementation

Robert Cranston authored on 18/06/2023 16:41:24
Showing 1 changed files
... ...
@@ -16,5 +16,7 @@ add_library(${PROJECT_NAME} INTERFACE)
16 16
 ## C++
17 17
 include(common.cmake)
18 18
 common(
19
+    DISABLE_CLANG_TIDY # TODO
20
+    DISABLE_CPPCHECK # TODO
19 21
     CXX_STANDARD 14
20 22
 )
Browse code

Add project

Robert Cranston authored on 05/08/2022 02:53:33
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,20 @@
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(crany
9
+    VERSION 1.0.0
10
+    LANGUAGES CXX
11
+)
12
+
13
+## Main target
14
+add_library(${PROJECT_NAME} INTERFACE)
15
+
16
+## C++
17
+include(common.cmake)
18
+common(
19
+    CXX_STANDARD 14
20
+)