Update CMakeLists.txt

This commit is contained in:
ChengYang 2020-09-27 20:15:50 +08:00 committed by GitHub
parent f74c51f9b0
commit 7d61976cb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,3 +60,10 @@ add_executable(cyrobot_monitor ${QT_SOURCES} ${QT_RESOURCES_CPP} ${QT_FORMS_HPP}
target_link_libraries(cyrobot_monitor ${QT_LIBRARIES} ${catkin_LIBRARIES})
install(TARGETS cyrobot_monitor RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
#debug
#SET(CMAKE_BUILD_TYPE "Debug")
#release
#SET(CMAKE_BUILD_TYPE "Release")
#debugrelease
#SET(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -O0 -Wall -g -ggdb")
#SET(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} -O3 -Wall")