14 lines
387 B
CMake
14 lines
387 B
CMake
include_directories("${PROJECT_SOURCE_DIR}/lib/graphics_engine/include")
|
|
include_directories("${PROJECT_SOURCE_DIR}/lib/irrlicht/include")
|
|
if(UNIX OR MINGW)
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++0x")
|
|
endif()
|
|
add_library(graphics_engine STATIC
|
|
src/gl.c
|
|
src/vulkan.c
|
|
src/ge_main.cpp
|
|
src/ge_texture.cpp
|
|
src/ge_dx9_texture.cpp
|
|
src/ge_gl_texture.cpp
|
|
)
|