2015-09-29 00:23:46 +05:30
|
|
|
cmake_minimum_required(VERSION 3.1)
|
2015-08-19 05:36:32 +05:30
|
|
|
project(rainbow)
|
|
|
|
|
|
|
|
find_package(Qt5Core REQUIRED QUIET)
|
|
|
|
find_package(Qt5Gui REQUIRED QUIET)
|
|
|
|
|
|
|
|
set(RAINBOW_SOURCES
|
|
|
|
src/rainbow.cpp
|
|
|
|
)
|
|
|
|
|
2022-02-08 21:03:30 +05:30
|
|
|
add_library(Launcher_rainbow ${RAINBOW_SOURCES})
|
|
|
|
target_compile_definitions(Launcher_rainbow PRIVATE RAINBOW_LIBRARY)
|
|
|
|
target_compile_definitions(Launcher_rainbow PRIVATE RAINBOW_STATIC)
|
|
|
|
target_include_directories(Launcher_rainbow PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" "${CMAKE_CURRENT_BINARY_DIR}")
|
2015-08-19 05:36:32 +05:30
|
|
|
|
2021-10-13 05:29:25 +05:30
|
|
|
target_link_libraries(Launcher_rainbow Qt5::Core Qt5::Gui)
|
2018-01-22 08:58:07 +05:30
|
|
|
|