File: CMakeLists.txt

package info (click to toggle)
open3d 0.9.0%2Bds-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 101,800 kB
  • sloc: cpp: 65,788; ansic: 6,818; python: 5,593; sh: 906; javascript: 213; makefile: 195; ruby: 52
file content (18 lines) | stat: -rw-r--r-- 484 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
function(ShowAndAbortOnWarning trgt)
  if(MSVC)
    # target_compile_options(${trgt} PRIVATE /W4 /WX)
    target_compile_options(${trgt} PRIVATE /W3)
  else()
    # target_compile_options(${trgt} PRIVATE -Wall -Wextra -Werror)
    target_compile_options(${trgt} PRIVATE -Wall -Werror)
  endif()
endfunction()

add_subdirectory(Open3D)
add_subdirectory(Tools)
if (BUILD_UNIT_TESTS)
    add_subdirectory(UnitTest)
endif ()
if (BUILD_PYTHON_MODULE)
    add_subdirectory(Python)
endif ()