Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
-- clean useless files
-- update submodules
-- finish event module
-- fix some bugs
  • Loading branch information
AstroAir committed Feb 12, 2024
1 parent 4fa221e commit 053bffc
Show file tree
Hide file tree
Showing 94 changed files with 4,040 additions and 24,474 deletions.
20 changes: 0 additions & 20 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -190,22 +190,6 @@ find_package(ZLIB REQUIRED)
find_package(SQLite3 REQUIRED)
find_package(LIBZIP REQUIRED)

#################################################################################
# i18n
include(cmake_modules/Gettext_helpers.cmake)
configure_gettext(
DOMAIN "lithium"
TARGET_NAME "lithium-gettext"
SOURCES "${api_module}" "${config_module}" "${io_module}" "${module_module}" "${web_module}" "${device_module}" "${thread_module}" "${task_module}" "${server_module}" "${script_module}" "${system_module}" "${Lithium_module}"
POTFILE_DESTINATION "locale"
XGETTEXT_ARGS
"--keyword=_" "--keyword=N_" "--keyword=P_:1,2"
"--package-name=${PROJECT_NAME}" "--package-version=${PROJECT_VERSION}"
"--copyright-holder=Max Qian" "[email protected]"
LANGUAGES "en_US.UTF-8")

# find_package(Intl REQUIRED)

#################################################################################
# Main

Expand Down Expand Up @@ -268,10 +252,6 @@ target_link_libraries(lithium_server backward)
target_link_libraries(lithium_server tinyxml2)
target_link_libraries(lithium_server pocketpy)

target_link_libraries(lithium_server ${Libintl_LIBRARY})
target_include_directories(lithium_server PUBLIC ${Libintl_INCLUDE_DIRS})
add_dependencies(lithium_server lithium-gettext)

if(WIN32)
target_link_libraries(lithium_server pdh iphlpapi winmm crypt32 wsock32 ws2_32)
find_package(dlfcn-win32 REQUIRED)
Expand Down
74 changes: 0 additions & 74 deletions cmake_modules/FindASI.cmake

This file was deleted.

52 changes: 0 additions & 52 deletions cmake_modules/FindFFTW3.cmake

This file was deleted.

61 changes: 0 additions & 61 deletions cmake_modules/FindLIBZIP.cmake

This file was deleted.

23 changes: 0 additions & 23 deletions cmake_modules/FindLibXISF.cmake

This file was deleted.

45 changes: 0 additions & 45 deletions cmake_modules/FindLibev.cmake

This file was deleted.

50 changes: 0 additions & 50 deletions cmake_modules/FindQHY.cmake

This file was deleted.

50 changes: 0 additions & 50 deletions cmake_modules/FindTOUPCAM.cmake

This file was deleted.

Loading

0 comments on commit 053bffc

Please sign in to comment.