Skip to content
This repository
Newer
Older
100644 123 lines (102 sloc) 4.281 kb
6ccb657c » Troy Straszheim
2012-01-07 use new catkin env hooks
1 #
014c3053 » Troy D. Straszheim
2011-10-26 licensy stuff
2 # Copyright (c) 2011, Willow Garage, Inc.
3 # All rights reserved.
6ccb657c » Troy Straszheim
2012-01-07 use new catkin env hooks
4 #
014c3053 » Troy D. Straszheim
2011-10-26 licensy stuff
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are met:
7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above copyright
10 # notice, this list of conditions and the following disclaimer in the
11 # documentation and/or other materials provided with the distribution.
12 # * Neither the name of the Willow Garage, Inc. nor the names of its
13 # contributors may be used to endorse or promote products derived from
14 # this software without specific prior written permission.
6ccb657c » Troy Straszheim
2012-01-07 use new catkin env hooks
15 #
014c3053 » Troy D. Straszheim
2011-10-26 licensy stuff
16 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
20 # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21 # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22 # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 # POSSIBILITY OF SUCH DAMAGE.
6ccb657c » Troy Straszheim
2012-01-07 use new catkin env hooks
27 #
0a7c5dfc » straszheim
2010-08-26 first
28 cmake_minimum_required(VERSION 2.8)
1b58eb96 » ethanrublee
2011-03-11 adding plasm.
29 project(ecto)
e919e9f8 » ethanrublee
2012-01-03 Catkinizing ecto.
30 find_package(catkin REQUIRED)
a383a684 » vrabaud
2012-03-01 generate the boost config file automatically as it's supposed to be
31 catkin_stack()
e919e9f8 » ethanrublee
2012-01-03 Catkinizing ecto.
32
705b7ece » vrabaud
2012-04-14 have catkin handle the Python install and make sure the tests pass
33 # configure and install Python
34 catkin_python_setup()
35
36
8b1beffd » ethanrublee
2012-01-13 Fixing env stuff for catkin.
37 set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
38 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
39 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
40
41
5bc3ae0a » ethanrublee
2011-10-09 Standalone docs checkpoint. Modules are working again.
42 set(${PROJECT_NAME}_GITHUB_URL https://github.com/plasmodic/ecto)
08e12656 » Troy D. Straszheim
2011-07-25 meaningless commit
43
fb843e9f » Troy D. Straszheim
2011-09-26 Horrible hacks to get pretty formatting of exception diagnostics
44 option(ECTO_TRACE_EXCEPTIONS "Trace ecto exceptions to stdout" OFF)
45
8b8794a2 » Troy Straszheim
2011-10-22 working on this race condition... random waits, stress test mode
46 option(ECTO_STRESS_TEST "Stress testing of ecto" OFF)
6eb5a223 » Troy Straszheim
2012-01-31 more
47 if(ECTO_STRESS_TEST)
48 message("ECTO_STRESS_TEST is ON")
49 endif()
8b8794a2 » Troy Straszheim
2011-10-22 working on this race condition... random waits, stress test mode
50
f799ea44 » Troy Straszheim
2011-10-20 chasing race conditions
51 if (CMAKE_BUILD_TYPE STREQUAL "Debug")
8b8794a2 » Troy Straszheim
2011-10-22 working on this race condition... random waits, stress test mode
52 option(ECTO_LOGGING "Ecto logging" ON)
53 else()
54 option(ECTO_LOGGING "Ecto logging" OFF)
f799ea44 » Troy Straszheim
2011-10-20 chasing race conditions
55 endif()
56
1534e6b9 » Troy Straszheim
2011-10-24 coloriffic graphs. This is a checkpoint commit, I've just made a
57 option(ECTO_WITH_INSTRUMENTATION "Instrument schedulers (for debugging)" OFF)
58
e919e9f8 » ethanrublee
2012-01-03 Catkinizing ecto.
59 #set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
60 #set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
61 list(APPEND CMAKE_MODULE_PATH ${ecto_SOURCE_DIR}/cmake)
8edec7a5 » Troy Straszheim
2011-03-11 BA *BANG*
62
9c97156b » vrabaud
2012-03-14 make sure ecto itself uses the RPATH fix for Electric
63 include(cmake/ros_electric.cmake)
e919e9f8 » ethanrublee
2012-01-03 Catkinizing ecto.
64 #include(cmake/buildtype.cmake)
5d2fa737 » ethanrublee
2011-09-23 Moving some stuff around in CMake so i can think.
65 include(cmake/version.cmake)
66 include(cmake/git.cmake)
67 include(cmake/ectoMacros.cmake)
3a4ece7b » Troy Straszheim
2011-09-26 Attempt to diagnose strange problems on lucid. No idea if this will w…
68 include(cmake/boost.cmake)
7425aca1 » Troy D. Straszheim
2011-09-26 fix link errors provoked by having boost before FindDeps
69 include(cmake/ectoFindDeps.cmake)
5d2fa737 » ethanrublee
2011-09-23 Moving some stuff around in CMake so i can think.
70 include(cmake/config.cmake)
29f3019c » ethanrublee
2011-10-09 Working towards standalone docs for client projects.
71 include(cmake/doc.cmake)
f8aa86ae » ethanrublee
2011-07-17 More declspec.
72
705b7ece » vrabaud
2012-04-14 have catkin handle the Python install and make sure the tests pass
73 set_ecto_install_package_name(ecto)
5d2fa737 » ethanrublee
2011-09-23 Moving some stuff around in CMake so i can think.
74 git_status(ecto)
33398c21 » Troy Straszheim
2011-08-03 undo libecto -> libecto_cpp on linux, pending real windows fixes that
75
5d2fa737 » ethanrublee
2011-09-23 Moving some stuff around in CMake so i can think.
76 include_directories(include)
d56d66e3 » Troy D. Straszheim
2011-10-14 scheduler overhaul
77 include_directories(src/lib)
95293b6f » vrabaud
2012-04-30 fix the new includes that are actually not handled by catkin (because…
78 include_directories(${CMAKE_BINARY_DIR}/gen/cpp/)
79 install(DIRECTORY ${CMAKE_BINARY_DIR}/gen/cpp/ecto/
80 DESTINATION include/ecto
81 COMPONENT main
82 )
83
84
c92699f8 » Troy Straszheim
2011-04-13 reorg things a bit for cleanliness
85 add_subdirectory(src)
50cdefa3 » ethanrublee
2011-07-02 Refactoring and cmake doc targets. Module -> Cell. #57
86 add_subdirectory(cmake)
5d2fa737 » ethanrublee
2011-09-23 Moving some stuff around in CMake so i can think.
87 add_subdirectory(python)
8e656b59 » ethanrublee
2011-10-09 Make the docs optional.
88
2a31a155 » vrabaud
2012-04-20 try to bring back the sphinx macro
89 set(ecto_SPHINX_DIR ${CMAKE_CURRENT_SOURCE_DIR}/python/ecto/sphinx)
90 ecto_sphinx(${CMAKE_CURRENT_SOURCE_DIR}/doc/kitchen)
b68d5249 » Troy Straszheim
2012-02-02 docs
91
8e656b59 » ethanrublee
2011-10-09 Make the docs optional.
92 option(BUILD_DOC "Build docs, this will build tests and samples as well." ON)
93 if(BUILD_DOC)
94 set(BUILD_TEST ON CACHE BOOL "Tests must be built if docs are expected to build." FORCE)
95 set(BUILD_SAMPLES ON CACHE BOOL "Samples must be built if docs are expected to build." FORCE)
96 add_subdirectory(doc)
e2e77f3d » vrabaud
2012-03-22 safer bin checking
97 find_package(catkin-sphinx QUIET)
98 if (catkin-sphinx_FOUND)
99 catkin_sphinx(${CMAKE_CURRENT_SOURCE_DIR}/doc/source doc
100 ${CMAKE_CURRENT_SOURCE_DIR}
101 ${CMAKE_CURRENT_SOURCE_DIR}/samples
102 )
103 endif()
8e656b59 » ethanrublee
2011-10-09 Make the docs optional.
104 endif()
9622df43 » ethanrublee
2011-08-12 Adding tutorials to docs, still needs work.
105
94e42378 » Troy D. Straszheim
2011-06-02 Merge branch 'master' of github.com:ethanrublee/ecto
106 option(BUILD_TEST "Build tests" ON)
cc0f3811 » ethanrublee
2011-05-31 Adding unit tests to CMakeLists.txt
107 if(BUILD_TEST)
2de8b0db » Troy D. Straszheim
2011-06-03 nosetests -> ctest
108 enable_testing()
94e42378 » Troy D. Straszheim
2011-06-02 Merge branch 'master' of github.com:ethanrublee/ecto
109 add_subdirectory(test)
cc0f3811 » ethanrublee
2011-05-31 Adding unit tests to CMakeLists.txt
110 endif()
94e42378 » Troy D. Straszheim
2011-06-02 Merge branch 'master' of github.com:ethanrublee/ecto
111
112 option(BUILD_SAMPLES "Build samples." ON)
cc0f3811 » ethanrublee
2011-05-31 Adding unit tests to CMakeLists.txt
113 if(BUILD_SAMPLES)
94e42378 » Troy D. Straszheim
2011-06-02 Merge branch 'master' of github.com:ethanrublee/ecto
114 add_subdirectory(samples)
cc0f3811 » ethanrublee
2011-05-31 Adding unit tests to CMakeLists.txt
115 endif()
b7fda365 » Troy D. Straszheim
2011-10-18 work work
116
1bf9bdb6 » vrabaud
2012-05-15 add PythonLibs dependency
117 catkin_project(ecto INCLUDE_DIRS include
118 LIBRARIES ecto
119 DEPENDS PythonLibs
120 CFG_EXTRAS ecto-extras.cmake
e919e9f8 » ethanrublee
2012-01-03 Catkinizing ecto.
121 )
6ccb657c » Troy Straszheim
2012-01-07 use new catkin env hooks
122
b68d5249 » Troy Straszheim
2012-02-02 docs
123 catkin_doxygen(ecto-doxygen ${CMAKE_CURRENT_SOURCE_DIR}/include)
Something went wrong with that request. Please try again.