[openrtm-commit:00149] r2160 - trunk/OpenRTM-aist/win32/OpenRTM-aist/cmake
openrtm @ openrtm.org
openrtm @ openrtm.org
2011年 6月 3日 (金) 19:56:20 JST
Author: n-ando
Date: 2011-06-03 19:56:20 +0900 (Fri, 03 Jun 2011)
New Revision: 2160
Added:
trunk/OpenRTM-aist/win32/OpenRTM-aist/cmake/Makefile.am
trunk/OpenRTM-aist/win32/OpenRTM-aist/cmake/cmake.yaml
Log:
Makefile.am and cmake.yaml has been added under win32 cmake dir.
Added: trunk/OpenRTM-aist/win32/OpenRTM-aist/cmake/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/win32/OpenRTM-aist/cmake/Makefile.am (rev 0)
+++ trunk/OpenRTM-aist/win32/OpenRTM-aist/cmake/Makefile.am 2011-06-03 10:56:20 UTC (rev 2160)
@@ -0,0 +1,84 @@
+## -*- Makefile -*-
+##---------------------------------------------------------------------------
+## Makefile for cmake: creating OpenRTM-aist's FindOpenRTM.cmake for cmake
+##
+## $Id$
+##---------------------------------------------------------------------------
+#
+# CMake's OpenRTMFind.cmake installation diretories
+#
+# * for the Windows systems
+# <prefix>/ (W)
+# <prefix>/(cmake|CMake)/ (W)
+# <prefix>/<name>*/ (W)
+# <prefix>/<name>*/(cmake|CMake)/ (W)
+#
+# * for the UNIX systems
+# <prefix>/(share|lib)/cmake/<name>*/ (U)
+# <prefix>/(share|lib)/<name>*/ (U)
+# <prefix>/(share|lib)/<name>*/(cmake|CMake)/ (U)
+#
+# In Mac OS X with MacPorts, <prefix> might be /opt/local. (not confirmed)
+# And on systems supporting OS X Frameworks and Application Bundles
+# the following directories are searched for frameworks or bundles
+# containing a configuration file:
+#
+# * for Mac OS X with frameworks and Application Bundles
+# <prefix>/<name>.framework/Resources/ (A)
+# <prefix>/<name>.framework/Resources/CMake/ (A)
+# <prefix>/<name>.framework/Versions/*/Resources/ (A)
+# <prefix>/<name>.framework/Versions/*/Resources/CMake/ (A)
+# <prefix>/<name>.app/Contents/Resources/ (A)
+# <prefix>/<name>.app/Contents/Resources/CMake/ (A)
+#
+# for the OpenRTM-aist
+#
+# Windows:
+# <prefix>/<name>*/cmake: C:/Progam Files/OpenRTM-aist/1.1/cmake
+# UNIX:
+# <prefix>/share/<name>*/cmake: /usr/share/openrtm-1.1/cmake
+# Mac OS X
+# <prefix>/share/<name>*/cmake: /opt/local/share/openrtm-1.1/cmake
+#
+# Users' CMakeList.txt just only use the following find_package() command
+# find_package(OpenRTM-aist ....)
+# ^^^^^^^^^^^^ cmake handle <name> case-insensitively
+#
+#
+#
+# testing find_package ability
+#
+# Windows)
+# configfile: C:\Program Files\OpenRTM-aist\1.1\cmake\
+# directives:
+# find_package(OpenRTM CONFIGS OpenRTMConfig.cmake): OK
+# find_package(openrtm CONFIGS OpenRTMConfig.cmake): OK
+# find_package(OpenRTM-aist CONFIGS OpenRTMConfig.cmake): OK
+# find_package(openrtm-aist CONFIGS OpenRTMConfig.cmake): OK
+#
+# UNIX)
+# configfile: /usr/share/openrtm-1.1/cmake/OpenRTMConfig.cmake
+# directives:
+# find_package(openrtm CONFIGS OpenRTMConfig.cmake): OK
+# find_package(OpenRTM CONFIGS OpenRTMConfig.cmake): OK
+# find_package(OpenRTM-aist CONFIGS OpenRTMConfig.cmake): NG
+# find_package(openrtm-aist CONFIGS OpenRTMConfig.cmake): NG
+# find_package(OpenRTM-aist CONFIGS OpenRTMConfig.cmake NAMES openrtm): OK
+# find_package(openrtm-aist CONFIGS OpenRTMConfig.cmake NAMES openrtm): OK
+#
+
+clean-local:
+ rm -f OpenRTMConfig.cmake
+ rm -rf *~
+
+wxs:
+ cp -p cmake.yaml ../installer/cmake.yaml
+
+FindOpenRTM.cmake:
+ cp $(top_srcdir)/utils/cmake/FindOpenRTM.cmake .
+
+dist-hook: clean-local FindOpenRTM.cmake wxs
+
+EXTRA_DIST = \
+ FindOpenRTM.cmake \
+ cmake.yaml
Added: trunk/OpenRTM-aist/win32/OpenRTM-aist/cmake/cmake.yaml
===================================================================
--- trunk/OpenRTM-aist/win32/OpenRTM-aist/cmake/cmake.yaml (rev 0)
+++ trunk/OpenRTM-aist/win32/OpenRTM-aist/cmake/cmake.yaml 2011-06-03 10:56:20 UTC (rev 2160)
@@ -0,0 +1,13 @@
+Cmake:
+ GUID: 1E25EFF6-8C7C-11E0-9306-000C290BB873
+ Files:
+ - Id: Cmake000
+ ShortName: findopen.cma
+ Name: FindOpenRTM.cmake
+ Source: ..\\cmake\\FindOpenRTM.cmake
+ - Id: Cmake001
+ ShortName: rtm_c000.cma
+ Name: rtm_config.cmake
+ Source: ..\\rtm_config.cmake
+
+
openrtm-commit メーリングリストの案内