Add NothinFancy and TestGame

This commit is contained in:
grayson committed 2025-01-23 16:42:47 -06:00
1 parent af7d19a956
commit 9b6e333652
6 files changed
+40

No files matched your search

+9
View File
@@ -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")
+7
View File
@@ -0,0 +1,7 @@
// TestGame main file
#include "nf.h"
int main(int argc, char* argv[]) {
nf::test();
return 0;
}