aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/CMakeLists.txt')
-rw-r--r--src/crepe/CMakeLists.txt22
1 files changed, 19 insertions, 3 deletions
diff --git a/src/crepe/CMakeLists.txt b/src/crepe/CMakeLists.txt
index 43a3835..c7f18cd 100644
--- a/src/crepe/CMakeLists.txt
+++ b/src/crepe/CMakeLists.txt
@@ -1,9 +1,25 @@
-target_sources(main PUBLIC
- main.cpp
+
+target_sources(crepe PUBLIC
+ Asset.cpp
+ Sound.cpp
+ SoundContext.cpp
+ main.cpp
Particle.cpp
ParticleEmitter.cpp
ParticleSystem.cpp
SDLApp.cpp
)
-target_include_directories(main PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
+target_sources(crepe PUBLIC FILE_SET HEADERS FILES
+ Asset.h
+ Sound.h
+ SoundContext.h
+ ParticleEmitter.hpp
+ ParticleSystem.hpp
+ Particle.hpp
+ SDLApp.hpp
+)
+
+add_subdirectory(api)
+add_subdirectory(util)
+