File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2+ index e07dcf4..8d23997 100644
3+ --- a/CMakeLists.txt
4+ +++ b/CMakeLists.txt
5+ @@ -23,13 +23,21 @@ find_package(pcl_conversions REQUIRED)
6+ find_package(tf2_eigen REQUIRED)
7+
8+ # ==== Options ====
9+ - add_compile_options(-Wall -Wextra)
10+ + if(MSVC)
11+ + add_compile_options(/W2)
12+ + add_compile_definitions(NOMINMAX _USE_MATH_DEFINES WIN32_LEAN_AND_MEAN)
13+ + else()
14+ + add_compile_options(-Wall -Wextra)
15+ + endif()
16+ +
17+ if(NOT DEFINED CMAKE_CXX_STANDARD)
18+ set(CMAKE_CXX_STANDARD 17)
19+ set(CMAKE_CXX_STANDARD_REQUIRED ON)
20+ endif()
21+ option(CMAKE_POSITION_INDEPENDENT_CODE "Build position independent code." ON)
22+
23+ + set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
24+ +
25+ set(_ouster_ros_INCLUDE_DIRS
26+ include
27+ ouster-sdk/ouster_client/include
You can’t perform that action at this time.
0 commit comments