123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- add_library(document SHARED)
- set(BUILD_NODES ON CACHE BOOL "Whether to build actual nodes (useful to turn off to just run basic tests)")
- target_sources(document
- PRIVATE
- context.cpp
- document.cpp
- instance.cpp
- color.cpp
- node/abstract_node.cpp
- )
- if (BUILD_NODES)
- target_sources(document
- PRIVATE
- nodes/animated.cpp
- nodes/frame_list.cpp
- nodes/time.cpp
- nodes/time_list.cpp
- nodes/time_period.cpp
- nodes/dynamic_node.cpp
- nodes/morph.cpp
- nodes/format_string.cpp
- nodes/format_number.cpp
- nodes/color_mix.cpp
- nodes/follow_path.cpp
- nodes/path_xy.cpp
- nodes/extract_coord.cpp
- nodes/point_xy.cpp
- nodes/knot.cpp
- nodes/knot_list.cpp
- nodes/linear.cpp
- nodes/truncate.cpp
- nodes/to_string.cpp
- nodes/color_string.cpp
- nodes/file_string.cpp
- nodes/math.cpp
- nodes/rectangle.cpp
- nodes/circle.cpp
- nodes/list.cpp
- nodes/split_string.cpp
- nodes/random.cpp
- nodes/renderable/empty.cpp
- nodes/renderable/composite.cpp
- nodes/renderable/image.cpp
- nodes/renderable/translate.cpp
- nodes/renderable/scale.cpp
- nodes/renderable/rotate.cpp
- nodes/renderable/text.cpp
- nodes/renderable/render_shape.cpp
- )
- endif()
- target_link_libraries(document log morphing fmt)
- install(
- TARGETS document
- EXPORT rainynite_core
- LIBRARY DESTINATION lib
- ARCHIVE DESTINATION lib
- )
|