|
Toshihiro Shimizu |
890ddd |
set(MOC_HEADERS
|
|
Toshihiro Shimizu |
890ddd |
fullcolorbrushtool.h
|
|
Toshihiro Shimizu |
890ddd |
controlpointselection.h
|
|
Toshihiro Shimizu |
890ddd |
../include/tools/imagegrouping.h
|
|
Toshihiro Shimizu |
890ddd |
edittoolgadgets.h
|
|
Toshihiro Shimizu |
890ddd |
skeletonsubtools.h
|
|
Toshihiro Shimizu |
890ddd |
tooloptionscontrols.h
|
|
Toshihiro Shimizu |
890ddd |
plastictool.h
|
|
Toshihiro Shimizu |
890ddd |
../include/tools/toolhandle.h
|
|
Toshihiro Shimizu |
890ddd |
../include/tools/tooloptions.h
|
|
Toshihiro Shimizu |
890ddd |
../include/tools/screenpicker.h
|
|
Campbell Barton |
3dcf6b |
rgbpickertool.h
|
|
shun_iwasawa |
06bcc2 |
rulertool.h
|
|
Campbell Barton |
6f1225 |
stylepickertool.h
|
|
Campbell Barton |
9ece9c |
)
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
set(HEADERS ${MOC_HEADERS}
|
|
Toshihiro Shimizu |
890ddd |
autofill.h
|
|
Toshihiro Shimizu |
890ddd |
bluredbrush.h
|
|
Toshihiro Shimizu |
890ddd |
brushtool.h
|
|
Toshihiro Shimizu |
890ddd |
../include/tools/cursormanager.h
|
|
Toshihiro Shimizu |
890ddd |
../include/tools/cursors.h
|
|
Toshihiro Shimizu |
890ddd |
../include/tools/levelselection.h
|
|
Toshihiro Shimizu |
890ddd |
../include/tools/rasterselection.h
|
|
Toshihiro Shimizu |
890ddd |
hookselection.h
|
|
Toshihiro Shimizu |
890ddd |
selectiontool.h
|
|
Toshihiro Shimizu |
890ddd |
setsaveboxtool.h
|
|
Toshihiro Shimizu |
890ddd |
rasterselectiontool.h
|
|
Toshihiro Shimizu |
890ddd |
vectorselectiontool.h
|
|
Toshihiro Shimizu |
890ddd |
../include/tools/strokeselection.h
|
|
Toshihiro Shimizu |
890ddd |
../include/tools/stylepicker.h
|
|
Toshihiro Shimizu |
890ddd |
../include/tools/tool.h
|
|
Toshihiro Shimizu |
890ddd |
../include/tools/toolcommandids.h
|
|
Toshihiro Shimizu |
890ddd |
../include/tools/toolutils.h
|
|
Campbell Barton |
9ece9c |
../include/tools/RGBpicker.h
|
|
|
bf1d82 |
mypainttoonzbrush.h
|
|
Campbell Barton |
9ece9c |
)
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
set(SOURCES
|
|
Toshihiro Shimizu |
890ddd |
autofillpli.cpp
|
|
Toshihiro Shimizu |
890ddd |
autofilltlv.cpp
|
|
Toshihiro Shimizu |
890ddd |
cursormanager.cpp
|
|
Toshihiro Shimizu |
890ddd |
stylepicker.cpp
|
|
Toshihiro Shimizu |
890ddd |
tool.cpp
|
|
Toshihiro Shimizu |
890ddd |
toolhandle.cpp
|
|
Toshihiro Shimizu |
890ddd |
toolutils.cpp
|
|
Toshihiro Shimizu |
890ddd |
bendertool.cpp
|
|
Toshihiro Shimizu |
890ddd |
bluredbrush.cpp
|
|
Toshihiro Shimizu |
890ddd |
brushtool.cpp
|
|
Toshihiro Shimizu |
890ddd |
controlpointeditortool.cpp
|
|
Toshihiro Shimizu |
890ddd |
cuttertool.cpp
|
|
Toshihiro Shimizu |
890ddd |
edittool.cpp
|
|
Toshihiro Shimizu |
890ddd |
edittoolgadgets.cpp
|
|
Toshihiro Shimizu |
890ddd |
filltool.cpp
|
|
Toshihiro Shimizu |
890ddd |
fullcolorbrushtool.cpp
|
|
Toshihiro Shimizu |
890ddd |
fullcolorerasertool.cpp
|
|
Toshihiro Shimizu |
890ddd |
geometrictool.cpp
|
|
Toshihiro Shimizu |
890ddd |
hooktool.cpp
|
|
Toshihiro Shimizu |
890ddd |
hookselection.cpp
|
|
Toshihiro Shimizu |
890ddd |
imagegrouping.cpp
|
|
Toshihiro Shimizu |
890ddd |
irontool.cpp
|
|
Toshihiro Shimizu |
890ddd |
levelselection.cpp
|
|
Toshihiro Shimizu |
890ddd |
magnettool.cpp
|
|
Toshihiro Shimizu |
890ddd |
morphtool.cpp
|
|
Toshihiro Shimizu |
890ddd |
paintbrushtool.cpp
|
|
Toshihiro Shimizu |
890ddd |
pinchtool.cpp
|
|
Toshihiro Shimizu |
890ddd |
plastictool.cpp
|
|
Toshihiro Shimizu |
890ddd |
plastictool_animate.cpp
|
|
Toshihiro Shimizu |
890ddd |
plastictool_build.cpp
|
|
Toshihiro Shimizu |
890ddd |
plastictool_meshedit.cpp
|
|
Toshihiro Shimizu |
890ddd |
plastictool_rigidity.cpp
|
|
Toshihiro Shimizu |
890ddd |
pumptool.cpp
|
|
Toshihiro Shimizu |
890ddd |
rastererasertool.cpp
|
|
Toshihiro Shimizu |
890ddd |
rastertapetool.cpp
|
|
Toshihiro Shimizu |
890ddd |
rasterselectiontool.cpp
|
|
Arseniy Shestakov |
5e9e96 |
rgbpickertool.cpp
|
|
Toshihiro Shimizu |
890ddd |
selectiontool.cpp
|
|
Toshihiro Shimizu |
890ddd |
setsaveboxtool.cpp
|
|
Toshihiro Shimizu |
890ddd |
skeletonsubtools.cpp
|
|
Toshihiro Shimizu |
890ddd |
skeletontool.cpp
|
|
Toshihiro Shimizu |
890ddd |
stylepickertool.cpp
|
|
Toshihiro Shimizu |
890ddd |
trackertool.cpp
|
|
Toshihiro Shimizu |
890ddd |
typetool.cpp
|
|
Toshihiro Shimizu |
890ddd |
tooloptionscontrols.cpp
|
|
Toshihiro Shimizu |
890ddd |
tooloptions.cpp
|
|
Toshihiro Shimizu |
890ddd |
vectorerasertool.cpp
|
|
Toshihiro Shimizu |
890ddd |
vectorselectiontool.cpp
|
|
Toshihiro Shimizu |
890ddd |
vectortapetool.cpp
|
|
Toshihiro Shimizu |
890ddd |
viewtools.cpp
|
|
Toshihiro Shimizu |
890ddd |
controlpointselection.cpp
|
|
Toshihiro Shimizu |
890ddd |
rasterselection.cpp
|
|
Toshihiro Shimizu |
890ddd |
strokeselection.cpp
|
|
Toshihiro Shimizu |
890ddd |
screenpicker.cpp
|
|
Campbell Barton |
3dcf6b |
fingertool.cpp
|
|
Campbell Barton |
9ece9c |
rulertool.cpp
|
|
|
bf1d82 |
mypainttoonzbrush.cpp
|
|
Campbell Barton |
9ece9c |
)
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
set(RESOURCES tnztools.qrc)
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
qt5_add_resources(SOURCES ${RESOURCES})
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
add_translation(tnztools ${HEADERS} ${SOURCES})
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
qt5_wrap_cpp(SOURCES ${MOC_HEADERS})
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
add_library(tnztools SHARED ${HEADERS} ${SOURCES} ${RESOURCES})
|
|
Campbell Barton |
f2d492 |
add_definitions(
|
|
Campbell Barton |
f2d492 |
-DTNZTOOLS_EXPORTS
|
|
Campbell Barton |
f2d492 |
)
|
|
Toshihiro Shimizu |
890ddd |
|
|
|
429ee8 |
if(BUILD_ENV_APPLE)
|
|
Toshihiro Shimizu |
890ddd |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,-install_name,@rpath/libtnztools.dylib")
|
|
shun-iwasawa |
5a2ff6 |
add_dependencies(tnztools tnzcore tnzbase tnzext toonzlib toonzqt)
|
|
Campbell Barton |
f08982 |
endif()
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
message("subdir: tnztools")
|
|
Toshihiro Shimizu |
890ddd |
message("Bin: " ${CMAKE_CURRENT_BINARY_DIR})
|
|
Toshihiro Shimizu |
890ddd |
|
|
Campbell Barton |
a9c3da |
include_directories(
|
|
Campbell Barton |
a9c3da |
SYSTEM
|
|
Campbell Barton |
a9c3da |
${SDKROOT}/superlu/SupperLU_4.1/SRC
|
|
Campbell Barton |
a9c3da |
)
|
|
Campbell Barton |
a9c3da |
include_directories(
|
|
Campbell Barton |
a9c3da |
../include/tools
|
|
Campbell Barton |
a9c3da |
)
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
_find_toonz_library(EXTRA_LIBS "tnzcore;tnzbase;tnzext;toonzlib;toonzqt")
|
|
Toshihiro Shimizu |
890ddd |
|
|
|
bf1d82 |
target_link_libraries(tnztools Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Network Qt5::OpenGL ${GLUT_LIB} ${EXTRA_LIBS} ${GL_LIB} ${MYPAINT_LIB_LDFLAGS})
|