Skip to content

Instantly share code, notes, and snippets.

@kiroma
Created August 18, 2019 17:35
Show Gist options
  • Save kiroma/4a0d45c3edb211bc01d52dab4e51ead8 to your computer and use it in GitHub Desktop.
Save kiroma/4a0d45c3edb211bc01d52dab4e51ead8 to your computer and use it in GitHub Desktop.
cmake_minimum_required(VERSION 3.7.0)
project(clicord)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTOUIC_SEARCH_PATHS ui)
find_package(Qt5 COMPONENTS Core Widgets Gui REQUIRED)
add_executable(clicord
src/mainwindow.cpp
src/main.cpp
)
target_link_libraries(clicord Qt5::Widgets Qt5::Core Qt5::Gui)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment