Descent3/dd_grwin32/CMakeLists.txt
Azamat H. Hackimov 506521695a Isolate 2dlib submodule
Isolate 2dlib from rest of the project, minor cleanups
2024-07-27 22:21:29 +03:00

18 lines
368 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
)
target_compile_definitions(dd_grwin32 PRIVATE DX_APP)
target_link_libraries(dd_grwin32 PRIVATE ${DDRAW_LIBRARY})