Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
qpong
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Armin Co
qpong
Commits
2dfc0275
Commit
2dfc0275
authored
Apr 26, 2020
by
Armin Co
Browse files
Options
Downloads
Patches
Plain Diff
Changed to Release mode.
The programm will not run properly in debug mode, window will not show.
parent
f74a180c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+4
-4
4 additions, 4 deletions
CMakeLists.txt
gtk_qpong_app/CMakeLists.txt
+0
-2
0 additions, 2 deletions
gtk_qpong_app/CMakeLists.txt
with
4 additions
and
6 deletions
CMakeLists.txt
+
4
−
4
View file @
2dfc0275
# 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
)
...
...
This diff is collapsed.
Click to expand it.
gtk_qpong_app/CMakeLists.txt
+
0
−
2
View file @
2dfc0275
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment