Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
KHangMan
Commits
82d2a5ac
Commit
82d2a5ac
authored
Nov 12, 2021
by
Laurent Montel
😁
Browse files
USe more cmake target centric code
parent
89c4cb8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
82d2a5ac
...
...
@@ -7,7 +7,8 @@ include_directories(
${
PHONON_INCLUDES
}
)
set
(
khangman_SRCS khangman.cpp
add_executable
(
khangman
)
target_sources
(
khangman PRIVATE khangman.cpp
khangman.h
khmtheme.cpp
khmthemefactory.cpp
...
...
@@ -17,8 +18,7 @@ set(khangman_SRCS khangman.cpp
langutils.h
main.cpp
)
kconfig_add_kcfg_files
(
khangman_SRCS prefs.kcfgc
)
add_executable
(
khangman
${
khangman_SRCS
}
)
kconfig_add_kcfg_files
(
khangman prefs.kcfgc
)
# generate_export_header(khangman BASE_NAME KHANGMAN)
target_link_libraries
(
khangman
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment