refact: remove almost all files
This is a prepare commit for the following refactor of dde-application-manager. I remove almost all files in this git repository. We will start the refactor in later commits. Signed-off-by: black-desk <me@black-desk.cn>
This commit is contained in:
@ -1,28 +0,0 @@
|
||||
cmake_minimum_required(VERSION 3.11)
|
||||
|
||||
project(dde-application-manager)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
#install settings
|
||||
if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
||||
set(CMAKE_INSTALL_PREFIX /usr)
|
||||
endif ()
|
||||
|
||||
add_subdirectory(src)
|
||||
add_subdirectory(misc)
|
||||
|
||||
if (NOT (${CMAKE_BUILD_TYPE} MATCHES "Debug"))
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Ofast")
|
||||
|
||||
# generate qm
|
||||
execute_process(COMMAND bash "translate_generation.sh"
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
|
||||
endif ()
|
||||
|
||||
# qm files
|
||||
file(GLOB QM_FILES "translations/*.qm")
|
||||
install(FILES ${QM_FILES} DESTINATION ${CMAKE_INSTALL_DATADIR}/dde-application-manager/translations)
|
Reference in New Issue
Block a user