Add testing excecutable
This commit is contained in:
parent
3c61d1a72f
commit
3c74a2a609
3 changed files with 28 additions and 0 deletions
20
test/CMakeLists.txt
Normal file
20
test/CMakeLists.txt
Normal file
|
@ -0,0 +1,20 @@
|
|||
|
||||
# ====================== tests =======================
|
||||
# Project name
|
||||
project( ttrts-test )
|
||||
|
||||
include_directories(
|
||||
../game
|
||||
)
|
||||
|
||||
set( SOURCES
|
||||
test.cpp
|
||||
)
|
||||
|
||||
# Set to use c++11, because we're cool like that
|
||||
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11" )
|
||||
|
||||
# Add the executable
|
||||
add_executable( ttrts-test ${SOURCES} )
|
||||
|
||||
target_link_libraries( ttrts-test game )
|
Loading…
Add table
Add a link
Reference in a new issue