Move scripts to tools

This commit is contained in:
Vincent Stumpf 2023-06-11 02:17:49 +00:00
parent ae862453bd
commit 855cf12007
8 changed files with 34 additions and 7 deletions

8
.gitignore vendored
View File

@ -139,6 +139,14 @@ Thumbs.db
/yamlupgrade.bat /yamlupgrade.bat
/navigenerator.bat /navigenerator.bat
# Linux script tools
/athena-start
/configure
/configure.ac
/function.sh
/install.sh
/uninstall.sh
# dlls # dlls
/libmysql.dll /libmysql.dll
/pcre8.dll /pcre8.dll

View File

@ -11,11 +11,30 @@ function(copy_to_source_dir FILENAMES)
endforeach() endforeach()
endfunction() endfunction()
set(FILES_TO_COPY if(WIN32)
"serv.bat" set(WIN_FILES_TO_COPY
"logserv.bat" "charserv.bat"
"charserv.bat" "csv2yaml.bat"
"mapserv.bat" "logserv.bat"
"mapcache.bat"
"mapserv.bat"
"runserver.bat" "runserver.bat"
"serv.bat"
"webserv.bat"
"yaml2sql.bat"
"yamlupgrade.bat"
"navigenerator.bat"
)
copy_to_source_dir("${WIN_FILES_TO_COPY}")
else()
set(LINUX_FILES_TO_COPY
"athena-start"
"configure"
"configure.ac"
"function.sh"
"install.sh"
"uninstall.sh"
)
) copy_to_source_dir("${LINUX_FILES_TO_COPY}")
endif()

View File