Commit d201b08d authored by isucan's avatar isucan
Browse files

minor build system fixes

git-svn-id: https://kforge.ros.org/fcl/fcl_ros@181 253336fb-580f-4252-a368-f3cef5a2a82b
parent e4b40602
cmake_minimum_required(VERSION 2.8)
project(fcl CXX C)
# Set the build type. Options are:
# Coverage : w/ debug symbols, w/o optimization, w/ code-coverage
# Debug : w/ debug symbols, w/o optimization
# Release : w/o debug symbols, w/ optimization
# RelWithDebInfo : w/ debug symbols, w/ optimization
# MinSizeRel : w/o debug symbols, w/ optimization, stripped binaries
set(CMAKE_BUILD_TYPE Release)
set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules")
......@@ -85,5 +78,10 @@ add_subdirectory(src)
set(pkg_conf_file "${CMAKE_CURRENT_SOURCE_DIR}/fcl.pc")
configure_file("${pkg_conf_file}.in" "${pkg_conf_file}" @ONLY)
install(DIRECTORY include/ DESTINATION include FILES_MATCHING PATTERN "*.h")
install(DIRECTORY include/ DESTINATION include
FILES_MATCHING PATTERN "*.h"
PATTERN ".DS_Store" EXCLUDE
PATTERN ".svn" EXCLUDE
)
install(FILES "${pkg_conf_file}" DESTINATION lib/pkgconfig/ COMPONENT pkgconfig)
include $(shell rospack find mk)/cmake.mk
\ No newline at end of file
all:
mkdir -p build
cd build && cmake .. && make
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment