Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
CMAKE_MINIMUM_REQUIRED(VERSION 3.0)
project(qualicheck)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED yes)
###########################################################
# find and configure the isis core library
###########################################################
find_package(ISIS REQUIRED COMPONENTS ISISMath ISISAdapter)
include_directories(${ISIS_INCLUDE_DIRS})
find_package(GSL)
###############################################################################
# add global options
###############################################################################
ADD_DEFINITIONS(-D_ENABLE_LOG=1)
ADD_DEFINITIONS(-D_ENABLE_DEBUG=1)
# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Instruct CMake to run moc automatically when needed.
set(CMAKE_AUTOMOC ON)
# Find the QtWidgets library
find_package(Qt5Widgets CONFIG REQUIRED)
# Create code from a list of Qt designer ui files.
set(CMAKE_AUTOUIC ON)
# Tell CMake to create the helloworld executable
add_executable(qualicheck main.cpp qualicheck.cpp)
# Use the Widgets module from Qt 5.
target_link_libraries(qualicheck Qt5::Widgets GSL::gsl ${ISIS_LIBS} ${ISIS_QT5_LIBS})
# Install the executable
install(TARGETS qualicheck DESTINATION bin)