Add Windows support.
This commit is contained in:
parent
ee51f3ee09
commit
683ba5447f
37 changed files with 477 additions and 113 deletions
|
@ -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)
|
|
@ -4,7 +4,7 @@ class OpenGlInterface
|
|||
{
|
||||
public:
|
||||
|
||||
static void draw();
|
||||
static void draw();
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue