Skip to content

Commit

Permalink
Add gui subdirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
TTENSHII committed Oct 26, 2023
1 parent b63237e commit 941d751
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ target_sources(
PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/main.cpp
)

add_subdirectory(GUI)
14 changes: 14 additions & 0 deletions src/GUI/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
)

0 comments on commit 941d751

Please sign in to comment.