Page MenuHomePhorge

CMakeLists.txt
No OneTemporary

Size
613 B
Referenced Files
None
Subscribers
None

CMakeLists.txt

# Allow exceptions for cxxopts and paho.mqtt.cpp by removing restricting flag.
if ( ROSA_COMPILER_IS_GCC_COMPATIBLE )
remove("-fno-exceptions" CMAKE_CXX_FLAGS)
endif()
# Allow warnings for paho.mqtt.cpp
if ( ROSA_COMPILER_IS_GCC_COMPATIBLE )
remove("-Werror" CMAKE_CXX_FLAGS)
elseif ( MSVC )
remove("/WX" CMAKE_CXX_FLAGS)
endif()
add_executable(mqtt-client mqtt-client.cpp)
ROSA_add_library_dependencies(mqtt-client ROSAConfig)
ROSA_add_library_dependencies(mqtt-client ROSASupport)
ROSA_add_library_dependencies(mqtt-client paho-mqttpp3)
ROSA_add_library_dependencies(mqtt-client paho-mqttc3::MQTTAsync)

File Metadata

Mime Type
text/plain
Expires
Sun, May 31, 12:03 AM (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
328159
Default Alt Text
CMakeLists.txt (613 B)

Event Timeline