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
Campbell Barton 9ece9c
    ${PLUGINSDK_ROOT}/toonz_hostif.h
Campbell Barton 9ece9c
)
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
set(SOURCES
Campbell Barton 9ece9c
    geom.cpp
Campbell Barton 9ece9c
)
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 ""
Campbell Barton 9ece9c
    SUFFIX ".plugin"
Campbell Barton 9ece9c
)
Toshihiro Shimizu 890ddd
roentgen edd579
include_directories(${PLUGINSDK_ROOT} ${PLUGINSDK_UTILS_PATH})