69 lines
1.2 KiB
CMake
Executable File
69 lines
1.2 KiB
CMake
Executable File
#
|
|
# $Id$
|
|
# $HeadURL$
|
|
# $Author:
|
|
#
|
|
|
|
ADD_SUBDIRECTORY(BSM)
|
|
ADD_SUBDIRECTORY(Json)
|
|
ADD_SUBDIRECTORY(VWM)
|
|
ADD_SUBDIRECTORY(ControlEffects)
|
|
|
|
SET(bcc_SRCS
|
|
bcu_types.h
|
|
bcu_xml_reader.cpp
|
|
bcu_xml_reader.h
|
|
logger.cpp
|
|
logger.h
|
|
settings.cpp
|
|
settings.h
|
|
web_socket_telegrams.cpp
|
|
web_socket_telegrams.h
|
|
)
|
|
|
|
SET(bc_SRCS
|
|
main.cpp
|
|
main_handler.cpp
|
|
main_handler.h
|
|
handle_http_request.cpp
|
|
handle_http_request.h
|
|
)
|
|
|
|
NGL_ADD_LIBRARY2(AAR SV BuildingControlCommon SHARED ${bcc_SRCS})
|
|
NGL_TARGET_LINK_LIBRARIES(BuildingControlCommon
|
|
PRIVATE
|
|
Qt5::Xml
|
|
nglsettings
|
|
ngltools
|
|
PUBLIC
|
|
NGLLogger
|
|
Qt5::Core
|
|
LtsUtilsCoreHeaderOnly
|
|
)
|
|
NGL_TARGET_INCLUDE_DIRECTORIES(BuildingControlCommon
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|
|
|
|
NGL_ADD_EXECUTABLE(AAR SV BuildingControlUnit ${bc_SRCS})
|
|
NGL_TARGET_LINK_LIBRARIES(BuildingControlUnit
|
|
Qt5::Core
|
|
Qt5::WebSockets
|
|
# Qt5::Test
|
|
Qt5::Xml
|
|
Qt5::Network
|
|
Qt5::Concurrent
|
|
BuildingControlBsm
|
|
BuildingControlCommon
|
|
BuildingControlJson
|
|
BuildingControlVwm
|
|
ControlEffects
|
|
LtsCommandLineParser
|
|
nglcoreapplication
|
|
)
|
|
|
|
NGL_INSTALL_TARGET(BuildingControlUnit)
|
|
|
|
NGL_INSTALL(AAR SV FILES log4cxx_bcu.props DESTINATION bin)
|
|
|