Commit 927308bf authored by Holger Witsch's avatar Holger Witsch
Browse files

delete unnessecary file

parent 7072405d
Pipeline #62429 failed with stages
in 8 seconds
#=============================================================================
#
# file : CMakeLists.txt
#
# description : File to generate a TANGO device server using cmake.
#
# project : EUROTHERMServer
#
#=============================================================================
# This file is generated by POGO
# (Program Obviously used to Generate tango Object)
#=============================================================================
#
#
cmake_minimum_required (VERSION 2.8...3.21)
set(CMAKE_SKIP_RPATH true)
#
# Project definitions
#
project(EUROTHERM2400)
set(RELDIR .)
#
# Files for Serial TANGO class
#
#------------ Inheritance from Serial class ------------
set(SERIAL_PATH ${RELDIR}/serial/classes/Serial/src)
set(SERIAL_INCLUDE ${RELDIR}/serial/classes/Serial/include)
set(SERIAL_SRC ${SERIAL_PATH}/Serial.cpp ${SERIAL_PATH}/SerialClass.cpp ${SERIAL_PATH}/SerialStateMachine.cpp)
#
# Files for Modbus TANGO class
#
#------------ Inheritance from Modbus class ------------
set(MODBUS_PATH ${RELDIR}/modbus/classes/Modbus/src)
set(MODBUS_INCLUDE ${RELDIR}/modbus/classes/Modbus/include)
set(MODBUS_SRC ${MODBUS_PATH}/Modbus.cpp ${MODBUS_PATH}/ModbusClass.cpp ${MODBUS_PATH}/ModbusStateMachine.cpp)
# Files for EUROTHERM TANGO class
#
set(EUROTHERM Eurotherm2400)
set(EUROTHERM_PATH ${RELDIR})
set(EUROTHERM_INCLUDE ${RELDIR})
set(EUROTHERM_SRC ${EUROTHERM_PATH}/${EUROTHERM}.cpp
${EUROTHERM_PATH}/${EUROTHERM}Class.cpp
${EUROTHERM_PATH}/ClassFactory.cpp
${EUROTHERM_PATH}/${EUROTHERM}StateMachine.cpp
)
#
# User additional include, link folders/libraries and source files
#
set(USER_INCL_DIR ../_build_env/include ../_build_env/include/tango)
set(USER_LIB_DIR )
set(USER_LIBS )
set(USER_SRC_FILES )
set(TANGO_LIBS tango COS4 omniORB4 omniDynamic4 omnithread zmq dl pthread)
#
# Compiler and linker flags
#
#~ set(CXXFLAGS_USER ${TANGO_INCLUDES})
set(C++11_FLAGS "-std=c++0x")
set(CMAKE_CXX_FLAGS "${CXXFLAGS_USER} ${CMAKE_CXX_FLAGS} ${C++11_FLAGS}")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS}")
SET(CMAKE_CXX_COMPILER c++)
#
# Set gloabal info and include directories
#
set(ALL_CLASS_INCLUDE ${SERIAL_INCLUDE} ${MODBUS_INCLUDE} ${EUROTHERM_INCLUDE} )
set(SERVER_SRC ${SERIAL_SRC} ${MODBUS_SRC} ${EUROTHERM_SRC} ${USER_SRC_FILES}
${EUROTHERM_PATH}/main.cpp
)
include_directories(${ALL_CLASS_INCLUDE} ${USER_INCL_DIR} ${TANGO_INCLUDES})
#
# Device Server generation
#
set(SERVER_NAME Eurotherm2400)
#
# Compile and link
#
message("SERVER_NAME=${SERVER_NAME}")
message("SERVER_SRC=${SERVER_SRC}")
add_executable(${SERVER_NAME} ${SERVER_SRC})
target_link_libraries(${SERVER_NAME} ${USER_LIBS} ${TANGO_LIBS})
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment