Descent3/dd_grwin32/CMakeLists.txt
2024-09-10 03:00:25 +03:00

19 lines
381 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
misc
plog::plog
)
target_compile_definitions(dd_grwin32 PRIVATE DX_APP)
target_link_libraries(dd_grwin32 PRIVATE ${DDRAW_LIBRARY})