Ver código fonte

Baseline CMakeLists and .gitignore

Lucien Greathouse 1 ano atrás
pai
commit
6007fcc712
2 arquivos alterados com 17 adições e 0 exclusões
  1. 1 0
      .gitignore
  2. 16 0
      CMakeLists.txt

+ 1 - 0
.gitignore

@@ -0,0 +1 @@
+/build*

+ 16 - 0
CMakeLists.txt

@@ -0,0 +1,16 @@
+cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
+
+project(JoltC VERSION 0.1
+    DESCRIPTION "C Wrapper for Jolt Physics"
+    LANGUAGES CXX)
+
+add_library(joltc STATIC
+    JoltC/JoltPhysicsC.cpp
+    JoltC/JoltPhysicsC.h
+    JoltC/JoltPhysicsC_Extensions.cpp
+    JoltC/JoltPhysicsC_Tests.c
+)
+
+target_compile_features(joltc PUBLIC cxx_std_17)
+target_include_directories(joltc PUBLIC JoltPhysics)
+target_link_libraries(joltc PUBLIC JoltPhysics)