Permalink
Browse files

first working version and more or less well-documented

  • Loading branch information...
jlblancoc committed Aug 26, 2011
1 parent 2de6eb2 commit 10d947793e41a6f22dbeb01278a956cddcab67d2
Showing with 2,995 additions and 0 deletions.
  1. +37 −0 CMakeLists.txt
  2. +1,679 −0 Doxyfile
  3. BIN doc/logo.png
  4. +4 −0 examples/CMakeLists.txt
  5. +141 −0 examples/pointcloud_example.cpp
  6. +1,134 −0 include/nanoflann.hpp
View
@@ -0,0 +1,37 @@
# ----------------------------------------------------------------------------
# Root CMake file for nanoflann
#
# 2011 - Jose Luis Blanco
# ----------------------------------------------------------------------------
cmake_minimum_required(VERSION 2.6)
PROJECT(nanoflann)
# --------------------------------------------------------------
# Indicate CMake 2.7 and above that we don't want to mix relative
# and absolute paths in lib lists. Run "cmake --help-policy CMP0003" for info
# --------------------------------------------------------------
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)
SET( EXECUTABLE_OUTPUT_PATH ${nanoflann_BINARY_DIR}/bin CACHE PATH "Output directory for programs" )
# Compiler options:
IF(CMAKE_COMPILER_IS_GNUCXX)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -mtune=native ")
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
# Include dir:
INCLUDE_DIRECTORIES(${nanoflann_SOURCE_DIR}/include)
# Examples
add_subdirectory(examples)
# Tests
#add_subdirectory(tests)
Oops, something went wrong.

0 comments on commit 10d9477

Please sign in to comment.