* Fix bug causing xls import failing for some comparisons * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Benjamin Nauck <benjamin.nauck@adlede.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
34 lines
581 B
CMake
34 lines
581 B
CMake
|
|
add_subdirectory(App)
|
|
if(BUILD_GUI)
|
|
add_subdirectory(Gui)
|
|
endif(BUILD_GUI)
|
|
|
|
set(Spreadsheet_Scripts
|
|
Init.py
|
|
TestSpreadsheet.py
|
|
importXLSX.py
|
|
test_importXLSX.py
|
|
)
|
|
|
|
if(BUILD_GUI)
|
|
list (APPEND Spreadsheet_Scripts InitGui.py)
|
|
endif(BUILD_GUI)
|
|
|
|
add_custom_target(SpreadsheetScripts ALL
|
|
SOURCES ${Spreadsheet_Scripts}
|
|
)
|
|
|
|
fc_target_copy_resource(SpreadsheetScripts
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
${CMAKE_BINARY_DIR}/Mod/Spreadsheet
|
|
${Spreadsheet_Scripts}
|
|
)
|
|
|
|
install(
|
|
FILES
|
|
${Spreadsheet_Scripts}
|
|
DESTINATION
|
|
Mod/Spreadsheet
|
|
)
|