Blame plugins/geom/CMakeLists.txt
|
Toshihiro Shimizu |
890ddd |
project(geom_plugin)
|
|
Toshihiro Shimizu |
890ddd |
|
|
roentgen |
edd579 |
set(PLUGINSDK_ROOT ../../toonz/sources/toonzqt)
|
|
roentgen |
edd579 |
set(PLUGINSDK_UTILS_PATH ../)
|
|
roentgen |
edd579 |
|
|
Toshihiro Shimizu |
890ddd |
set(HEADERS
|
|
roentgen |
edd579 |
${PLUGINSDK_ROOT}/toonz_plugin.h
|
|
roentgen |
edd579 |
${PLUGINSDK_ROOT}/toonz_hostif.h)
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
set(SOURCES
|
|
Toshihiro Shimizu |
890ddd |
geom.cpp)
|
|
Toshihiro Shimizu |
890ddd |
|
|
Campbell Barton |
f08982 |
if(APPLE)
|
|
Campbell Barton |
f08982 |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -stdlib=libc++")
|
|
Campbell Barton |
f08982 |
endif()
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
add_library(geom SHARED ${HEADERS} ${SOURCES})
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
set_target_properties(geom PROPERTIES
|
|
Toshihiro Shimizu |
890ddd |
PREFIX ""
|
|
Toshihiro Shimizu |
890ddd |
SUFFIX ".plugin")
|
|
Toshihiro Shimizu |
890ddd |
|
|
roentgen |
edd579 |
include_directories(${PLUGINSDK_ROOT} ${PLUGINSDK_UTILS_PATH})
|