Permalink
Browse files

Refactoring cmake

  • Loading branch information...
pjotrp committed Apr 5, 2009
1 parent 7b37821 commit 66a670b337f6d1e180dea3d1c1d7ff5e24604a98
Showing with 14 additions and 14 deletions.
  1. +7 −7 cmake_modules/FindMapPython.cmake
  2. +7 −7 cmake_modules/FindMapRuby.cmake
@@ -1,4 +1,4 @@
-# - Find BioLib for PYTHON settings
+# - Find PYTHON settings
#
# Expects M_NAME, M_VERSION to be set!
#
@@ -9,27 +9,27 @@
# info (not recommended as all C headers are pulled in too)
# USE_RLIB - link the R libraries
# USE_ZLIB - link Zlib
-# USE_BIOLIBCORE - link the core lib
+# USE_CORE - link the core lib
SET (M_MODULE ${M_NAME})
message("Creating Python module ${M_MODULE} (${M_VERSION})")
message("CMAKE_MODULE_PATH=" ${CMAKE_MODULE_PATH})
-FIND_PACKAGE(BioLib REQUIRED)
+FIND_PACKAGE(Map REQUIRED)
FIND_PACKAGE(PythonLibs REQUIRED)
# ---- Setting the default PYTHON include path
INCLUDE_DIRECTORIES(${PYTHON_INCLUDE_PATH})
# SET (PYTHON_LIB_PATH ${PYTHON_LIBRARY})
-FIND_PACKAGE(BioLibModule REQUIRED)
-FIND_PACKAGE(BioLibLibraries REQUIRED)
+FIND_PACKAGE(MapModule REQUIRED)
+FIND_PACKAGE(MapLibraries REQUIRED)
SET (USE_LANGUAGE "Python")
SET (USE_LANGUAGE_LIBRARY ${PYTHON_LIBRARY})
-# SET (USE_SWIG_FLAGS ";-prefix;'biolib::'")
+# SET (USE_SWIG_FLAGS ";-prefix;'${MAP_projectname}::'")
-FIND_PACKAGE(BioLibSWIG REQUIRED)
+FIND_PACKAGE(MapSWIG REQUIRED)
MESSAGE( STATUS "PYTHON_LIB_PATH=${PYTHON_LIB_PATH}")
@@ -1,4 +1,4 @@
-# - Find BioLib for Ruby settings
+# - Find Ruby settings
#
# Expects M_NAME, M_VERSION to be set!
#
@@ -9,26 +9,26 @@
# info (not recommended as all C headers are pulled in too)
# USE_RLIB - link the R libraries
# USE_ZLIB - link Zlib
-# USE_BIOLIBCORE - link the core lib
+# USE_CORE - link the core lib
SET (M_MODULE ${M_NAME})
message("Creating Ruby module ${M_MODULE} (${M_VERSION})")
-FIND_PACKAGE(BioLib REQUIRED)
+FIND_PACKAGE(Map REQUIRED)
FIND_PACKAGE(Ruby REQUIRED)
# ---- Setting the default Ruby include path
INCLUDE_DIRECTORIES(${RUBY_INCLUDE_PATH})
SET (RUBY_LIB_PATH ${RUBY_INCLUDE_PATH})
-FIND_PACKAGE(BioLibModule REQUIRED)
-FIND_PACKAGE(BioLibLibraries REQUIRED)
+FIND_PACKAGE(MapModule REQUIRED)
+FIND_PACKAGE(MapLibraries REQUIRED)
SET (USE_LANGUAGE "ruby")
SET (USE_LANGUAGE_LIBRARY ${RUBY_LIBRARY})
-SET (USE_SWIG_FLAGS ";-prefix;'biolib::'")
+SET (USE_SWIG_FLAGS ";-prefix;'${MAP_projectname}::'")
-FIND_PACKAGE(BioLibSWIG REQUIRED)
+FIND_PACKAGE(MapSWIG REQUIRED)
MESSAGE( STATUS "RUBY_LIB_PATH=${RUBY_LIB_PATH}")

0 comments on commit 66a670b

Please sign in to comment.