2020-10-24 01:04:25 +00:00
|
|
|
project(trweb)
|
|
|
|
|
|
|
|
set(TRWEB_SRCS
|
|
|
|
src/about-dialog.js
|
|
|
|
src/action-manager.js
|
|
|
|
src/alert-dialog.js
|
|
|
|
src/context-menu.js
|
|
|
|
src/file-row.js
|
|
|
|
src/formatter.js
|
|
|
|
src/inspector.js
|
|
|
|
src/main.js
|
|
|
|
src/move-dialog.js
|
|
|
|
src/notifications.js
|
|
|
|
src/open-dialog.js
|
|
|
|
src/overflow-menu.js
|
|
|
|
src/prefs-dialog.js
|
|
|
|
src/prefs.js
|
|
|
|
src/remote.js
|
|
|
|
src/remove-dialog.js
|
|
|
|
src/rename-dialog.js
|
|
|
|
src/shortcuts-dialog.js
|
|
|
|
src/statistics-dialog.js
|
|
|
|
src/torrent.js
|
|
|
|
src/torrent-row.js
|
|
|
|
src/transmission.js
|
|
|
|
src/utils.js
|
2022-08-31 14:31:29 +00:00
|
|
|
assets/css/transmission-app.scss
|
2020-10-24 01:04:25 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
set(TRWEB_IMGS
|
2022-08-31 14:31:29 +00:00
|
|
|
assets/img/analytics.svg
|
2022-10-21 17:22:59 +00:00
|
|
|
assets/img/modern-tortoise-blue.png
|
|
|
|
assets/img/modern-tortoise.png
|
2022-08-31 14:31:29 +00:00
|
|
|
assets/img/chevron-down.svg
|
|
|
|
assets/img/chevron-up.svg
|
|
|
|
assets/img/diagram-3-fill.svg
|
|
|
|
assets/img/horizontal-rule.svg
|
|
|
|
assets/img/lock-fill.svg
|
|
|
|
assets/img/logo.png
|
|
|
|
assets/img/pause-circle-active.svg
|
|
|
|
assets/img/pause-circle-idle.svg
|
|
|
|
assets/img/play-circle-active.svg
|
|
|
|
assets/img/play-circle-idle.svg
|
|
|
|
assets/img/router.svg
|
|
|
|
assets/img/team.svg
|
|
|
|
assets/img/three-dots-vertical.svg
|
|
|
|
assets/img/up-and-down-arrows.svg
|
2020-10-24 01:04:25 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
add_custom_target(
|
|
|
|
trweb ALL
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/package.json" "${CMAKE_CURRENT_BINARY_DIR}/package.json"
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/yarn.lock" "${CMAKE_CURRENT_BINARY_DIR}/yarn.lock"
|
|
|
|
COMMAND yarn install
|
|
|
|
COMMAND yarn webpack --config "${CMAKE_CURRENT_SOURCE_DIR}/webpack.config.js" --context "${CMAKE_CURRENT_SOURCE_DIR}"
|
|
|
|
BYPRODUCTS
|
|
|
|
public_html/transmission-app.js
|
|
|
|
public_html/transmission-app.js.LICENSE.txt
|
|
|
|
DEPENDS ${TRWEB_IMGS}
|
|
|
|
SOURCES ${TRWEB_SRCS}
|
|
|
|
)
|