NothinFancy/TestGame/CMakeLists.txt

10 lines
298 B
CMake

# TestGame app CMakeLists.txt
add_executable(TestGame "src/TestGame.cpp")
# Use C++20
set_property(TARGET TestGame PROPERTY CXX_STANDARD 20)
# Link to NF library
target_link_libraries(TestGame NothinFancy)
target_include_directories(TestGame PUBLIC "${CMAKE_SOURCE_DIR}/NothinFancy/src/include")