File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed
Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 11# Generated by js/update_sources.sh, do not edit directly
22set (
3- CLIENT_SOURCES
3+ JS_CLIENT_SOURCES
44package.json
55webpack.config.js
66src/enums.js
Original file line number Diff line number Diff line change @@ -17,14 +17,12 @@ function update
1717{
1818 cd " $root_dir /$1 "
1919
20- name=` echo $1 | tr a-z A-Z`
21-
2220 output=sources.cmake
2321
2422 (
2523 echo " # Generated by js/update_sources.sh, do not edit directly"
2624 echo " set("
27- echo " ${name} _SOURCES "
25+ echo " $2 _SOURCES "
2826 echo " package.json"
2927 echo_if_exists .babelrc
3028 echo_if_exists webpack.config.js
@@ -33,6 +31,6 @@ function update
3331 ) > $output
3432}
3533
36- update api_tests
37- update client
38- update webui
34+ update api_tests API_TESTS
35+ update client JS_CLIENT
36+ update webui WEBUI
Original file line number Diff line number Diff line change 11include (sources .cmake)
22include (../client/sources .cmake)
33
4- list (TRANSFORM JS_CLIENT_SOURCES PREPEND "../client/src/ " )
4+ list (TRANSFORM JS_CLIENT_SOURCES PREPEND "../client/" )
55
66set (
77 WEBUI_OUTPUT_FILES
You can’t perform that action at this time.
0 commit comments