-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add cmake project. Add PCL visualizer.
- Loading branch information
Showing
5 changed files
with
99 additions
and
27 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# Build | ||
fast_raycast/build | ||
fast_raycast/bin | ||
|
||
# AWSRUN | ||
log.awsrun | ||
job_*.tar | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "Linux", | ||
"includePath": [ | ||
"${workspaceFolder}/**" | ||
], | ||
"defines": [], | ||
"compilerPath": "/usr/lib/ccache/gcc", | ||
"cStandard": "c11", | ||
"cppStandard": "c++17", | ||
"intelliSenseMode": "clang-x64", | ||
"compileCommands": "${workspaceFolder}/fast_raycast/build/compile_commands.json", | ||
"configurationProvider": "vector-of-bool.cmake-tools" | ||
} | ||
], | ||
"version": 4 | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
cmake_minimum_required( VERSION 3.0.0 ) | ||
|
||
# Create Project | ||
project( fast_raycast CXX ) | ||
set (CMAKE_CXX_STANDARD 17) | ||
|
||
include_directories(inc) | ||
file(GLOB SOURCES "src/*.cpp") | ||
|
||
add_executable(${PROJECT_NAME} ${SOURCES}) | ||
|
||
# Find Packages | ||
find_package( PCL 1.8 REQUIRED ) | ||
|
||
if( PCL_FOUND ) | ||
# [C/C++]>[General]>[Additional Include Directories] | ||
include_directories( ${PCL_INCLUDE_DIRS} ) | ||
|
||
# [C/C++]>[Preprocessor]>[Preprocessor Definitions] | ||
add_definitions( ${PCL_DEFINITIONS} ) | ||
|
||
# For Use Not PreCompiled Features | ||
# add_definitions( -DPCL_NO_PRECOMPILE ) | ||
|
||
# [Linker]>[General]>[Additional Library Directories] | ||
link_directories( ${PCL_LIBRARY_DIRS} ) | ||
|
||
# [Linker]>[Input]>[Additional Dependencies] | ||
target_link_libraries(${PROJECT_NAME} ${PCL_LIBRARIES}) | ||
endif() | ||
|
||
find_package(Eigen3 3.3 REQUIRED NO_MODULE) | ||
target_link_libraries(${PROJECT_NAME} Eigen3::Eigen) |
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