build: gui lib use explicit sources
This commit is contained in:
committed by
Chris Rizzitello
parent
08ad64eb4d
commit
19920801fa
@ -20,18 +20,100 @@ set(CMAKE_AUTORCC ON)
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
|
||||
file(GLOB_RECURSE sources *.cpp)
|
||||
file(GLOB_RECURSE headers *.h)
|
||||
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
file(GLOB mac_sources *.mm)
|
||||
list(APPEND sources ${mac_sources})
|
||||
if(APPLE)
|
||||
set (platform_sources
|
||||
OSXHelpers.h
|
||||
OSXHelpers.mm
|
||||
)
|
||||
endif()
|
||||
|
||||
# generated includes
|
||||
include_directories(${PROJECT_BINARY_DIR}/config)
|
||||
|
||||
add_library(${target} STATIC ${sources} ${headers})
|
||||
add_library(${target} STATIC
|
||||
${platform_sources}
|
||||
byte_utils.h
|
||||
constants.h
|
||||
diagnostic.cpp
|
||||
diagnostic.h
|
||||
dotenv.cpp
|
||||
dotenv.h
|
||||
env_vars.h
|
||||
Logger.cpp
|
||||
Logger.h
|
||||
messages.cpp
|
||||
messages.h
|
||||
paths.h
|
||||
string_utils.h
|
||||
style_utils.h
|
||||
styles.h
|
||||
config/AppConfig.cpp
|
||||
config/AppConfig.h
|
||||
config/ConfigScopes.cpp
|
||||
config/ConfigScopes.h
|
||||
config/ElevateMode.h
|
||||
config/IAppConfig.h
|
||||
config/IConfigScopes.h
|
||||
config/IServerConfig.h
|
||||
config/Screen.cpp
|
||||
config/Screen.h
|
||||
config/ScreenConfig.cpp
|
||||
config/ScreenConfig.h
|
||||
config/ScreenList.cpp
|
||||
config/ScreenList.h
|
||||
config/ServerConfigDialogState.h
|
||||
core/ClientConnection.cpp
|
||||
core/ClientConnection.h
|
||||
core/CommandProcess.cpp
|
||||
core/CommandProcess.h
|
||||
core/CoreProcess.cpp
|
||||
core/CoreProcess.h
|
||||
core/CoreTool.cpp
|
||||
core/CoreTool.h
|
||||
core/ServerConnection.cpp
|
||||
core/ServerConnection.h
|
||||
core/ServerMessage.cpp
|
||||
core/ServerMessage.h
|
||||
core/WaylandWarnings.cpp
|
||||
core/WaylandWarnings.h
|
||||
ipc/IpcReader.cpp
|
||||
ipc/IpcReader.h
|
||||
ipc/IQIpcClient.cpp
|
||||
ipc/IQIpcClient.h
|
||||
ipc/QDataStreamProxy.h
|
||||
ipc/QIpcClient.cpp
|
||||
ipc/QIpcClient.h
|
||||
proxy/QNetworkAccessManagerProxy.cpp
|
||||
proxy/QNetworkAccessManagerProxy.h
|
||||
proxy/QProcessProxy.cpp
|
||||
proxy/QProcessProxy.h
|
||||
proxy/QSettingsProxy.cpp
|
||||
proxy/QSettingsProxy.h
|
||||
tls/TlsCertificate.cpp
|
||||
tls/TlsCertificate.h
|
||||
tls/TlsFingerprint.cpp
|
||||
tls/TlsFingerprint.h
|
||||
tls/TlsUtility.cpp
|
||||
tls/TlsUtility.h
|
||||
validators/AliasValidator.cpp
|
||||
validators/AliasValidator.h
|
||||
validators/ComputerNameValidator.cpp
|
||||
validators/ComputerNameValidator.h
|
||||
validators/EmptyStringValidator.cpp
|
||||
validators/EmptyStringValidator.h
|
||||
validators/IStringValidator.cpp
|
||||
validators/IStringValidator.h
|
||||
validators/LineEditValidator.cpp
|
||||
validators/LineEditValidator.h
|
||||
validators/ScreenDuplicationsValidator.cpp
|
||||
validators/ScreenDuplicationsValidator.h
|
||||
validators/ScreenNameValidator.cpp
|
||||
validators/ScreenNameValidator.h
|
||||
validators/SpacesValidator.cpp
|
||||
validators/SpacesValidator.h
|
||||
validators/ValidationError.cpp
|
||||
validators/ValidationError.h
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
${target}
|
||||
|
||||
Reference in New Issue
Block a user