Sha256: 5202d6482ef99e7c331f16cff54e1d3290ce6aadca65907e4eb801c39f89eabd

Contents?: true

Size: 899 Bytes

Versions: 4

Compression:

Stored size: 899 Bytes

Contents

cmake_minimum_required(VERSION 3.0)
project(pixo)


include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/libpixgem/include )
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/pixo EXCLUDE_FROM_ALL)
include_directories(${PIXLIB_INCLUDE})

foreach(inc ${PIXLIB_INCLUDE})
  message(STATUS ${inc})
endforeach()

find_package(Ruby REQUIRED)
include_directories(BEFORE ${RUBY_INCLUDE_DIRS})


set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -fPIC -fpermissive")

add_library(pixgem SHARED
  libpixgem/src/gem.cpp
  libpixgem/src/holder.cpp
  libpixgem/src/application.cpp
  libpixgem/src/pattern.cpp
  libpixgem/src/fade_candy.cpp
  libpixgem/src/camera.cpp
  )
target_link_libraries(pixgem glfw libglew_static pthread  pixlib)

# Ruby gems require a install target.
install(TARGETS pixgem
            RUNTIME DESTINATION lib/
            ARCHIVE DESTINATION lib/
            LIBRARY DESTINATION lib/
        )

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pixo-0.1.3 ext/CMakeLists.txt
pixo-0.1.2 ext/CMakeLists.txt
pixo-0.1.1 ext/CMakeLists.txt
pixo-0.1.0 ext/CMakeLists.txt