diff options
Diffstat (limited to 'examples/html5/CMakeLists.txt')
-rw-r--r-- | examples/html5/CMakeLists.txt | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/examples/html5/CMakeLists.txt b/examples/html5/CMakeLists.txt index 2a7b33a..26b9226 100644 --- a/examples/html5/CMakeLists.txt +++ b/examples/html5/CMakeLists.txt @@ -21,25 +21,6 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.3) include(${CMAKE_CURRENT_SOURCE_DIR}/etc/config.cmake) include(${CMAKE_CURRENT_SOURCE_DIR}/etc/macros.cmake) -# Add target to project dependency list -PROJECT_TARGET_ADD(html5-example) - - # Define project Targets - add_custom_command(OUTPUT dist.prod - DEPENDS ${TARGET_NAME} - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - COMMAND npm install - COMMAND gulp widget-config-prod - COMMAND cp -r dist.prod ${CMAKE_CURRENT_BINARY_DIR}) - - add_custom_target(${TARGET_NAME} ALL DEPENDS dist.prod) - - # Binder exposes a unique public entry point - SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES - PREFIX "" - LABELS "HTDOCS" - OUTPUT_NAME dist.prod) - -populate_widget() +search_targets() build_widget() |