Last active
December 20, 2019 11:43
-
-
Save roman-smirnov/037d293709b38f5f1739292522eb8ae5 to your computer and use it in GitHub Desktop.
CMakeLists.txt Release build with compiler optimizations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.12 FATAL_ERROR) | |
project(3d-tracking-fusion) | |
set(CMAKE_CXX_STANDARD 14) | |
find_package(OpenCV 4.1 REQUIRED) | |
set(CMAKE_BUILD_TYPE Release) | |
set(CMAKE_CXX_FLAGS_RELEASE "-Ofast") | |
add_executable (3d_tracking src/camFusion.cpp src/FinalProject_Camera.cpp src/lidarData.cpp src/matching2D.cpp src/objectDetection2D.cpp) | |
target_include_directories(3d_tracking PRIVATE ${OpenCV_INCLUDE_DIRS}) | |
target_link_directories(3d_tracking PRIVATE ${OpenCV_LIBRARY_DIRS}) | |
target_link_libraries (3d_tracking PRIVATE ${OpenCV_LIBRARIES}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment