Add Windows support.

This commit is contained in:
david 2020-07-04 19:43:08 +01:00
parent ee51f3ee09
commit 683ba5447f
37 changed files with 477 additions and 113 deletions

View file

@ -1,5 +1,8 @@
list(APPEND graphics_LIB_INCLUDES OpenGlInterface)
list(APPEND graphics_LIB_INCLUDES OpenGlInterface.cpp)
list(APPEND graphics_HEADERS OpenGlInterface.h)
add_library(graphics SHARED ${graphics_LIB_INCLUDES})
add_library(graphics SHARED ${graphics_LIB_INCLUDES} ${graphics_HEADERS})
target_link_libraries(graphics PUBLIC GL)
target_link_libraries(graphics PUBLIC GL)
set_property(TARGET graphics PROPERTY FOLDER src)