From 09eaea0fade2a14894d806ce0107cefb526a10ee Mon Sep 17 00:00:00 2001 From: qPCR4vir Date: Mon, 15 Feb 2016 00:42:51 +0100 Subject: [PATCH] modernize widget_show2 to nana v1.3.0 --- CMakeLists.txt | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d486bc67..c5e9862d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -196,25 +196,24 @@ if (BUILD_NANA_DEMOS) set_property( TARGET notepad PROPERTY CXX_STANDARD 14 ) target_link_libraries(notepad ${PROJECT_NAME} ) install(TARGETS notepad RUNTIME DESTINATION &{DEMO_BIN}) - add_executable(widget_show ../nana-demo/widget_show.cpp) set_property( TARGET widget_show PROPERTY CXX_STANDARD 14 ) target_link_libraries(widget_show ${PROJECT_NAME}) install(TARGETS widget_show RUNTIME DESTINATION &{DEMO_BIN}) - - if (OFF) # temporal: we need to adapt the use of filesystem to nana v1.03 (no file iterator) + add_executable(widget_show2 ../nana-demo/widget_show2.cpp) + set_property( TARGET widget_show2 PROPERTY CXX_STANDARD 14 ) + target_link_libraries(widget_show2 ${PROJECT_NAME}) + install(TARGETS widget_show2 RUNTIME DESTINATION &{DEMO_BIN}) + + if (OFF) # temporal: we need to adapt the use of filesystem to nana v1.03 (no file iterator) add_executable(file_explorer ../nana-demo/file_explorer.cpp) set_property( TARGET file_explorer PROPERTY CXX_STANDARD 14 ) target_link_libraries(file_explorer ${PROJECT_NAME} ) install(TARGETS file_explorer RUNTIME DESTINATION &{DEMO_BIN}) - add_executable(widget_show2 ../nana-demo/widget_show2.cpp) - set_property( TARGET widget_show2 PROPERTY CXX_STANDARD 14 ) - target_link_libraries(widget_show2 ${PROJECT_NAME}) - install(TARGETS widget_show2 RUNTIME DESTINATION &{DEMO_BIN}) endif(OFF)