tahoma2d/toonz/sources/tnztools/CMakeLists.txt

143 lines
3.3 KiB
CMake
Raw Normal View History

2016-03-19 06:57:51 +13:00
set(MOC_HEADERS
controlpointselection.h
edittoolgadgets.h
filltool.h
fullcolorbrushtool.h
fullcolorfilltool.h
plastictool.h
2016-03-19 06:57:51 +13:00
skeletonsubtools.h
tooloptionscontrols.h
toonzrasterbrushtool.h
viewtools.h
selectiontool.h
edittool.h
../include/tools/imagegrouping.h
../include/tools/screenpicker.h
2016-03-19 06:57:51 +13:00
../include/tools/toolhandle.h
../include/tools/tooloptions.h
)
2016-03-19 06:57:51 +13:00
set(HEADERS
${MOC_HEADERS}
2016-03-19 06:57:51 +13:00
autofill.h
bluredbrush.h
hookselection.h
mypainttoonzbrush.h
rasterselectiontool.h
rgbpickertool.h
rulertool.h
2016-03-19 06:57:51 +13:00
setsaveboxtool.h
shifttracetool.h
stylepickertool.h
toonzvectorbrushtool.h
2016-03-19 06:57:51 +13:00
vectorselectiontool.h
../include/tools/RGBpicker.h
../include/tools/cursormanager.h
../include/tools/cursors.h
../include/tools/levelselection.h
../include/tools/rasterselection.h
2016-03-19 06:57:51 +13:00
../include/tools/strokeselection.h
../include/tools/stylepicker.h
../include/tools/tool.h
../include/tools/toolcommandids.h
../include/tools/toolutils.h
)
2016-03-19 06:57:51 +13:00
set(SOURCES
autofillpli.cpp
autofilltlv.cpp
cursormanager.cpp
stylepicker.cpp
tool.cpp
toolhandle.cpp
toolutils.cpp
bendertool.cpp
bluredbrush.cpp
controlpointeditortool.cpp
cuttertool.cpp
edittool.cpp
edittoolgadgets.cpp
filltool.cpp
fullcolorbrushtool.cpp
fullcolorerasertool.cpp
fullcolorfilltool.cpp
2016-03-19 06:57:51 +13:00
geometrictool.cpp
hooktool.cpp
hookselection.cpp
imagegrouping.cpp
irontool.cpp
levelselection.cpp
magnettool.cpp
morphtool.cpp
paintbrushtool.cpp
pinchtool.cpp
plastictool.cpp
plastictool_animate.cpp
plastictool_build.cpp
plastictool_meshedit.cpp
plastictool_rigidity.cpp
pumptool.cpp
rastererasertool.cpp
rastertapetool.cpp
rasterselectiontool.cpp
2016-03-26 16:16:40 +13:00
rgbpickertool.cpp
2016-03-19 06:57:51 +13:00
selectiontool.cpp
setsaveboxtool.cpp
skeletonsubtools.cpp
skeletontool.cpp
stylepickertool.cpp
trackertool.cpp
typetool.cpp
tooloptionscontrols.cpp
tooloptions.cpp
vectorerasertool.cpp
vectorselectiontool.cpp
vectortapetool.cpp
viewtools.cpp
controlpointselection.cpp
rasterselection.cpp
strokeselection.cpp
screenpicker.cpp
fingertool.cpp
rulertool.cpp
mypainttoonzbrush.cpp
2018-09-11 17:35:02 +12:00
shifttracetool.cpp
toonzrasterbrushtool.cpp
toonzvectorbrushtool.cpp
)
2016-03-19 06:57:51 +13:00
set(RESOURCES tnztools.qrc)
qt5_add_resources(SOURCES ${RESOURCES})
2020-12-23 18:22:58 +13:00
if(WITH_TRANSLATION)
add_translation(tnztools ${HEADERS} ${SOURCES})
endif()
2016-03-19 06:57:51 +13:00
qt5_wrap_cpp(SOURCES ${MOC_HEADERS})
add_library(tnztools SHARED ${HEADERS} ${SOURCES} ${RESOURCES})
add_definitions(
-DTNZTOOLS_EXPORTS
)
2016-03-19 06:57:51 +13:00
if(BUILD_ENV_APPLE)
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-install_name,@executable_path/libtnztools.dylib")
add_dependencies(tnztools tnzcore tnzbase tnzext toonzlib toonzqt)
endif()
2016-03-19 06:57:51 +13:00
message("subdir: tnztools")
message("Bin: " ${CMAKE_CURRENT_BINARY_DIR})
include_directories(
SYSTEM
${SDKROOT}/superlu/SupperLU_4.1/SRC
)
include_directories(
../include/tools
)
2016-03-19 06:57:51 +13:00
_find_toonz_library(EXTRA_LIBS "tnzcore;tnzbase;tnzext;toonzlib;toonzqt")
target_link_libraries(tnztools Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Network Qt5::OpenGL ${GLUT_LIB} ${EXTRA_LIBS} ${GL_LIB} ${MYPAINT_LIB_LDFLAGS})