Commit 82d2a5ac authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

USe more cmake target centric code

parent 89c4cb8d
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment