Skip to content
Snippets Groups Projects
Commit 7fa19bbe authored by Mattia Mancini's avatar Mattia Mancini
Browse files

OSB-29: fix cmake file

parent 70d4c925
No related branches found
No related tags found
2 merge requests!89Monitoring maintenance Epic branch merge,!1Resolve OSB-13 "Monitoringmaintenance "
...@@ -84,7 +84,7 @@ function(npm_install NPM_PACKAGE_SPECIFICATION) ...@@ -84,7 +84,7 @@ function(npm_install NPM_PACKAGE_SPECIFICATION)
add_custom_target(copy_src_public_${PACKAGE_NAME} SOURCES "${NPM_BINARY_DIR}/public" "${NPM_BINARY_DIR}/src") add_custom_target(copy_src_public_${PACKAGE_NAME} SOURCES "${NPM_BINARY_DIR}/public" "${NPM_BINARY_DIR}/src")
add_custom_target(copy_package_json_${PACKAGE_NAME} SOURCES "${NPM_BINARY_DIR}/package.json") add_custom_target(copy_package_json_${PACKAGE_NAME} SOURCES "${NPM_BINARY_DIR}/package.json")
add_custom_target(download_npm_dependencies_${PACKAGE_NAME} ALL SOURCES "${NPM_BINARY_DIR}/node_modules" "${NPM_BINARY_DIR}/package-lock.json" DEPENDS copy_src_public_${PACKAGE_NAME} copy_package_json_${PACKAGE_NAME}) add_custom_target(download_npm_dependencies_${PACKAGE_NAME} SOURCES "${NPM_BINARY_DIR}/node_modules" "${NPM_BINARY_DIR}/package-lock.json" DEPENDS copy_src_public_${PACKAGE_NAME} copy_package_json_${PACKAGE_NAME})
add_custom_target(packing_javascript_files_${PACKAGE_NAME} ALL SOURCES ${NPM_BINARY_DIR}/build) add_custom_target(packing_javascript_files_${PACKAGE_NAME} ALL SOURCES ${NPM_BINARY_DIR}/build)
add_custom_target(start_development_server_${PACKAGE_NAME} SOURCES "${NPM_BINARY_DIR}/node_modules" "${NPM_BINARY_DIR}/package-lock.json" "${NPM_BINARY_DIR}/package.json" add_custom_target(start_development_server_${PACKAGE_NAME} SOURCES "${NPM_BINARY_DIR}/node_modules" "${NPM_BINARY_DIR}/package-lock.json" "${NPM_BINARY_DIR}/package.json"
COMMENT "Start start_development_server for ${PACKAGE_NAME}") COMMENT "Start start_development_server for ${PACKAGE_NAME}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment