From 6c6a5c4e5cc0328c43a7da15dd2db9a70eece2b3 Mon Sep 17 00:00:00 2001 From: xhguleixin123 <18017158729@163.com> Date: Sun, 10 Apr 2022 12:56:25 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20add=20CMakeLists?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + CMakeLists.txt | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 .gitignore create mode 100644 CMakeLists.txt diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..179be73 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +[Bb]uild \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..554588d --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,10 @@ +cmake_minimum_required(VERSION 3.0) +project(SimpleOctree) + +file(GLOB PROJECT_SOURCES *.cpp + ) + + +add_executable(${PROJECT_NAME} ${PROJECT_SOURCES}) + +target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_SOURCE_DIR}) \ No newline at end of file