add_executable(bridge_setup BridgeSetup.cpp ) set_property(TARGET bridge_setup PROPERTY CXX_STANDARD 14) set_property(TARGET bridge_setup PROPERTY CXX_EXTENSIONS OFF) target_link_libraries(bridge_setup hueplusplusstatic) add_executable(lights_off LightsOff.cpp ) set_property(TARGET lights_off PROPERTY CXX_STANDARD 14) set_property(TARGET lights_off PROPERTY CXX_EXTENSIONS OFF) target_link_libraries(lights_off hueplusplusstatic) add_custom_target(hueplusplus_examples) add_dependencies(hueplusplus_examples bridge_setup lights_off)