mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-16 08:56:51 +01:00
Add Gateway build script.
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -11,19 +11,20 @@
|
||||
# http://www.eclipse.org/org/documents/edl-v10.php.
|
||||
#
|
||||
# Contributors:
|
||||
# a1lu - initial version
|
||||
# a1lu - initial version
|
||||
# ty4tw - modify
|
||||
#*******************************************************************************/
|
||||
PROJECT(mqtt-sn-gateway CXX)
|
||||
|
||||
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Build)
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/../bin)
|
||||
SET(CMAKE_CXX_STANDARD 11)
|
||||
|
||||
SET(OS linux)
|
||||
|
||||
if(NOT DEFINED SENSORNET)
|
||||
set(SENSORNET udp)
|
||||
endif()
|
||||
message(STATUS "SENSORNET: " ${SENSORNET})
|
||||
IF(NOT DEFINED SENSORNET)
|
||||
SET(SENSORNET udp)
|
||||
ENDIF()
|
||||
MESSAGE(STATUS "SENSORNET: " ${SENSORNET})
|
||||
|
||||
ADD_LIBRARY(mqtt-sngateway_common
|
||||
MQTTGWConnectionHandler.cpp
|
||||
|
||||
Reference in New Issue
Block a user