mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:00:05 +00:00
Added target for updating the radar sites.
This commit is contained in:
parent
b7213ddc5c
commit
697a275b32
1 changed files with 7 additions and 0 deletions
|
|
@ -380,6 +380,7 @@ set(JSON_FILES res/config/radar_sites.json)
|
|||
|
||||
set(TS_FILES ts/scwx_en_US.ts)
|
||||
|
||||
set(RADAR_SITES_FILE ${scwx-qt_SOURCE_DIR}/res/config/radar_sites.json)
|
||||
set(COUNTY_DBF_FILES ${SCWX_DIR}/data/db/c_05mr24.dbf)
|
||||
set(ZONE_DBF_FILES ${SCWX_DIR}/data/db/fz05mr24.dbf
|
||||
${SCWX_DIR}/data/db/mz05mr24.dbf
|
||||
|
|
@ -504,6 +505,12 @@ add_custom_target(scwx-qt_generate_versions ALL
|
|||
|
||||
add_dependencies(scwx-qt scwx-qt_generate_versions)
|
||||
|
||||
add_custom_target(scwx-qt_update_radar_sites ALL
|
||||
COMMAND ${Python_EXECUTABLE}
|
||||
${scwx-qt_SOURCE_DIR}/tools/update_radar_sites.py
|
||||
-u ${RADAR_SITES_FILE}
|
||||
-t -w)
|
||||
|
||||
qt_add_resources(scwx-qt "generated"
|
||||
PREFIX "/"
|
||||
BASE ${scwx-qt_BINARY_DIR}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue