2015-09-28 19:53:46 +01:00
|
|
|
cmake_minimum_required(VERSION 3.1)
|
2015-08-19 01:06:32 +01:00
|
|
|
project(rainbow)
|
|
|
|
|
|
|
|
find_package(Qt5Core REQUIRED QUIET)
|
|
|
|
find_package(Qt5Gui REQUIRED QUIET)
|
|
|
|
|
|
|
|
set(RAINBOW_SOURCES
|
|
|
|
src/rainbow.cpp
|
|
|
|
)
|
|
|
|
|
2015-08-21 06:40:39 +01:00
|
|
|
add_definitions(-DRAINBOW_LIBRARY)
|
2016-12-28 16:23:48 +00:00
|
|
|
add_library(MultiMC_rainbow SHARED ${RAINBOW_SOURCES})
|
|
|
|
target_include_directories(MultiMC_rainbow PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
2015-08-19 01:06:32 +01:00
|
|
|
|
2016-12-28 16:23:48 +00:00
|
|
|
qt5_use_modules(MultiMC_rainbow Core Gui)
|