Skip to content
Snippets Groups Projects
Commit 2dfc0275 authored by Armin Co's avatar Armin Co
Browse files

Changed to Release mode.

The programm will not run properly in debug mode, window will not show.
parent f74a180c
Branches
No related tags found
No related merge requests found
# CMake file for the QPong project. # CMake file for the QPong project.
project(QPong) project(QPong)
cmake_minimum_required(VERSION 3.2) cmake_minimum_required(VERSION 3.10)
# Options # Options
option(create_test "Build all tests." OFF) option(create_test "Build all tests." OFF)
option(release_type "Set the type of the releas (Debug/Release)." Release)
# Use modern C++! # Use modern C++!
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD 17)
# @todo It will not run in debug mode only in release mode.
set(CMAKE_BUILD_TYPE Release)
# PkgConfig # PkgConfig
...@@ -31,7 +31,7 @@ add_subdirectory(qpong_core) ...@@ -31,7 +31,7 @@ add_subdirectory(qpong_core)
include_directories(qpong_core) include_directories(qpong_core)
# Dear ImGui based application # Dear ImGui based application
# add_subdirectory(imgui_app) add_subdirectory(imgui_app)
# Add dir with gtk qpong app # Add dir with gtk qpong app
add_subdirectory(gtk_qpong_app) add_subdirectory(gtk_qpong_app)
......
...@@ -6,7 +6,6 @@ link_directories(${GTKMM_LIBRARY_DIRS}) ...@@ -6,7 +6,6 @@ link_directories(${GTKMM_LIBRARY_DIRS})
# get all GTKMM dependencies and configuration # get all GTKMM dependencies and configuration
include_directories(${GTKMM_INCLUDE_DIRS}) include_directories(${GTKMM_INCLUDE_DIRS})
# include_directories(../qpong_core)
# create the application # create the application
add_executable( qpong.app add_executable( qpong.app
...@@ -18,7 +17,6 @@ add_executable( qpong.app ...@@ -18,7 +17,6 @@ add_executable( qpong.app
find_package(Threads) find_package(Threads)
# link all necessary libs to the target # link all necessary libs to the target
target_link_libraries( qpong.app target_link_libraries( qpong.app
qpong_core qpong_core
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment