From 62bd9aa4da85ef87c4d9a9bb7911f8a4e0ac9986 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Mon, 18 Dec 2017 23:01:33 +0100 Subject: Moved to QtCreator project with QMake --- CMakeLists.txt | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index 2a32638..0000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,48 +0,0 @@ -cmake_minimum_required(VERSION 3.7) - -####################################################################### -# B-Circuit -project(OrbitingYeti) - -## Version -set(OrbitingYeti_VERSION_MAJOR 0) -set(OrbitingYeti_VERSION_MINOR 1) - -## Libraries - -# qt5 - -# Tell CMake to run moc when necessary: -set(CMAKE_AUTOMOC ON) -# As moc files are generated in the binary dir, tell CMake -# to always look for includes there: -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -find_package(Qt5Core REQUIRED) -find_package(Qt5Widgets REQUIRED) - -add_definitions(${Qt5Core_DEFINITIONS}) -add_definitions(${Qt5Widgets_DEFINITIONS}) - -include_directories(${Qt5core_INCLUDES}) -include_directories(${Qt5Widgets_INCLUDES}) - -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Core_EXECUTABLE_COMPILE_FLAGS}") -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}") - -## Compiler -set(CMAKE_CXX_STANDARD 11) -set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall") -set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Wall -Werror") - -## Source code -include_directories(${CMAKE_SOURCE_DIR}/inc) -file(GLOB_RECURSE SOURCES ${CMAKE_SOURCE_DIR} "src/*.cpp") - -## Executable -add_executable(OrbitingYeti ${SOURCES}) -target_link_libraries(OrbitingYeti Qt5::Core Qt5::Widgets) - -## Toolchain -# enable useful output for linters -set(CMAKE_EXPORT_COMPILE_COMMANDS ON) -- cgit v1.2.1