Adding CMake again :)
This commit is contained in:
parent
cb4274bb1c
commit
2dc8050ce3
10 changed files with 384 additions and 0 deletions
7
examples/CMakeLists.txt
Normal file
7
examples/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
include("Macros")
|
||||
|
||||
add_subdirectory(display)
|
||||
add_subdirectory(events)
|
||||
add_subdirectory(input)
|
||||
add_subdirectory(text)
|
||||
12
examples/display/CMakeLists.txt
Normal file
12
examples/display/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
#find_package(Spectre REQUIRED)
|
||||
|
||||
set (SOURCE
|
||||
DisplayExample.cpp
|
||||
main.cpp
|
||||
)
|
||||
|
||||
spectre_example(display
|
||||
main.cpp
|
||||
DisplayExample.cpp
|
||||
)
|
||||
7
examples/events/CMakeLists.txt
Normal file
7
examples/events/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
#find_package(Spectre REQUIRED)
|
||||
|
||||
spectre_example(events
|
||||
main.cpp
|
||||
EventsExample.cpp
|
||||
)
|
||||
7
examples/input/CMakeLists.txt
Normal file
7
examples/input/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
#find_package(Spectre REQUIRED)
|
||||
|
||||
spectre_example(input
|
||||
main.cpp
|
||||
InputExample.cpp
|
||||
)
|
||||
7
examples/text/CMakeLists.txt
Normal file
7
examples/text/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
#find_package(Spectre REQUIRED)
|
||||
|
||||
spectre_example(text
|
||||
main.cpp
|
||||
Game.cpp
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue