aboutsummaryrefslogtreecommitdiff
path: root/examples/basic/CMakeLists.txt
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-05-06 18:23:42 +0200
committerHampusM <hampus@hampusmat.com>2022-05-06 18:23:55 +0200
commit3957dfb9361e864f6362e59655c885f52b39371f (patch)
tree5ef55a5eb418664b4a5c0d2d9328ff4ca99a74a7 /examples/basic/CMakeLists.txt
parentd8ea3721d83254e91c5617d83f2aac5a897107fb (diff)
docs: add tagging to basic examplev0.1.3
Diffstat (limited to 'examples/basic/CMakeLists.txt')
-rw-r--r--examples/basic/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/basic/CMakeLists.txt b/examples/basic/CMakeLists.txt
index afe03ee..48d1f05 100644
--- a/examples/basic/CMakeLists.txt
+++ b/examples/basic/CMakeLists.txt
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.2.0)
set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
-set(CMAKE_CXX_EXTENSIONS OFF)
+set(CMAKE_CXX_EXTENSIONS ON)
project(basic-example CXX)
@@ -15,6 +15,7 @@ file(
src/hero.cpp
src/sword.cpp
src/enemy.cpp
+ src/enemy_creator.cpp
)
add_executable(${PROJECT_NAME} ${SOURCES})