Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CMakeLists for SIG
cmake_minimum_required(VERSION 2.6)
cmake_policy(SET CMP0015 NEW)
set(INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../sig/include)
set(LINK_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../sig/src)
set(SOURCE_DIR "./src")
set(LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../sig/lib/linux64)
include_directories(${INCLUDE_DIR})
link_directories(${LINK_DIR})
file(GLOB SOURCES "src/*.cpp" "src/*.h")
project(sigapp)
add_executable(sigapp ${SOURCES})
target_link_libraries(model
${LIB_DIR}/libsigogl.a
${LIB_DIR}/libsigos.a
${LIB_DIR}/libsig.a
glfw
X11
GL)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.