diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3480c94..1dad722 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -11,3 +11,5 @@ target_sources( PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp ) + +add_subdirectory(GUI) diff --git a/src/GUI/CMakeLists.txt b/src/GUI/CMakeLists.txt new file mode 100644 index 0000000..b4419fa --- /dev/null +++ b/src/GUI/CMakeLists.txt @@ -0,0 +1,14 @@ +cmake_minimum_required(VERSION 3.27) + +target_include_directories( + ${PROJECT_NAME} + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} +) + +target_sources( + ${PROJECT_NAME} + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR}/WindowManager.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/DirectX11.cpp +)