Descent3/dd_grwin32/CMakeLists.txt
2024-09-24 23:00:53 +03:00

19 lines
379 B
CMake

set(HEADERS
ddgrWin32.h
ddgrWin32DX.h
ddgrWin32GDI.h)
set(CPPS
ddgrWin32API.cpp
ddgrWin32DX.cpp
ddgrWin32GDI.cpp
ddgrWin32Init.cpp)
add_library(dd_grwin32 STATIC ${HEADERS} ${CPPS})
target_link_libraries(dd_grwin32 PRIVATE
2dlib
ddebug
logger
)
target_compile_definitions(dd_grwin32 PRIVATE DX_APP)
target_link_libraries(dd_grwin32 PRIVATE ${DDRAW_LIBRARY})