qskinny/playground/gradients/CMakeLists.txt

18 lines
639 B
CMake
Raw Normal View History

2023-04-01 15:34:43 +00:00
############################################################################
# QSkinny - Copyright (C) 2016 Uwe Rathmann
# This file may be used under the terms of the 3-clause BSD License
############################################################################
2023-04-01 15:34:43 +00:00
set(SOURCES GradientView.h GradientView.cpp main.cpp)
2023-04-01 15:34:43 +00:00
if(TARGET quickshapes_private)
list(APPEND SOURCES GradientQuickShape.h GradientQuickShape.cpp)
2023-03-29 15:49:17 +00:00
endif()
2023-04-01 15:34:43 +00:00
qsk_add_example(gradients ${SOURCES})
2023-03-08 09:44:35 +00:00
if(TARGET quickshapes_private)
2023-03-29 15:49:17 +00:00
target_compile_definitions(gradients PRIVATE SHAPE_GRADIENT)
target_link_libraries(gradients PRIVATE quickshapes_private)
2023-03-08 09:44:35 +00:00
endif()