Add NothinFancy and TestGame
This commit is contained in:
1 parent
af7d19a956
commit
9b6e333652
6 files changed
+40
No files matched your search
@@ -0,0 +1,9 @@
|
||||
# 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")
|
||||
@@ -0,0 +1,7 @@
|
||||
// TestGame main file
|
||||
#include "nf.h"
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
nf::test();
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user