Blame plugins/multiplugin/CMakeLists.txt
|
Toshihiro Shimizu |
890ddd |
project(multi_plugin)
|
|
roentgen |
edd579 |
set(PLUGINSDK_ROOT ../../toonz/sources/toonzqt)
|
|
roentgen |
edd579 |
set(PLUGINSDK_UTILS_PATH ../)
|
|
Toshihiro Shimizu |
890ddd |
|
|
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 |
multi.cpp)
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
if (APPLE)
|
|
Toshihiro Shimizu |
890ddd |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -stdlib=libc++")
|
|
Toshihiro Shimizu |
890ddd |
endif (APPLE)
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
add_library(multi SHARED ${HEADERS} ${SOURCES})
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
set_target_properties(multi PROPERTIES
|
|
Toshihiro Shimizu |
890ddd |
PREFIX ""
|
|
Toshihiro Shimizu |
890ddd |
SUFFIX ".plugin")
|
|
Toshihiro Shimizu |
890ddd |
|
|
roentgen |
edd579 |
include_directories(${PLUGINSDK_ROOT} ${PLUGINSDK_UTILS_PATH})
|