Skip to content

Commit

Permalink
Added custom PLICP which uses Open Karto
Browse files Browse the repository at this point in the history
  • Loading branch information
nepython committed Feb 14, 2021
1 parent 1f1d7e6 commit dee783e
Show file tree
Hide file tree
Showing 427 changed files with 46,207 additions and 0 deletions.
29 changes: 29 additions & 0 deletions csm/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
CTestTestfile.cmake
CMakeCache.txt
Makefile
CMakeFiles
sm/log2pdf
sm/pkg-config/cmake_install.cmake
sm/pkg-config/csm.pc
sm/json2carmen
sm/json2matlab
sm/json_decimate
sm/json_extract
sm/json_extract_field
sm/json_pipe
sm/json_split
cmake_install.cmake
install_manifest.txt
sm/carmen2json
sm/lib/egsl/egsl_test
sm/lib/egsl/egsl_test_allocation
sm/lib/gpc/libgpc.a
sm/lib/json-c/config.hsm/lib/json-c/libjson-c.a
sm/lib/json-c/test2
sm/lib/options/liboptions.a
sm/lib/options/test_options
sm/libcsm-static.a
sm/libcsm.dylib
sm/lib/egsl/libegsl.a
sm/lib/json-c/config.h
sm/lib/json-c/libjson-c.a
Binary file added csm/2008-icra-plicp-slides.pdf
Binary file not shown.
34 changes: 34 additions & 0 deletions csm/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
cmake_minimum_required(VERSION 2.4)
cmake_policy(SET CMP0004 OLD)
SET(local_prefix "local_config/local-")
FIND_PROGRAM(HOSTNAME hostname PATHS $ENV{PATH})
IF(HOSTNAME)
# TODO: hostname does not accept -s on cygwin
IF(CYGWIN OR WIN32)
SET(hostname_params "")
ELSE(CYGWIN OR WIN32)
SET(hostname_params "-s")
ENDIF(CYGWIN OR WIN32)

EXEC_PROGRAM(${HOSTNAME} ARGS ${hostname_params} OUTPUT_VARIABLE host)

SET(local "${local_prefix}${host}.cmake")

SET(extension "$ENV{CSM_CONF}")
IF(extension)
SET(local "${local_prefix}${host}-${extension}.cmake")
ENDIF(extension)

IF(EXISTS ${local})
MESSAGE(STATUS "Including local configuration ${local}.")
INCLUDE(${local})
ELSE(EXISTS ${local})
MESSAGE(STATUS "Create a file named '${local}' if you want to add options.")
ENDIF(EXISTS ${local})
ELSE(HOSTNAME)
MESSAGE(STATUS "Program `hostname` not found. (don't worry)")
ENDIF(HOSTNAME)


ENABLE_TESTING()
SUBDIRS(sm)
Loading

0 comments on commit dee783e

Please sign in to comment.