no calculator
This commit is contained in:
@@ -264,20 +264,21 @@ if (NANA_CMAKE_BUILD_DEMOS)
|
||||
add_definitions(-DNANA_ADD_DEF_AUTOMATIC_GUI_TESTING)
|
||||
endif(NANA_CMAKE_ADD_DEF_AUTOMATIC_GUI_TESTING)
|
||||
|
||||
set (demos calculator helloworld_demo notepad )
|
||||
set (demos helloworld_demo notepad )
|
||||
|
||||
foreach ( demo ${demos})
|
||||
add_executable(${demo} "../nana-demo/${demo}.cpp")
|
||||
set_property( TARGET ${demo} PROPERTY CXX_STANDARD 14 )
|
||||
target_link_libraries(${demo} ${PROJECT_NAME})
|
||||
if(NANA_CMAKE_AUTOMATIC_GUI_TESTING)
|
||||
add_custom_command( TARGET ${demo} POST_BUILD COMMAND ${demo} )
|
||||
#add_custom_command( TARGET ${demo} POST_BUILD COMMAND ${demo} )
|
||||
add_custom_target(do_always_${demo} ALL COMMAND ${demo})
|
||||
endif(NANA_CMAKE_AUTOMATIC_GUI_TESTING)
|
||||
install(TARGETS ${demo} RUNTIME DESTINATION "../nana-demo/")
|
||||
message("... to build: ../nana-demo/${demo}.cpp" )
|
||||
endforeach( demo ${demos})
|
||||
|
||||
set (demos widget_show widget_show2 )
|
||||
set (demos calculator widget_show widget_show2 )
|
||||
|
||||
if (NANA_CMAKE_INCLUDE_EXPERIMENTAL_DEMOS)
|
||||
list(APPEND demos file_explorer FreeMe)
|
||||
|
||||
Reference in New Issue
Block a user