aboutsummaryrefslogtreecommitdiff
path: root/dxcommon/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dxcommon/CMakeLists.txt')
-rw-r--r--dxcommon/CMakeLists.txt16
1 files changed, 12 insertions, 4 deletions
diff --git a/dxcommon/CMakeLists.txt b/dxcommon/CMakeLists.txt
index 08fa178..dfb52bf 100644
--- a/dxcommon/CMakeLists.txt
+++ b/dxcommon/CMakeLists.txt
@@ -1,10 +1,18 @@
1cmake_minimum_required(VERSION 3.20) 1cmake_minimum_required(VERSION 3.25)
2 2
3add_library(dxcommon 3project(dxcommon)
4 src/dxcommon.cc) 4
5add_library(dxcommon)
6
7target_sources(dxcommon PUBLIC
8 dxcommon.h)
9
10target_sources(dxcommon PUBLIC
11 FILE_SET cxx_modules TYPE CXX_MODULES FILES
12 dxcommon.ixx)
5 13
6target_include_directories(dxcommon PUBLIC 14target_include_directories(dxcommon PUBLIC
7 ${CMAKE_CURRENT_SOURCE_DIR}/include) 15 .)
8 16
9target_link_libraries(dxcommon PUBLIC 17target_link_libraries(dxcommon PUBLIC
10 DirectX-Headers 18 DirectX-Headers