OSDN Git Service

add multimedia_timer
authoro_ggy <o_ggy@users.sourceforge.jp>
Tue, 17 Aug 2010 02:25:12 +0000 (19:25 -0700)
committertomohiro yasutomo <o_ggy@users.sourceforge.jp>
Tue, 17 Aug 2010 02:25:12 +0000 (19:25 -0700)
92 files changed:
TODO.txt
bin/numeric
include/mof/util/multimedia_timer.hpp [new file with mode: 0644]
lib/libmofmath.a
lib/libmofutil.a [new file with mode: 0644]
sample/CMakeLists.txt
sample/build_unix/numeric/CMakeFiles/numeric.dir/CXX.includecache
sample/build_unix/numeric/CMakeFiles/numeric.dir/depend.internal
sample/build_unix/numeric/CMakeFiles/numeric.dir/depend.make
sample/build_unix/numeric/CMakeFiles/numeric.dir/flags.make
sample/build_unix/numeric/CMakeFiles/numeric.dir/link.txt
sample/numeric/CMakeLists.txt
sample/numeric/main.cpp
src/CMakeLists.txt
src/build_unix/CMakeCache.txt
src/build_unix/CMakeFiles/CMakeDirectoryInformation.cmake
src/build_unix/CMakeFiles/CMakeOutput.log
src/build_unix/CMakeFiles/CMakeSystem.cmake
src/build_unix/CMakeFiles/Makefile.cmake
src/build_unix/CMakeFiles/Makefile2
src/build_unix/CMakeFiles/TargetDirectories.txt
src/build_unix/CMakeFiles/progress.marks
src/build_unix/CTestCustom.ctest [deleted file]
src/build_unix/CTestTestfile.cmake
src/build_unix/Makefile
src/build_unix/Testing/Temporary/CTestCostData.txt [deleted file]
src/build_unix/Testing/Temporary/LastTest.log [deleted file]
src/build_unix/Testing/Temporary/LastTestsFailed.log [deleted file]
src/build_unix/cmake_install.cmake
src/build_unix/install_manifest.txt [new file with mode: 0644]
src/build_unix/mof/base/CMakeFiles/CMakeDirectoryInformation.cmake [new file with mode: 0644]
src/build_unix/mof/base/CMakeFiles/progress.marks [new file with mode: 0644]
src/build_unix/mof/base/CTestTestfile.cmake [new file with mode: 0644]
src/build_unix/mof/base/Makefile [new file with mode: 0644]
src/build_unix/mof/base/cmake_install.cmake [new file with mode: 0644]
src/build_unix/mof/math/CMakeFiles/CMakeDirectoryInformation.cmake
src/build_unix/mof/math/CMakeFiles/mofmath.dir/CXX.includecache
src/build_unix/mof/math/CMakeFiles/mofmath.dir/DependInfo.cmake
src/build_unix/mof/math/CMakeFiles/mofmath.dir/build.make
src/build_unix/mof/math/CMakeFiles/mofmath.dir/cmake_clean.cmake
src/build_unix/mof/math/CMakeFiles/mofmath.dir/cmake_clean_target.cmake
src/build_unix/mof/math/CMakeFiles/mofmath.dir/depend.internal
src/build_unix/mof/math/CMakeFiles/mofmath.dir/flags.make
src/build_unix/mof/math/CMakeFiles/mofmath.dir/link.txt
src/build_unix/mof/math/CMakeFiles/vector2_test.dir/CXX.includecache
src/build_unix/mof/math/CMakeFiles/vector2_test.dir/DependInfo.cmake
src/build_unix/mof/math/CMakeFiles/vector2_test.dir/build.make
src/build_unix/mof/math/CMakeFiles/vector2_test.dir/depend.internal
src/build_unix/mof/math/CMakeFiles/vector2_test.dir/depend.make
src/build_unix/mof/math/CMakeFiles/vector2_test.dir/flags.make
src/build_unix/mof/math/CMakeFiles/vector2_test.dir/link.txt
src/build_unix/mof/math/CMakeFiles/vector2_test.dir/progress.make
src/build_unix/mof/math/CMakeFiles/vector3_test.dir/CXX.includecache
src/build_unix/mof/math/CMakeFiles/vector3_test.dir/DependInfo.cmake
src/build_unix/mof/math/CMakeFiles/vector3_test.dir/build.make
src/build_unix/mof/math/CMakeFiles/vector3_test.dir/depend.internal
src/build_unix/mof/math/CMakeFiles/vector3_test.dir/depend.make
src/build_unix/mof/math/CMakeFiles/vector3_test.dir/flags.make
src/build_unix/mof/math/CMakeFiles/vector3_test.dir/link.txt
src/build_unix/mof/math/CMakeFiles/vector3_test.dir/progress.make
src/build_unix/mof/math/CTestTestfile.cmake
src/build_unix/mof/math/Makefile
src/build_unix/mof/math/cmake_install.cmake
src/build_unix/mof/util/CMakeFiles/CMakeDirectoryInformation.cmake [new file with mode: 0644]
src/build_unix/mof/util/CMakeFiles/mofutil.dir/CXX.includecache [new file with mode: 0644]
src/build_unix/mof/util/CMakeFiles/mofutil.dir/DependInfo.cmake [new file with mode: 0644]
src/build_unix/mof/util/CMakeFiles/mofutil.dir/build.make [new file with mode: 0644]
src/build_unix/mof/util/CMakeFiles/mofutil.dir/cmake_clean.cmake [new file with mode: 0644]
src/build_unix/mof/util/CMakeFiles/mofutil.dir/cmake_clean_target.cmake [new file with mode: 0644]
src/build_unix/mof/util/CMakeFiles/mofutil.dir/depend.internal [new file with mode: 0644]
src/build_unix/mof/util/CMakeFiles/mofutil.dir/depend.make [new file with mode: 0644]
src/build_unix/mof/util/CMakeFiles/mofutil.dir/flags.make [new file with mode: 0644]
src/build_unix/mof/util/CMakeFiles/mofutil.dir/link.txt [new file with mode: 0644]
src/build_unix/mof/util/CMakeFiles/mofutil.dir/progress.make [new file with mode: 0644]
src/build_unix/mof/util/CMakeFiles/progress.marks [new file with mode: 0644]
src/build_unix/mof/util/CTestTestfile.cmake [new file with mode: 0644]
src/build_unix/mof/util/Makefile [new file with mode: 0644]
src/build_unix/mof/util/cmake_install.cmake [new file with mode: 0644]
src/mof/base/CMakeLists.txt [new file with mode: 0644]
src/mof/base/mofdef.hpp [new file with mode: 0644]
src/mof/base/tstring.hpp [new file with mode: 0644]
src/mof/math/CMakeLists.txt
src/mof/math/basic_vector.hpp [new file with mode: 0644]
src/mof/math/test/testbin/vector2_test
src/mof/math/test/testbin/vector3_test
src/mof/math/vector.hpp [new file with mode: 0644]
src/mof/math/vector2.hpp [new file with mode: 0644]
src/mof/math/vector3.hpp [new file with mode: 0644]
src/mof/util/CMakeLists.txt [new file with mode: 0644]
src/mof/util/foreach.hpp [new file with mode: 0644]
src/mof/util/multimedia_timer.cpp [new file with mode: 0644]
src/mof/util/multimedia_timer.hpp [new file with mode: 0644]

index 0440644..42135ea 100644 (file)
--- a/TODO.txt
+++ b/TODO.txt
@@ -1 +1 @@
-auto generate include/
+performance test
index a3f1a47..1766fb7 100755 (executable)
Binary files a/bin/numeric and b/bin/numeric differ
diff --git a/include/mof/util/multimedia_timer.hpp b/include/mof/util/multimedia_timer.hpp
new file mode 100644 (file)
index 0000000..efb0129
--- /dev/null
@@ -0,0 +1,46 @@
+#pragma once
+#include <memory>
+#include <boost/utility.hpp>
+
+namespace mof
+{
+namespace util
+{
+
+       /**
+        * @brief システムのタイマによる高精度な時間計測
+        * @note Linux版の実装ではclock_gettimeのCLOCK_REALTIMEが用いられている.
+        */
+    class multimedia_timer : boost::noncopyable
+    {
+        struct impl;
+        std::unique_ptr<impl> pimpl_;
+    public:
+//{{{ constructor
+               /**
+                * @brief デフォルトコンストラクタ.内部でreset()が呼ばれる.
+                */
+        multimedia_timer();
+//}}}
+//{{{ destructor
+        ~multimedia_timer();
+//}}}
+//{{{ reset
+               /**
+                * @brief 時間の計測を初期化する.
+                * @sa get_time_in_micro_sec
+                */
+        void reset();
+//}}}
+//{{{ get_time_in_micro_sec
+               /**
+                * @brief 最後にreset()を読んだ時点から現在までの経過時間をマイクロ秒単位で返す
+                * @note 経過時間が長時間だった場合、返却値はオーバーフローしている可能性がある.
+                * @retval 経過時間(マイクロ秒単位)
+                */
+        int get_time_in_micro_sec() const; 
+//}}}
+    };
+
+}// namespace util
+}// namespace mof
index 77f313c..33842d5 100644 (file)
Binary files a/lib/libmofmath.a and b/lib/libmofmath.a differ
diff --git a/lib/libmofutil.a b/lib/libmofutil.a
new file mode 100644 (file)
index 0000000..84dc4a9
Binary files /dev/null and b/lib/libmofutil.a differ
index 5f5e247..057867d 100644 (file)
@@ -10,6 +10,15 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/../bin/)
 include_directories("${PROJECT_SOURCE_DIR}/../include/")
 link_directories("${PROJECT_SOURCE_DIR}/../lib")
 
+# set compile flags
+if (MSVC)
+       set(CMAKE_CXX_FLAGS "/EHsc /nologo /W4 /WX")
+elseif (CMAKE_COMPILER_IS_GNUCC)
+       set(CMAKE_CXX_FLAGS "-Wall -Werror -O1 -DPSTSDK_VALIDATION_LEVEL_FULL -std=c++0x")
+       #set(CMAKE_CXX_FLAGS "-Wall -Werror -g -DPSTSDK_VALIDATION_LEVEL_FULL -std=c++0x")
+endif()
+
+
 # boost
 find_package(Boost)
 include_directories(BOOST_INCLUDE_DIR)
index 1cf390d..df35872 100644 (file)
@@ -9,6 +9,14 @@
 ../../include/mof/base/mofdef.hpp
 cstddef
 -
+mof/base/tstring.hpp
+-
+
+../../include/mof/base/tstring.hpp
+string
+-
+tchar.h
+-
 
 ../../include/mof/math/basic_vector.hpp
 mof/base/mofdef.hpp
@@ -23,8 +31,6 @@ mof/math/vector2.hpp
 -
 mof/math/vector3.hpp
 -
-mof/math/vector4.hpp
--
 
 ../../include/mof/math/vector2.hpp
 mof/math/basic_vector.hpp
@@ -36,15 +42,19 @@ mof/math/basic_vector.hpp
 mof/math/vector2.hpp
 -
 
-../../include/mof/math/vector4.hpp
-mof/math/basic_vector.hpp
+../../include/mof/util/multimedia_timer.hpp
+memory
 -
-mof/math/vector3.hpp
+boost/utility.hpp
 -
 
 /home/yasutomo/devel/moflib/sample/numeric/main.cpp
 mof/math/vector.hpp
 -
+mof/util/multimedia_timer.hpp
+-
 iostream
 -
+memory
+-
 
index d7b4647..7362227 100644 (file)
@@ -3,9 +3,10 @@
 
 numeric/CMakeFiles/numeric.dir/main.cpp.o
  ../../include/mof/base/mofdef.hpp
+ ../../include/mof/base/tstring.hpp
  ../../include/mof/math/basic_vector.hpp
  ../../include/mof/math/vector.hpp
  ../../include/mof/math/vector2.hpp
  ../../include/mof/math/vector3.hpp
- ../../include/mof/math/vector4.hpp
+ ../../include/mof/util/multimedia_timer.hpp
  /home/yasutomo/devel/moflib/sample/numeric/main.cpp
index 2eb1248..2e450ce 100644 (file)
@@ -2,10 +2,11 @@
 # Generated by "Unix Makefiles" Generator, CMake Version 2.8
 
 numeric/CMakeFiles/numeric.dir/main.cpp.o: ../../include/mof/base/mofdef.hpp
+numeric/CMakeFiles/numeric.dir/main.cpp.o: ../../include/mof/base/tstring.hpp
 numeric/CMakeFiles/numeric.dir/main.cpp.o: ../../include/mof/math/basic_vector.hpp
 numeric/CMakeFiles/numeric.dir/main.cpp.o: ../../include/mof/math/vector.hpp
 numeric/CMakeFiles/numeric.dir/main.cpp.o: ../../include/mof/math/vector2.hpp
 numeric/CMakeFiles/numeric.dir/main.cpp.o: ../../include/mof/math/vector3.hpp
-numeric/CMakeFiles/numeric.dir/main.cpp.o: ../../include/mof/math/vector4.hpp
+numeric/CMakeFiles/numeric.dir/main.cpp.o: ../../include/mof/util/multimedia_timer.hpp
 numeric/CMakeFiles/numeric.dir/main.cpp.o: ../numeric/main.cpp
 
index 0461774..4805b66 100644 (file)
@@ -2,7 +2,7 @@
 # Generated by "Unix Makefiles" Generator, CMake Version 2.8
 
 # compile CXX with /usr/bin/c++
-CXX_FLAGS = -I/home/yasutomo/devel/moflib/sample/../include -I/home/yasutomo/devel/moflib/sample/BOOST_INCLUDE_DIR  
+CXX_FLAGS = -Wall -Werror -O1 -DPSTSDK_VALIDATION_LEVEL_FULL -std=c++0x -I/home/yasutomo/devel/moflib/sample/../include -I/home/yasutomo/devel/moflib/sample/BOOST_INCLUDE_DIR  
 
 CXX_DEFINES = 
 
index 0ce776b..b5d2fca 100644 (file)
@@ -1 +1 @@
-/usr/bin/c++      CMakeFiles/numeric.dir/main.cpp.o  -o /home/yasutomo/devel/moflib/bin/numeric -rdynamic -L/home/yasutomo/devel/moflib/sample/../lib -lmofmath -Wl,-rpath,/home/yasutomo/devel/moflib/sample/../lib 
+/usr/bin/c++   -Wall -Werror -O1 -DPSTSDK_VALIDATION_LEVEL_FULL -std=c++0x   CMakeFiles/numeric.dir/main.cpp.o  -o /home/yasutomo/devel/moflib/bin/numeric -rdynamic -L/home/yasutomo/devel/moflib/sample/../lib -lrt -lmofutil -lmofmath -Wl,-rpath,/home/yasutomo/devel/moflib/sample/../lib 
index dc3addf..ab5c649 100644 (file)
@@ -2,4 +2,8 @@
 # numeric 
 #----------------------
 add_executable(numeric main.cpp)
+if (CMAKE_COMPILER_IS_GNUCC)
+       target_link_libraries(numeric "rt") # TODO delete this line
+endif ()
+target_link_libraries(numeric "mofutil")
 target_link_libraries(numeric "mofmath")
index 9abc8c3..ca2a4a7 100644 (file)
@@ -1,9 +1,63 @@
 #include <mof/math/vector.hpp>
+#include <mof/util/multimedia_timer.hpp>
 #include <iostream>
+#include <memory>
+
+const int REPEAT_COUNT = 5000000;
+
+namespace 
+{
+//{{{ shared_type
+       class shared_type
+       {
+               std::shared_ptr<int> p_; 
+       public:
+
+               shared_type()
+               {
+                       p_ = std::make_shared<int>(1);
+               }
+       };
+//}}}
+}
 
 int main()
 {
        using namespace std;
-       cout << "vector performance test" << endl;
+       using namespace mof::math;
+       using namespace mof::util;
+
+       cout << "***copy performance test***" << endl;
+       {
+               cout << "vector2 --- " ;
+               vector2 v, w;
+               multimedia_timer timer;
+               for (int i = 0; i < REPEAT_COUNT; i++) {
+                       v = w;
+               }
+               cout  <<  timer.get_time_in_micro_sec() << endl;
+       }
+
+       {
+               cout << "vector3 --- " ;
+               vector3 v, w;
+               multimedia_timer timer;
+               for (int i = 0; i < REPEAT_COUNT; i++) {
+                       v = w;
+               }
+               cout  <<  timer.get_time_in_micro_sec() << endl;
+       }
+       
+       {
+               cout << "shared_ptr object --- " ;
+               shared_type v, w;
+               multimedia_timer timer;
+               for (int i = 0; i < REPEAT_COUNT; i++) {
+                       v = w;
+               }
+               cout  <<  timer.get_time_in_micro_sec() << endl;
+       }
+
+
        return 0;
 }
index c8d82a6..50bb00e 100644 (file)
@@ -5,25 +5,27 @@ cmake_minimum_required(VERSION 2.8)
 project(moflib)
 set(MOFLIB_ROOT_DIR ${PROJECT_SOURCE_DIR}/..)
 set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${MOFLIB_ROOT_DIR}/lib/)
-include_directories("${MOFLIB_ROOT_DIR}/include/")
+include_directories(${PROJECT_SOURCE_DIR})
 enable_testing()
 
-# compile our math module
-subdirs(mof/math)
-
-message("NOTICE:If you need more detail output on test failure, set environment variable CTEST_OUTPUT_ON_FAILURE to 1")
-
-# if (MSVC)
-#   set(CMAKE_CXX_FLAGS "/EHsc /nologo /W4 /WX")
-# elseif (CMAKE_COMPILER_IS_GNUCC)
-#   set(CMAKE_CXX_FLAGS "-Wall -Werror -g -DPSTSDK_VALIDATION_LEVEL_FULL -std=c++0x")
-# endif()
+# set compile flags
+if (MSVC)
+       set(CMAKE_CXX_FLAGS "/EHsc /nologo /W4 /WX")
+elseif (CMAKE_COMPILER_IS_GNUCC)
+       set(CMAKE_CXX_FLAGS "-Wall -Werror -g -DPSTSDK_VALIDATION_LEVEL_FULL -std=c++0x")
+endif()
 # include (FindBoost)
 # find_package(Boost 1.42.0 REQUIRED)
 # if (Boost_FOUND)
 #   include_directories(${Boost_INCLUDE_DIRS})
 # endif()
-# file(GLOB headers hoge/*.h)
-# install(FILES ${headers} DESTINATION include/hoge/)
 # file(GLOB sources *.cpp)
 # add_executable(pstsdk_test ${sources})
+
+# compile our math module
+subdirs(mof/base)
+subdirs(mof/util)
+subdirs(mof/math)
+
+message("NOTICE:If you need more detail output on test failure, set environment variable CTEST_OUTPUT_ON_FAILURE to 1")
+
index a952e37..d850aca 100644 (file)
@@ -1,5 +1,5 @@
 # This is the CMakeCache file.
-# For build in directory: /home/yasutomo/dev/moflib/src/build_unix
+# For build in directory: /home/yasutomo/devel/moflib/src/build_unix
 # It was generated by CMake: /usr/bin/cmake
 # You can edit this file to change values found and used by cmake.
 # If you do not want to change any of the values, simply exit the editor.
@@ -155,19 +155,34 @@ CMAKE_USE_RELATIVE_PATHS:BOOL=OFF
 CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
 
 //Value Computed by CMake
-moflib_BINARY_DIR:STATIC=/home/yasutomo/dev/moflib/src/build_unix
+mofbase_BINARY_DIR:STATIC=/home/yasutomo/devel/moflib/src/build_unix/mof/base
 
 //Value Computed by CMake
-moflib_SOURCE_DIR:STATIC=/home/yasutomo/dev/moflib/src
+mofbase_SOURCE_DIR:STATIC=/home/yasutomo/devel/moflib/src/mof/base
 
 //Value Computed by CMake
-mofmath_BINARY_DIR:STATIC=/home/yasutomo/dev/moflib/src/build_unix/mof/math
+moflib_BINARY_DIR:STATIC=/home/yasutomo/devel/moflib/src/build_unix
+
+//Value Computed by CMake
+moflib_SOURCE_DIR:STATIC=/home/yasutomo/devel/moflib/src
+
+//Value Computed by CMake
+mofmath_BINARY_DIR:STATIC=/home/yasutomo/devel/moflib/src/build_unix/mof/math
 
 //Dependencies for target
 mofmath_LIB_DEPENDS:STATIC=
 
 //Value Computed by CMake
-mofmath_SOURCE_DIR:STATIC=/home/yasutomo/dev/moflib/src/mof/math
+mofmath_SOURCE_DIR:STATIC=/home/yasutomo/devel/moflib/src/mof/math
+
+//Value Computed by CMake
+mofutil_BINARY_DIR:STATIC=/home/yasutomo/devel/moflib/src/build_unix/mof/util
+
+//Dependencies for target
+mofutil_LIB_DEPENDS:STATIC=
+
+//Value Computed by CMake
+mofutil_SOURCE_DIR:STATIC=/home/yasutomo/devel/moflib/src/mof/util
 
 
 ########################
@@ -189,7 +204,7 @@ CMAKE_BUILD_TOOL-ADVANCED:INTERNAL=1
 //What is the target build tool cmake is generating for.
 CMAKE_BUILD_TOOL:INTERNAL=/usr/bin/make
 //This is the directory where this CMakeCache.txt was created
-CMAKE_CACHEFILE_DIR:INTERNAL=/home/yasutomo/dev/moflib/src/build_unix
+CMAKE_CACHEFILE_DIR:INTERNAL=/home/yasutomo/devel/moflib/src/build_unix
 //Major version of cmake used to create the current loaded cache
 CMAKE_CACHE_MAJOR_VERSION:INTERNAL=2
 //Minor version of cmake used to create the current loaded cache
@@ -250,7 +265,7 @@ CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
 CMAKE_GENERATOR:INTERNAL=Unix Makefiles
 //Start directory with the top level CMakeLists.txt file for this
 // project
-CMAKE_HOME_DIRECTORY:INTERNAL=/home/yasutomo/dev/moflib/src
+CMAKE_HOME_DIRECTORY:INTERNAL=/home/yasutomo/devel/moflib/src
 //Install .so files without execute permission.
 CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
 //ADVANCED property for variable: CMAKE_LINKER
@@ -270,7 +285,7 @@ CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
 //ADVANCED property for variable: CMAKE_NM
 CMAKE_NM-ADVANCED:INTERNAL=1
 //number of local generators
-CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=2
+CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=4
 //ADVANCED property for variable: CMAKE_OBJCOPY
 CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
 //ADVANCED property for variable: CMAKE_OBJDUMP
index cfde8e7..1842d82 100644 (file)
@@ -2,15 +2,15 @@
 # Generated by "Unix Makefiles" Generator, CMake Version 2.8
 
 # Relative path conversion top directories.
-SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/yasutomo/dev/moflib/src")
-SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/yasutomo/dev/moflib/src/build_unix")
+SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/yasutomo/devel/moflib/src")
+SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/yasutomo/devel/moflib/src/build_unix")
 
 # Force unix paths in dependencies.
 SET(CMAKE_FORCE_UNIX_PATHS 1)
 
 # The C and CXX include file search paths:
 SET(CMAKE_C_INCLUDE_PATH
-  "../../include"
+  ".."
   )
 SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
 SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
index 9b57b37..6f10ce8 100644 (file)
@@ -1,4 +1,4 @@
-The system is: Linux - 2.6.32-22-generic - i686
+The system is: Linux - 2.6.32-23-generic - i686
 Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
 Compiler: /usr/bin/gcc 
 Build flags: 
@@ -10,7 +10,7 @@ The output was:
 
 Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
 
-The C compiler identification is GNU, found in "/home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CompilerIdC/a.out"
+The C compiler identification is GNU, found in "/home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CompilerIdC/a.out"
 
 Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
 Compiler: /usr/bin/c++ 
@@ -25,30 +25,30 @@ CMakeCXXCompilerId.cpp:163: warning: deprecated conversion from string constant
 
 Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
 
-The CXX compiler identification is GNU, found in "/home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CompilerIdCXX/a.out"
+The CXX compiler identification is GNU, found in "/home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CompilerIdCXX/a.out"
 
 Determining if the C compiler works passed with the following output:
-Change Dir: /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp
+Change Dir: /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp
 
 Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
 /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
-make[1]: ディレクトリ `/home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp' に入ります
-/usr/bin/cmake -E cmake_progress_report /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp/CMakeFiles 1
+make[1]: ディレクトリ `/home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp' に入ります
+/usr/bin/cmake -E cmake_progress_report /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp/CMakeFiles 1
 Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o
-/usr/bin/gcc    -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o   -c /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp/testCCompiler.c
+/usr/bin/gcc    -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o   -c /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp/testCCompiler.c
 Linking C executable cmTryCompileExec
 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
 /usr/bin/gcc        CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o  -o cmTryCompileExec -rdynamic 
-make[1]: ディレクトリ `/home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp' から出ます
+make[1]: ディレクトリ `/home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp' から出ます
 
 
 Detecting C compiler ABI info compiled with the following output:
-Change Dir: /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp
+Change Dir: /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp
 
 Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
 /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
-make[1]: ディレクトリ `/home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp' に入ります
-/usr/bin/cmake -E cmake_progress_report /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp/CMakeFiles 1
+make[1]: ディレクトリ `/home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp' に入ります
+/usr/bin/cmake -E cmake_progress_report /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp/CMakeFiles 1
 Building C object CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o
 /usr/bin/gcc    -o CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o   -c /usr/share/cmake-2.8/Modules/CMakeCCompilerABI.c
 Linking C executable cmTryCompileExec
@@ -63,17 +63,17 @@ COMPILER_PATH=/usr/lib/gcc/i486-linux-gnu/4.4.3/:/usr/lib/gcc/i486-linux-gnu/4.4
 LIBRARY_PATH=/usr/lib/gcc/i486-linux-gnu/4.4.3/:/usr/lib/gcc/i486-linux-gnu/4.4.3/:/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../:/lib/:/usr/lib/:/usr/lib/i486-linux-gnu/
 COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec' '-rdynamic' '-mtune=generic' '-march=i486'
  /usr/lib/gcc/i486-linux-gnu/4.4.3/collect2 --build-id --eh-frame-hdr -m elf_i386 --hash-style=both -export-dynamic -dynamic-linker /lib/ld-linux.so.2 -o cmTryCompileExec -z relro /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crt1.o /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.4.3/crtbegin.o -L/usr/lib/gcc/i486-linux-gnu/4.4.3 -L/usr/lib/gcc/i486-linux-gnu/4.4.3 -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../.. -L/usr/lib/i486-linux-gnu CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/i486-linux-gnu/4.4.3/crtend.o /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crtn.o
-make[1]: ディレクトリ `/home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp' から出ます
+make[1]: ディレクトリ `/home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp' から出ます
 
 
 Parsed C implicit link information from above output:
   link line regex: [^( *|.*[/\])(ld|ld|collect2)[^/\]*( |$)]
-  ignore line: [Change Dir: /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp]
+  ignore line: [Change Dir: /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp]
   ignore line: []
   ignore line: [Run Build Command:/usr/bin/make "cmTryCompileExec/fast"]
   ignore line: [/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build]
-  ignore line: [make[1]: ディレクトリ `/home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp' に入ります]
-  ignore line: [/usr/bin/cmake -E cmake_progress_report /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp/CMakeFiles 1]
+  ignore line: [make[1]: ディレクトリ `/home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp' に入ります]
+  ignore line: [/usr/bin/cmake -E cmake_progress_report /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp/CMakeFiles 1]
   ignore line: [Building C object CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o]
   ignore line: [/usr/bin/gcc    -o CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o   -c /usr/share/cmake-2.8/Modules/CMakeCCompilerABI.c]
   ignore line: [Linking C executable cmTryCompileExec]
@@ -138,27 +138,27 @@ Parsed C implicit link information from above output:
 
 
 Determining if the CXX compiler works passed with the following output:
-Change Dir: /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp
+Change Dir: /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp
 
 Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
 /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
-make[1]: ディレクトリ `/home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp' に入ります
-/usr/bin/cmake -E cmake_progress_report /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp/CMakeFiles 1
+make[1]: ディレクトリ `/home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp' に入ります
+/usr/bin/cmake -E cmake_progress_report /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp/CMakeFiles 1
 Building CXX object CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o
-/usr/bin/c++     -o CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -c /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
+/usr/bin/c++     -o CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -c /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
 Linking CXX executable cmTryCompileExec
 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
 /usr/bin/c++         CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o  -o cmTryCompileExec -rdynamic 
-make[1]: ディレクトリ `/home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp' から出ます
+make[1]: ディレクトリ `/home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp' から出ます
 
 
 Detecting CXX compiler ABI info compiled with the following output:
-Change Dir: /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp
+Change Dir: /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp
 
 Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
 /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
-make[1]: ディレクトリ `/home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp' に入ります
-/usr/bin/cmake -E cmake_progress_report /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp/CMakeFiles 1
+make[1]: ディレクトリ `/home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp' に入ります
+/usr/bin/cmake -E cmake_progress_report /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp/CMakeFiles 1
 Building CXX object CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o
 /usr/bin/c++     -o CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-2.8/Modules/CMakeCXXCompilerABI.cpp
 Linking CXX executable cmTryCompileExec
@@ -173,17 +173,17 @@ COMPILER_PATH=/usr/lib/gcc/i486-linux-gnu/4.4.3/:/usr/lib/gcc/i486-linux-gnu/4.4
 LIBRARY_PATH=/usr/lib/gcc/i486-linux-gnu/4.4.3/:/usr/lib/gcc/i486-linux-gnu/4.4.3/:/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../:/lib/:/usr/lib/:/usr/lib/i486-linux-gnu/
 COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=i486'
  /usr/lib/gcc/i486-linux-gnu/4.4.3/collect2 --build-id --eh-frame-hdr -m elf_i386 --hash-style=both -export-dynamic -dynamic-linker /lib/ld-linux.so.2 -o cmTryCompileExec -z relro /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crt1.o /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.4.3/crtbegin.o -L/usr/lib/gcc/i486-linux-gnu/4.4.3 -L/usr/lib/gcc/i486-linux-gnu/4.4.3 -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../.. -L/usr/lib/i486-linux-gnu CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/i486-linux-gnu/4.4.3/crtend.o /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crtn.o
-make[1]: ディレクトリ `/home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp' から出ます
+make[1]: ディレクトリ `/home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp' から出ます
 
 
 Parsed CXX implicit link information from above output:
   link line regex: [^( *|.*[/\])(ld|ld|collect2)[^/\]*( |$)]
-  ignore line: [Change Dir: /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp]
+  ignore line: [Change Dir: /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp]
   ignore line: []
   ignore line: [Run Build Command:/usr/bin/make "cmTryCompileExec/fast"]
   ignore line: [/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build]
-  ignore line: [make[1]: ディレクトリ `/home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp' に入ります]
-  ignore line: [/usr/bin/cmake -E cmake_progress_report /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/CMakeTmp/CMakeFiles 1]
+  ignore line: [make[1]: ディレクトリ `/home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp' に入ります]
+  ignore line: [/usr/bin/cmake -E cmake_progress_report /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/CMakeTmp/CMakeFiles 1]
   ignore line: [Building CXX object CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o]
   ignore line: [/usr/bin/c++     -o CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-2.8/Modules/CMakeCXXCompilerABI.cpp]
   ignore line: [Linking CXX executable cmTryCompileExec]
index 829ebc5..c316eca 100644 (file)
@@ -1,13 +1,13 @@
 
 
-SET(CMAKE_SYSTEM "Linux-2.6.32-22-generic")
+SET(CMAKE_SYSTEM "Linux-2.6.32-23-generic")
 SET(CMAKE_SYSTEM_NAME "Linux")
-SET(CMAKE_SYSTEM_VERSION "2.6.32-22-generic")
+SET(CMAKE_SYSTEM_VERSION "2.6.32-23-generic")
 SET(CMAKE_SYSTEM_PROCESSOR "i686")
 
-SET(CMAKE_HOST_SYSTEM "Linux-2.6.32-22-generic")
+SET(CMAKE_HOST_SYSTEM "Linux-2.6.32-23-generic")
 SET(CMAKE_HOST_SYSTEM_NAME "Linux")
-SET(CMAKE_HOST_SYSTEM_VERSION "2.6.32-22-generic")
+SET(CMAKE_HOST_SYSTEM_VERSION "2.6.32-23-generic")
 SET(CMAKE_HOST_SYSTEM_PROCESSOR "i686")
 
 SET(CMAKE_CROSSCOMPILING "FALSE")
index 4da79f7..8206480 100644 (file)
@@ -11,7 +11,9 @@ SET(CMAKE_MAKEFILE_DEPENDS
   "CMakeFiles/CMakeCCompiler.cmake"
   "CMakeFiles/CMakeCXXCompiler.cmake"
   "CMakeFiles/CMakeSystem.cmake"
+  "../mof/base/CMakeLists.txt"
   "../mof/math/CMakeLists.txt"
+  "../mof/util/CMakeLists.txt"
   "/usr/share/cmake-2.8/Modules/CMakeCInformation.cmake"
   "/usr/share/cmake-2.8/Modules/CMakeCXXInformation.cmake"
   "/usr/share/cmake-2.8/Modules/CMakeCommonLanguageInclude.cmake"
@@ -34,11 +36,14 @@ SET(CMAKE_MAKEFILE_OUTPUTS
 # Byproducts of CMake generate step:
 SET(CMAKE_MAKEFILE_PRODUCTS
   "CMakeFiles/CMakeDirectoryInformation.cmake"
+  "mof/base/CMakeFiles/CMakeDirectoryInformation.cmake"
+  "mof/util/CMakeFiles/CMakeDirectoryInformation.cmake"
   "mof/math/CMakeFiles/CMakeDirectoryInformation.cmake"
   )
 
 # Dependency information for all targets:
 SET(CMAKE_DEPEND_INFO_FILES
+  "mof/util/CMakeFiles/mofutil.dir/DependInfo.cmake"
   "mof/math/CMakeFiles/mofmath.dir/DependInfo.cmake"
   "mof/math/CMakeFiles/vector2_test.dir/DependInfo.cmake"
   "mof/math/CMakeFiles/vector3_test.dir/DependInfo.cmake"
index cdde51b..7d5e1c1 100644 (file)
@@ -44,10 +44,75 @@ CMAKE_COMMAND = /usr/bin/cmake
 RM = /usr/bin/cmake -E remove -f
 
 # The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/yasutomo/dev/moflib/src
+CMAKE_SOURCE_DIR = /home/yasutomo/devel/moflib/src
 
 # The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/yasutomo/dev/moflib/src/build_unix
+CMAKE_BINARY_DIR = /home/yasutomo/devel/moflib/src/build_unix
+
+#=============================================================================
+# Directory level rules for directory mof/base
+
+# Convenience name for "all" pass in the directory.
+mof/base/all:
+.PHONY : mof/base/all
+
+# Convenience name for "clean" pass in the directory.
+mof/base/clean:
+.PHONY : mof/base/clean
+
+# Convenience name for "preinstall" pass in the directory.
+mof/base/preinstall:
+.PHONY : mof/base/preinstall
+
+#=============================================================================
+# Directory level rules for directory mof/util
+
+# Convenience name for "all" pass in the directory.
+mof/util/all: mof/util/CMakeFiles/mofutil.dir/all
+.PHONY : mof/util/all
+
+# Convenience name for "clean" pass in the directory.
+mof/util/clean: mof/util/CMakeFiles/mofutil.dir/clean
+.PHONY : mof/util/clean
+
+# Convenience name for "preinstall" pass in the directory.
+mof/util/preinstall:
+.PHONY : mof/util/preinstall
+
+#=============================================================================
+# Target rules for target mof/util/CMakeFiles/mofutil.dir
+
+# All Build rule for target.
+mof/util/CMakeFiles/mofutil.dir/all:
+       $(MAKE) -f mof/util/CMakeFiles/mofutil.dir/build.make mof/util/CMakeFiles/mofutil.dir/depend
+       $(MAKE) -f mof/util/CMakeFiles/mofutil.dir/build.make mof/util/CMakeFiles/mofutil.dir/build
+       $(CMAKE_COMMAND) -E cmake_progress_report /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles  2
+       @echo "Built target mofutil"
+.PHONY : mof/util/CMakeFiles/mofutil.dir/all
+
+# Include target in all.
+all: mof/util/CMakeFiles/mofutil.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+mof/util/CMakeFiles/mofutil.dir/rule: cmake_check_build_system
+       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles 1
+       $(MAKE) -f CMakeFiles/Makefile2 mof/util/CMakeFiles/mofutil.dir/all
+       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles 0
+.PHONY : mof/util/CMakeFiles/mofutil.dir/rule
+
+# Convenience name for target.
+mofutil: mof/util/CMakeFiles/mofutil.dir/rule
+.PHONY : mofutil
+
+# clean rule for target.
+mof/util/CMakeFiles/mofutil.dir/clean:
+       $(MAKE) -f mof/util/CMakeFiles/mofutil.dir/build.make mof/util/CMakeFiles/mofutil.dir/clean
+.PHONY : mof/util/CMakeFiles/mofutil.dir/clean
+
+# clean rule for target.
+clean: mof/util/CMakeFiles/mofutil.dir/clean
+.PHONY : clean
 
 #=============================================================================
 # Directory level rules for directory mof/math
@@ -75,7 +140,7 @@ mof/math/preinstall:
 mof/math/CMakeFiles/mofmath.dir/all:
        $(MAKE) -f mof/math/CMakeFiles/mofmath.dir/build.make mof/math/CMakeFiles/mofmath.dir/depend
        $(MAKE) -f mof/math/CMakeFiles/mofmath.dir/build.make mof/math/CMakeFiles/mofmath.dir/build
-       $(CMAKE_COMMAND) -E cmake_progress_report /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles  1
+       $(CMAKE_COMMAND) -E cmake_progress_report /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles  1
        @echo "Built target mofmath"
 .PHONY : mof/math/CMakeFiles/mofmath.dir/all
 
@@ -85,9 +150,9 @@ all: mof/math/CMakeFiles/mofmath.dir/all
 
 # Build rule for subdir invocation for target.
 mof/math/CMakeFiles/mofmath.dir/rule: cmake_check_build_system
-       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles 1
+       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles 1
        $(MAKE) -f CMakeFiles/Makefile2 mof/math/CMakeFiles/mofmath.dir/all
-       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles 0
+       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles 0
 .PHONY : mof/math/CMakeFiles/mofmath.dir/rule
 
 # Convenience name for target.
@@ -110,7 +175,7 @@ clean: mof/math/CMakeFiles/mofmath.dir/clean
 mof/math/CMakeFiles/vector2_test.dir/all: mof/math/CMakeFiles/mofmath.dir/all
        $(MAKE) -f mof/math/CMakeFiles/vector2_test.dir/build.make mof/math/CMakeFiles/vector2_test.dir/depend
        $(MAKE) -f mof/math/CMakeFiles/vector2_test.dir/build.make mof/math/CMakeFiles/vector2_test.dir/build
-       $(CMAKE_COMMAND) -E cmake_progress_report /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles  2
+       $(CMAKE_COMMAND) -E cmake_progress_report /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles  3
        @echo "Built target vector2_test"
 .PHONY : mof/math/CMakeFiles/vector2_test.dir/all
 
@@ -120,9 +185,9 @@ all: mof/math/CMakeFiles/vector2_test.dir/all
 
 # Build rule for subdir invocation for target.
 mof/math/CMakeFiles/vector2_test.dir/rule: cmake_check_build_system
-       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles 2
+       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles 2
        $(MAKE) -f CMakeFiles/Makefile2 mof/math/CMakeFiles/vector2_test.dir/all
-       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles 0
+       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles 0
 .PHONY : mof/math/CMakeFiles/vector2_test.dir/rule
 
 # Convenience name for target.
@@ -145,7 +210,7 @@ clean: mof/math/CMakeFiles/vector2_test.dir/clean
 mof/math/CMakeFiles/vector3_test.dir/all: mof/math/CMakeFiles/mofmath.dir/all
        $(MAKE) -f mof/math/CMakeFiles/vector3_test.dir/build.make mof/math/CMakeFiles/vector3_test.dir/depend
        $(MAKE) -f mof/math/CMakeFiles/vector3_test.dir/build.make mof/math/CMakeFiles/vector3_test.dir/build
-       $(CMAKE_COMMAND) -E cmake_progress_report /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles  3
+       $(CMAKE_COMMAND) -E cmake_progress_report /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles  4
        @echo "Built target vector3_test"
 .PHONY : mof/math/CMakeFiles/vector3_test.dir/all
 
@@ -155,9 +220,9 @@ all: mof/math/CMakeFiles/vector3_test.dir/all
 
 # Build rule for subdir invocation for target.
 mof/math/CMakeFiles/vector3_test.dir/rule: cmake_check_build_system
-       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles 2
+       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles 2
        $(MAKE) -f CMakeFiles/Makefile2 mof/math/CMakeFiles/vector3_test.dir/all
-       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles 0
+       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles 0
 .PHONY : mof/math/CMakeFiles/vector3_test.dir/rule
 
 # Convenience name for target.
index d905879..115dd90 100644 (file)
@@ -1,3 +1,4 @@
-/home/yasutomo/dev/moflib/src/build_unix/mof/math/CMakeFiles/mofmath.dir
-/home/yasutomo/dev/moflib/src/build_unix/mof/math/CMakeFiles/vector2_test.dir
-/home/yasutomo/dev/moflib/src/build_unix/mof/math/CMakeFiles/vector3_test.dir
+/home/yasutomo/devel/moflib/src/build_unix/mof/math/CMakeFiles/mofmath.dir
+/home/yasutomo/devel/moflib/src/build_unix/mof/util/CMakeFiles/mofutil.dir
+/home/yasutomo/devel/moflib/src/build_unix/mof/math/CMakeFiles/vector2_test.dir
+/home/yasutomo/devel/moflib/src/build_unix/mof/math/CMakeFiles/vector3_test.dir
diff --git a/src/build_unix/CTestCustom.ctest b/src/build_unix/CTestCustom.ctest
deleted file mode 100644 (file)
index 9a9ccb3..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-
-set(CTEST_ENVIRONMENT "CTEST_OUTPUT_ON_FAILURE=1")
index 35806f3..424b4b1 100644 (file)
@@ -1,7 +1,9 @@
 # CMake generated Testfile for 
-# Source directory: /home/yasutomo/dev/moflib/src
-# Build directory: /home/yasutomo/dev/moflib/src/build_unix
+# Source directory: /home/yasutomo/devel/moflib/src
+# Build directory: /home/yasutomo/devel/moflib/src/build_unix
 # 
 # This file includes the relevent testing commands required for 
 # testing this directory and lists subdirectories to be tested as well.
+SUBDIRS(mof/base)
+SUBDIRS(mof/util)
 SUBDIRS(mof/math)
index 3eaa701..c761308 100644 (file)
@@ -36,10 +36,10 @@ CMAKE_COMMAND = /usr/bin/cmake
 RM = /usr/bin/cmake -E remove -f
 
 # The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/yasutomo/dev/moflib/src
+CMAKE_SOURCE_DIR = /home/yasutomo/devel/moflib/src
 
 # The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/yasutomo/dev/moflib/src/build_unix
+CMAKE_BINARY_DIR = /home/yasutomo/devel/moflib/src/build_unix
 
 #=============================================================================
 # Targets provided globally by CMake.
@@ -54,6 +54,47 @@ edit_cache:
 edit_cache/fast: edit_cache
 .PHONY : edit_cache/fast
 
+# Special rule for the target install
+install: preinstall
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
+       /usr/bin/cmake -P cmake_install.cmake
+.PHONY : install
+
+# Special rule for the target install
+install/fast: preinstall/fast
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
+       /usr/bin/cmake -P cmake_install.cmake
+.PHONY : install/fast
+
+# Special rule for the target install/local
+install/local: preinstall
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
+       /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
+.PHONY : install/local
+
+# Special rule for the target install/local
+install/local/fast: install/local
+.PHONY : install/local/fast
+
+# Special rule for the target install/strip
+install/strip: preinstall
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
+       /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
+.PHONY : install/strip
+
+# Special rule for the target install/strip
+install/strip/fast: install/strip
+.PHONY : install/strip/fast
+
+# Special rule for the target list_install_components
+list_install_components:
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
+.PHONY : list_install_components
+
+# Special rule for the target list_install_components
+list_install_components/fast: list_install_components
+.PHONY : list_install_components/fast
+
 # Special rule for the target rebuild_cache
 rebuild_cache:
        @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
@@ -76,9 +117,9 @@ test/fast: test
 
 # The main all target
 all: cmake_check_build_system
-       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles/progress.marks
+       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles/progress.marks
        $(MAKE) -f CMakeFiles/Makefile2 all
-       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles 0
+       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles 0
 .PHONY : all
 
 # The main clean target
@@ -106,6 +147,19 @@ depend:
 .PHONY : depend
 
 #=============================================================================
+# Target rules for targets named mofutil
+
+# Build rule for target.
+mofutil: cmake_check_build_system
+       $(MAKE) -f CMakeFiles/Makefile2 mofutil
+.PHONY : mofutil
+
+# fast build rule for target.
+mofutil/fast:
+       $(MAKE) -f mof/util/CMakeFiles/mofutil.dir/build.make mof/util/CMakeFiles/mofutil.dir/build
+.PHONY : mofutil/fast
+
+#=============================================================================
 # Target rules for targets named mofmath
 
 # Build rule for target.
@@ -151,8 +205,13 @@ help:
        @echo "... clean"
        @echo "... depend"
        @echo "... edit_cache"
+       @echo "... install"
+       @echo "... install/local"
+       @echo "... install/strip"
+       @echo "... list_install_components"
        @echo "... rebuild_cache"
        @echo "... test"
+       @echo "... mofutil"
        @echo "... mofmath"
        @echo "... vector2_test"
        @echo "... vector3_test"
diff --git a/src/build_unix/Testing/Temporary/CTestCostData.txt b/src/build_unix/Testing/Temporary/CTestCostData.txt
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/src/build_unix/Testing/Temporary/LastTest.log b/src/build_unix/Testing/Temporary/LastTest.log
deleted file mode 100644 (file)
index 5e6c9e2..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-Start testing: Aug 12 04:37 JST
-----------------------------------------------------------
-1/2 Testing: vector2_test
-1/2 Test: vector2_test
-Command: "/home/yasutomo/dev/moflib/src/mof/math/test/testbin/vector2_test"
-Directory: /home/yasutomo/dev/moflib/src/build_unix/mof/math
-"vector2_test" start time: Aug 12 04:37 JST
-Output:
-----------------------------------------------------------
-<end of output>
-Test time =   0.00 sec
-----------------------------------------------------------
-Test Passed.
-"vector2_test" end time: Aug 12 04:37 JST
-"vector2_test" time elapsed: 00:00:00
-----------------------------------------------------------
-
-2/2 Testing: vector3_test
-2/2 Test: vector3_test
-Command: "/home/yasutomo/dev/moflib/src/mof/math/test/testbin/vector3_test"
-Directory: /home/yasutomo/dev/moflib/src/build_unix/mof/math
-"vector3_test" start time: Aug 12 04:37 JST
-Output:
-----------------------------------------------------------
-<end of output>
-Test time =   0.00 sec
-----------------------------------------------------------
-Test Passed.
-"vector3_test" end time: Aug 12 04:37 JST
-"vector3_test" time elapsed: 00:00:00
-----------------------------------------------------------
-
-End testing: Aug 12 04:37 JST
diff --git a/src/build_unix/Testing/Temporary/LastTestsFailed.log b/src/build_unix/Testing/Temporary/LastTestsFailed.log
deleted file mode 100644 (file)
index 1448e25..0000000
+++ /dev/null
@@ -1 +0,0 @@
-2:vector3_test
index 413301e..d0ab61d 100644 (file)
@@ -1,4 +1,4 @@
-# Install script for directory: /home/yasutomo/dev/moflib/src
+# Install script for directory: /home/yasutomo/devel/moflib/src
 
 # Set the install prefix
 IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
@@ -34,7 +34,9 @@ ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
 
 IF(NOT CMAKE_INSTALL_LOCAL_ONLY)
   # Include the install script for each subdirectory.
-  INCLUDE("/home/yasutomo/dev/moflib/src/build_unix/mof/math/cmake_install.cmake")
+  INCLUDE("/home/yasutomo/devel/moflib/src/build_unix/mof/base/cmake_install.cmake")
+  INCLUDE("/home/yasutomo/devel/moflib/src/build_unix/mof/util/cmake_install.cmake")
+  INCLUDE("/home/yasutomo/devel/moflib/src/build_unix/mof/math/cmake_install.cmake")
 
 ENDIF(NOT CMAKE_INSTALL_LOCAL_ONLY)
 
@@ -44,7 +46,7 @@ ELSE(CMAKE_INSTALL_COMPONENT)
   SET(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
 ENDIF(CMAKE_INSTALL_COMPONENT)
 
-FILE(WRITE "/home/yasutomo/dev/moflib/src/build_unix/${CMAKE_INSTALL_MANIFEST}" "")
+FILE(WRITE "/home/yasutomo/devel/moflib/src/build_unix/${CMAKE_INSTALL_MANIFEST}" "")
 FOREACH(file ${CMAKE_INSTALL_MANIFEST_FILES})
-  FILE(APPEND "/home/yasutomo/dev/moflib/src/build_unix/${CMAKE_INSTALL_MANIFEST}" "${file}\n")
+  FILE(APPEND "/home/yasutomo/devel/moflib/src/build_unix/${CMAKE_INSTALL_MANIFEST}" "${file}\n")
 ENDFOREACH(file)
diff --git a/src/build_unix/install_manifest.txt b/src/build_unix/install_manifest.txt
new file mode 100644 (file)
index 0000000..6322ee4
--- /dev/null
@@ -0,0 +1,8 @@
+/home/yasutomo/devel/moflib/src/../include/mof/base/mofdef.hpp
+/home/yasutomo/devel/moflib/src/../include/mof/base/tstring.hpp
+/home/yasutomo/devel/moflib/src/../include/mof/util/multimedia_timer.hpp
+/home/yasutomo/devel/moflib/src/../include/mof/util/foreach.hpp
+/home/yasutomo/devel/moflib/src/../include/mof/math/basic_vector.hpp
+/home/yasutomo/devel/moflib/src/../include/mof/math/vector3.hpp
+/home/yasutomo/devel/moflib/src/../include/mof/math/vector.hpp
+/home/yasutomo/devel/moflib/src/../include/mof/math/vector2.hpp
diff --git a/src/build_unix/mof/base/CMakeFiles/CMakeDirectoryInformation.cmake b/src/build_unix/mof/base/CMakeFiles/CMakeDirectoryInformation.cmake
new file mode 100644 (file)
index 0000000..1842d82
--- /dev/null
@@ -0,0 +1,22 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# Relative path conversion top directories.
+SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/yasutomo/devel/moflib/src")
+SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/yasutomo/devel/moflib/src/build_unix")
+
+# Force unix paths in dependencies.
+SET(CMAKE_FORCE_UNIX_PATHS 1)
+
+# The C and CXX include file search paths:
+SET(CMAKE_C_INCLUDE_PATH
+  ".."
+  )
+SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
+SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
+
+# The C and CXX include file regular expressions for this directory.
+SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
+SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
+SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
+SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
diff --git a/src/build_unix/mof/base/CMakeFiles/progress.marks b/src/build_unix/mof/base/CMakeFiles/progress.marks
new file mode 100644 (file)
index 0000000..573541a
--- /dev/null
@@ -0,0 +1 @@
+0
diff --git a/src/build_unix/mof/base/CTestTestfile.cmake b/src/build_unix/mof/base/CTestTestfile.cmake
new file mode 100644 (file)
index 0000000..a1d9cf6
--- /dev/null
@@ -0,0 +1,6 @@
+# CMake generated Testfile for 
+# Source directory: /home/yasutomo/devel/moflib/src/mof/base
+# Build directory: /home/yasutomo/devel/moflib/src/build_unix/mof/base
+# 
+# This file includes the relevent testing commands required for 
+# testing this directory and lists subdirectories to be tested as well.
diff --git a/src/build_unix/mof/base/Makefile b/src/build_unix/mof/base/Makefile
new file mode 100644 (file)
index 0000000..b5cb5e3
--- /dev/null
@@ -0,0 +1,175 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# Default target executed when no arguments are given to make.
+default_target: all
+.PHONY : default_target
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canoncical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/yasutomo/devel/moflib/src
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/yasutomo/devel/moflib/src/build_unix
+
+#=============================================================================
+# Targets provided globally by CMake.
+
+# Special rule for the target edit_cache
+edit_cache:
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running interactive CMake command-line interface..."
+       /usr/bin/cmake -i .
+.PHONY : edit_cache
+
+# Special rule for the target edit_cache
+edit_cache/fast: edit_cache
+.PHONY : edit_cache/fast
+
+# Special rule for the target install
+install: preinstall
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
+       /usr/bin/cmake -P cmake_install.cmake
+.PHONY : install
+
+# Special rule for the target install
+install/fast: preinstall/fast
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
+       /usr/bin/cmake -P cmake_install.cmake
+.PHONY : install/fast
+
+# Special rule for the target install/local
+install/local: preinstall
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
+       /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
+.PHONY : install/local
+
+# Special rule for the target install/local
+install/local/fast: install/local
+.PHONY : install/local/fast
+
+# Special rule for the target install/strip
+install/strip: preinstall
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
+       /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
+.PHONY : install/strip
+
+# Special rule for the target install/strip
+install/strip/fast: install/strip
+.PHONY : install/strip/fast
+
+# Special rule for the target list_install_components
+list_install_components:
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
+.PHONY : list_install_components
+
+# Special rule for the target list_install_components
+list_install_components/fast: list_install_components
+.PHONY : list_install_components/fast
+
+# Special rule for the target rebuild_cache
+rebuild_cache:
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
+       /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
+.PHONY : rebuild_cache
+
+# Special rule for the target rebuild_cache
+rebuild_cache/fast: rebuild_cache
+.PHONY : rebuild_cache/fast
+
+# Special rule for the target test
+test:
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..."
+       /usr/bin/ctest --force-new-ctest-process $(ARGS)
+.PHONY : test
+
+# Special rule for the target test
+test/fast: test
+.PHONY : test/fast
+
+# The main all target
+all: cmake_check_build_system
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles /home/yasutomo/devel/moflib/src/build_unix/mof/base/CMakeFiles/progress.marks
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f CMakeFiles/Makefile2 mof/base/all
+       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles 0
+.PHONY : all
+
+# The main clean target
+clean:
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f CMakeFiles/Makefile2 mof/base/clean
+.PHONY : clean
+
+# The main clean target
+clean/fast: clean
+.PHONY : clean/fast
+
+# Prepare targets for installation.
+preinstall: all
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f CMakeFiles/Makefile2 mof/base/preinstall
+.PHONY : preinstall
+
+# Prepare targets for installation.
+preinstall/fast:
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f CMakeFiles/Makefile2 mof/base/preinstall
+.PHONY : preinstall/fast
+
+# clear depends
+depend:
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
+.PHONY : depend
+
+# Help Target
+help:
+       @echo "The following are some of the valid targets for this Makefile:"
+       @echo "... all (the default if no target is provided)"
+       @echo "... clean"
+       @echo "... depend"
+       @echo "... edit_cache"
+       @echo "... install"
+       @echo "... install/local"
+       @echo "... install/strip"
+       @echo "... list_install_components"
+       @echo "... rebuild_cache"
+       @echo "... test"
+.PHONY : help
+
+
+
+#=============================================================================
+# Special targets to cleanup operation of make.
+
+# Special rule to run CMake to check the build system integrity.
+# No rule that depends on this can have commands that come from listfiles
+# because they might be regenerated.
+cmake_check_build_system:
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
+.PHONY : cmake_check_build_system
+
diff --git a/src/build_unix/mof/base/cmake_install.cmake b/src/build_unix/mof/base/cmake_install.cmake
new file mode 100644 (file)
index 0000000..f6f4ea8
--- /dev/null
@@ -0,0 +1,41 @@
+# Install script for directory: /home/yasutomo/devel/moflib/src/mof/base
+
+# Set the install prefix
+IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
+  SET(CMAKE_INSTALL_PREFIX "/usr/local")
+ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
+STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
+
+# Set the install configuration name.
+IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
+  IF(BUILD_TYPE)
+    STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
+           CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
+  ELSE(BUILD_TYPE)
+    SET(CMAKE_INSTALL_CONFIG_NAME "")
+  ENDIF(BUILD_TYPE)
+  MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
+ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
+
+# Set the component getting installed.
+IF(NOT CMAKE_INSTALL_COMPONENT)
+  IF(COMPONENT)
+    MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
+    SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
+  ELSE(COMPONENT)
+    SET(CMAKE_INSTALL_COMPONENT)
+  ENDIF(COMPONENT)
+ENDIF(NOT CMAKE_INSTALL_COMPONENT)
+
+# Install shared libraries without execute permission?
+IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
+  SET(CMAKE_INSTALL_SO_NO_EXE "1")
+ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
+
+IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  FILE(INSTALL DESTINATION "/home/yasutomo/devel/moflib/src/../include/mof/base" TYPE FILE FILES
+    "/home/yasutomo/devel/moflib/src/mof/base/mofdef.hpp"
+    "/home/yasutomo/devel/moflib/src/mof/base/tstring.hpp"
+    )
+ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+
index 982e5e3..a5bac9f 100644 (file)
@@ -2,15 +2,15 @@
 # Generated by "Unix Makefiles" Generator, CMake Version 2.8
 
 # Relative path conversion top directories.
-SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/yasutomo/dev/moflib/src")
-SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/yasutomo/dev/moflib/src/build_unix")
+SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/yasutomo/devel/moflib/src")
+SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/yasutomo/devel/moflib/src/build_unix")
 
 # Force unix paths in dependencies.
 SET(CMAKE_FORCE_UNIX_PATHS 1)
 
 # The C and CXX include file search paths:
 SET(CMAKE_C_INCLUDE_PATH
-  "../../include"
+  ".."
   "../mof/math/BOOST_INCLUDE_DIR"
   )
 SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
index cfd4305..dedeb04 100644 (file)
@@ -6,5 +6,5 @@
 
 #IncludeRegexTransform: 
 
-/home/yasutomo/dev/moflib/src/mof/math/dummy.cpp
+/home/yasutomo/devel/moflib/src/mof/math/dummy.cpp
 
index 7f3e5d0..887cecf 100644 (file)
@@ -4,7 +4,7 @@ SET(CMAKE_DEPENDS_LANGUAGES
   )
 # The set of files for implicit dependencies of each language:
 SET(CMAKE_DEPENDS_CHECK_CXX
-  "/home/yasutomo/dev/moflib/src/mof/math/dummy.cpp" "/home/yasutomo/dev/moflib/src/build_unix/mof/math/CMakeFiles/mofmath.dir/dummy.cpp.o"
+  "/home/yasutomo/devel/moflib/src/mof/math/dummy.cpp" "/home/yasutomo/devel/moflib/src/build_unix/mof/math/CMakeFiles/mofmath.dir/dummy.cpp.o"
   )
 SET(CMAKE_CXX_COMPILER_ID "GNU")
 
index 6c57051..324349d 100644 (file)
@@ -32,10 +32,10 @@ CMAKE_COMMAND = /usr/bin/cmake
 RM = /usr/bin/cmake -E remove -f
 
 # The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/yasutomo/dev/moflib/src
+CMAKE_SOURCE_DIR = /home/yasutomo/devel/moflib/src
 
 # The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/yasutomo/dev/moflib/src/build_unix
+CMAKE_BINARY_DIR = /home/yasutomo/devel/moflib/src/build_unix
 
 # Include any dependencies generated for this target.
 include mof/math/CMakeFiles/mofmath.dir/depend.make
@@ -48,17 +48,17 @@ include mof/math/CMakeFiles/mofmath.dir/flags.make
 
 mof/math/CMakeFiles/mofmath.dir/dummy.cpp.o: mof/math/CMakeFiles/mofmath.dir/flags.make
 mof/math/CMakeFiles/mofmath.dir/dummy.cpp.o: ../mof/math/dummy.cpp
-       $(CMAKE_COMMAND) -E cmake_progress_report /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles $(CMAKE_PROGRESS_1)
+       $(CMAKE_COMMAND) -E cmake_progress_report /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles $(CMAKE_PROGRESS_1)
        @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object mof/math/CMakeFiles/mofmath.dir/dummy.cpp.o"
-       cd /home/yasutomo/dev/moflib/src/build_unix/mof/math && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/mofmath.dir/dummy.cpp.o -c /home/yasutomo/dev/moflib/src/mof/math/dummy.cpp
+       cd /home/yasutomo/devel/moflib/src/build_unix/mof/math && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/mofmath.dir/dummy.cpp.o -c /home/yasutomo/devel/moflib/src/mof/math/dummy.cpp
 
 mof/math/CMakeFiles/mofmath.dir/dummy.cpp.i: cmake_force
        @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/mofmath.dir/dummy.cpp.i"
-       cd /home/yasutomo/dev/moflib/src/build_unix/mof/math && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/yasutomo/dev/moflib/src/mof/math/dummy.cpp > CMakeFiles/mofmath.dir/dummy.cpp.i
+       cd /home/yasutomo/devel/moflib/src/build_unix/mof/math && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/yasutomo/devel/moflib/src/mof/math/dummy.cpp > CMakeFiles/mofmath.dir/dummy.cpp.i
 
 mof/math/CMakeFiles/mofmath.dir/dummy.cpp.s: cmake_force
        @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/mofmath.dir/dummy.cpp.s"
-       cd /home/yasutomo/dev/moflib/src/build_unix/mof/math && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/yasutomo/dev/moflib/src/mof/math/dummy.cpp -o CMakeFiles/mofmath.dir/dummy.cpp.s
+       cd /home/yasutomo/devel/moflib/src/build_unix/mof/math && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/yasutomo/devel/moflib/src/mof/math/dummy.cpp -o CMakeFiles/mofmath.dir/dummy.cpp.s
 
 mof/math/CMakeFiles/mofmath.dir/dummy.cpp.o.requires:
 .PHONY : mof/math/CMakeFiles/mofmath.dir/dummy.cpp.o.requires
@@ -77,25 +77,25 @@ mofmath_OBJECTS = \
 # External object files for target mofmath
 mofmath_EXTERNAL_OBJECTS =
 
-/home/yasutomo/dev/moflib/lib/libmofmath.a: mof/math/CMakeFiles/mofmath.dir/dummy.cpp.o
-/home/yasutomo/dev/moflib/lib/libmofmath.a: mof/math/CMakeFiles/mofmath.dir/build.make
-/home/yasutomo/dev/moflib/lib/libmofmath.a: mof/math/CMakeFiles/mofmath.dir/link.txt
-       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX static library /home/yasutomo/dev/moflib/lib/libmofmath.a"
-       cd /home/yasutomo/dev/moflib/src/build_unix/mof/math && $(CMAKE_COMMAND) -P CMakeFiles/mofmath.dir/cmake_clean_target.cmake
-       cd /home/yasutomo/dev/moflib/src/build_unix/mof/math && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/mofmath.dir/link.txt --verbose=$(VERBOSE)
+/home/yasutomo/devel/moflib/lib/libmofmath.a: mof/math/CMakeFiles/mofmath.dir/dummy.cpp.o
+/home/yasutomo/devel/moflib/lib/libmofmath.a: mof/math/CMakeFiles/mofmath.dir/build.make
+/home/yasutomo/devel/moflib/lib/libmofmath.a: mof/math/CMakeFiles/mofmath.dir/link.txt
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX static library /home/yasutomo/devel/moflib/lib/libmofmath.a"
+       cd /home/yasutomo/devel/moflib/src/build_unix/mof/math && $(CMAKE_COMMAND) -P CMakeFiles/mofmath.dir/cmake_clean_target.cmake
+       cd /home/yasutomo/devel/moflib/src/build_unix/mof/math && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/mofmath.dir/link.txt --verbose=$(VERBOSE)
 
 # Rule to build all files generated by this target.
-mof/math/CMakeFiles/mofmath.dir/build: /home/yasutomo/dev/moflib/lib/libmofmath.a
+mof/math/CMakeFiles/mofmath.dir/build: /home/yasutomo/devel/moflib/lib/libmofmath.a
 .PHONY : mof/math/CMakeFiles/mofmath.dir/build
 
 mof/math/CMakeFiles/mofmath.dir/requires: mof/math/CMakeFiles/mofmath.dir/dummy.cpp.o.requires
 .PHONY : mof/math/CMakeFiles/mofmath.dir/requires
 
 mof/math/CMakeFiles/mofmath.dir/clean:
-       cd /home/yasutomo/dev/moflib/src/build_unix/mof/math && $(CMAKE_COMMAND) -P CMakeFiles/mofmath.dir/cmake_clean.cmake
+       cd /home/yasutomo/devel/moflib/src/build_unix/mof/math && $(CMAKE_COMMAND) -P CMakeFiles/mofmath.dir/cmake_clean.cmake
 .PHONY : mof/math/CMakeFiles/mofmath.dir/clean
 
 mof/math/CMakeFiles/mofmath.dir/depend:
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/yasutomo/dev/moflib/src /home/yasutomo/dev/moflib/src/mof/math /home/yasutomo/dev/moflib/src/build_unix /home/yasutomo/dev/moflib/src/build_unix/mof/math /home/yasutomo/dev/moflib/src/build_unix/mof/math/CMakeFiles/mofmath.dir/DependInfo.cmake --color=$(COLOR)
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/yasutomo/devel/moflib/src /home/yasutomo/devel/moflib/src/mof/math /home/yasutomo/devel/moflib/src/build_unix /home/yasutomo/devel/moflib/src/build_unix/mof/math /home/yasutomo/devel/moflib/src/build_unix/mof/math/CMakeFiles/mofmath.dir/DependInfo.cmake --color=$(COLOR)
 .PHONY : mof/math/CMakeFiles/mofmath.dir/depend
 
index 43b19cf..f0740e0 100644 (file)
@@ -1,7 +1,7 @@
 FILE(REMOVE_RECURSE
   "CMakeFiles/mofmath.dir/dummy.cpp.o"
-  "/home/yasutomo/dev/moflib/lib/libmofmath.pdb"
-  "/home/yasutomo/dev/moflib/lib/libmofmath.a"
+  "/home/yasutomo/devel/moflib/lib/libmofmath.pdb"
+  "/home/yasutomo/devel/moflib/lib/libmofmath.a"
 )
 
 # Per-language clean rules from dependency scanning.
index 2f3c217..eaab819 100644 (file)
@@ -2,4 +2,4 @@
 # Generated by "Unix Makefiles" Generator, CMake Version 2.8
 
 mof/math/CMakeFiles/mofmath.dir/dummy.cpp.o
- /home/yasutomo/dev/moflib/src/mof/math/dummy.cpp
+ /home/yasutomo/devel/moflib/src/mof/math/dummy.cpp
index 147a792..4644440 100644 (file)
@@ -2,7 +2,7 @@
 # Generated by "Unix Makefiles" Generator, CMake Version 2.8
 
 # compile CXX with /usr/bin/c++
-CXX_FLAGS = -I/home/yasutomo/dev/moflib/src/../include -I/home/yasutomo/dev/moflib/src/mof/math/BOOST_INCLUDE_DIR  
+CXX_FLAGS = -Wall -Werror -g -DPSTSDK_VALIDATION_LEVEL_FULL -std=c++0x -I/home/yasutomo/devel/moflib/src -I/home/yasutomo/devel/moflib/src/mof/math/BOOST_INCLUDE_DIR  
 
 CXX_DEFINES = 
 
index b2165d8..3d44184 100644 (file)
@@ -1,2 +1,2 @@
-/usr/bin/ar cr /home/yasutomo/dev/moflib/lib/libmofmath.a  CMakeFiles/mofmath.dir/dummy.cpp.o
-/usr/bin/ranlib /home/yasutomo/dev/moflib/lib/libmofmath.a
+/usr/bin/ar cr /home/yasutomo/devel/moflib/lib/libmofmath.a  CMakeFiles/mofmath.dir/dummy.cpp.o
+/usr/bin/ranlib /home/yasutomo/devel/moflib/lib/libmofmath.a
index 551bba5..c9c24df 100644 (file)
@@ -6,19 +6,19 @@
 
 #IncludeRegexTransform: 
 
-../../include/mof/base/mofdef.hpp
+../mof/base/mofdef.hpp
 cstddef
 -
 mof/base/tstring.hpp
 -
 
-../../include/mof/base/tstring.hpp
+../mof/base/tstring.hpp
 string
 -
 tchar.h
 -
 
-../../include/mof/math/basic_vector.hpp
+../mof/math/basic_vector.hpp
 mof/base/mofdef.hpp
 -
 boost/operators.hpp
@@ -26,11 +26,11 @@ boost/operators.hpp
 ostream
 -
 
-../../include/mof/math/vector2.hpp
+../mof/math/vector2.hpp
 mof/math/basic_vector.hpp
 -
 
-/home/yasutomo/dev/moflib/src/mof/math/test/vector2_test.cpp
+/home/yasutomo/devel/moflib/src/mof/math/test/vector2_test.cpp
 mof/math/vector2.hpp
 -
 iostream
index 1254c5a..0ecf270 100644 (file)
@@ -4,11 +4,11 @@ SET(CMAKE_DEPENDS_LANGUAGES
   )
 # The set of files for implicit dependencies of each language:
 SET(CMAKE_DEPENDS_CHECK_CXX
-  "/home/yasutomo/dev/moflib/src/mof/math/test/vector2_test.cpp" "/home/yasutomo/dev/moflib/src/build_unix/mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o"
+  "/home/yasutomo/devel/moflib/src/mof/math/test/vector2_test.cpp" "/home/yasutomo/devel/moflib/src/build_unix/mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o"
   )
 SET(CMAKE_CXX_COMPILER_ID "GNU")
 
 # Targets to which this target links.
 SET(CMAKE_TARGET_LINKED_INFO_FILES
-  "/home/yasutomo/dev/moflib/src/build_unix/mof/math/CMakeFiles/mofmath.dir/DependInfo.cmake"
+  "/home/yasutomo/devel/moflib/src/build_unix/mof/math/CMakeFiles/mofmath.dir/DependInfo.cmake"
   )
index 55f8a06..ce9b21f 100644 (file)
@@ -32,10 +32,10 @@ CMAKE_COMMAND = /usr/bin/cmake
 RM = /usr/bin/cmake -E remove -f
 
 # The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/yasutomo/dev/moflib/src
+CMAKE_SOURCE_DIR = /home/yasutomo/devel/moflib/src
 
 # The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/yasutomo/dev/moflib/src/build_unix
+CMAKE_BINARY_DIR = /home/yasutomo/devel/moflib/src/build_unix
 
 # Include any dependencies generated for this target.
 include mof/math/CMakeFiles/vector2_test.dir/depend.make
@@ -48,17 +48,17 @@ include mof/math/CMakeFiles/vector2_test.dir/flags.make
 
 mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o: mof/math/CMakeFiles/vector2_test.dir/flags.make
 mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o: ../mof/math/test/vector2_test.cpp
-       $(CMAKE_COMMAND) -E cmake_progress_report /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles $(CMAKE_PROGRESS_1)
+       $(CMAKE_COMMAND) -E cmake_progress_report /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles $(CMAKE_PROGRESS_1)
        @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o"
-       cd /home/yasutomo/dev/moflib/src/build_unix/mof/math && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o -c /home/yasutomo/dev/moflib/src/mof/math/test/vector2_test.cpp
+       cd /home/yasutomo/devel/moflib/src/build_unix/mof/math && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o -c /home/yasutomo/devel/moflib/src/mof/math/test/vector2_test.cpp
 
 mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.i: cmake_force
        @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/vector2_test.dir/test/vector2_test.cpp.i"
-       cd /home/yasutomo/dev/moflib/src/build_unix/mof/math && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/yasutomo/dev/moflib/src/mof/math/test/vector2_test.cpp > CMakeFiles/vector2_test.dir/test/vector2_test.cpp.i
+       cd /home/yasutomo/devel/moflib/src/build_unix/mof/math && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/yasutomo/devel/moflib/src/mof/math/test/vector2_test.cpp > CMakeFiles/vector2_test.dir/test/vector2_test.cpp.i
 
 mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.s: cmake_force
        @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/vector2_test.dir/test/vector2_test.cpp.s"
-       cd /home/yasutomo/dev/moflib/src/build_unix/mof/math && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/yasutomo/dev/moflib/src/mof/math/test/vector2_test.cpp -o CMakeFiles/vector2_test.dir/test/vector2_test.cpp.s
+       cd /home/yasutomo/devel/moflib/src/build_unix/mof/math && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/yasutomo/devel/moflib/src/mof/math/test/vector2_test.cpp -o CMakeFiles/vector2_test.dir/test/vector2_test.cpp.s
 
 mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o.requires:
 .PHONY : mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o.requires
@@ -78,11 +78,11 @@ vector2_test_OBJECTS = \
 vector2_test_EXTERNAL_OBJECTS =
 
 ../mof/math/test/testbin/vector2_test: mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o
-../mof/math/test/testbin/vector2_test: /home/yasutomo/dev/moflib/lib/libmofmath.a
+../mof/math/test/testbin/vector2_test: /home/yasutomo/devel/moflib/lib/libmofmath.a
 ../mof/math/test/testbin/vector2_test: mof/math/CMakeFiles/vector2_test.dir/build.make
 ../mof/math/test/testbin/vector2_test: mof/math/CMakeFiles/vector2_test.dir/link.txt
        @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable ../../../mof/math/test/testbin/vector2_test"
-       cd /home/yasutomo/dev/moflib/src/build_unix/mof/math && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/vector2_test.dir/link.txt --verbose=$(VERBOSE)
+       cd /home/yasutomo/devel/moflib/src/build_unix/mof/math && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/vector2_test.dir/link.txt --verbose=$(VERBOSE)
 
 # Rule to build all files generated by this target.
 mof/math/CMakeFiles/vector2_test.dir/build: ../mof/math/test/testbin/vector2_test
@@ -92,10 +92,10 @@ mof/math/CMakeFiles/vector2_test.dir/requires: mof/math/CMakeFiles/vector2_test.
 .PHONY : mof/math/CMakeFiles/vector2_test.dir/requires
 
 mof/math/CMakeFiles/vector2_test.dir/clean:
-       cd /home/yasutomo/dev/moflib/src/build_unix/mof/math && $(CMAKE_COMMAND) -P CMakeFiles/vector2_test.dir/cmake_clean.cmake
+       cd /home/yasutomo/devel/moflib/src/build_unix/mof/math && $(CMAKE_COMMAND) -P CMakeFiles/vector2_test.dir/cmake_clean.cmake
 .PHONY : mof/math/CMakeFiles/vector2_test.dir/clean
 
 mof/math/CMakeFiles/vector2_test.dir/depend:
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/yasutomo/dev/moflib/src /home/yasutomo/dev/moflib/src/mof/math /home/yasutomo/dev/moflib/src/build_unix /home/yasutomo/dev/moflib/src/build_unix/mof/math /home/yasutomo/dev/moflib/src/build_unix/mof/math/CMakeFiles/vector2_test.dir/DependInfo.cmake --color=$(COLOR)
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/yasutomo/devel/moflib/src /home/yasutomo/devel/moflib/src/mof/math /home/yasutomo/devel/moflib/src/build_unix /home/yasutomo/devel/moflib/src/build_unix/mof/math /home/yasutomo/devel/moflib/src/build_unix/mof/math/CMakeFiles/vector2_test.dir/DependInfo.cmake --color=$(COLOR)
 .PHONY : mof/math/CMakeFiles/vector2_test.dir/depend
 
index 2da5bef..2c5014a 100644 (file)
@@ -2,8 +2,8 @@
 # Generated by "Unix Makefiles" Generator, CMake Version 2.8
 
 mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o
- ../../include/mof/base/mofdef.hpp
- ../../include/mof/base/tstring.hpp
- ../../include/mof/math/basic_vector.hpp
- ../../include/mof/math/vector2.hpp
- /home/yasutomo/dev/moflib/src/mof/math/test/vector2_test.cpp
+ ../mof/base/mofdef.hpp
+ ../mof/base/tstring.hpp
+ ../mof/math/basic_vector.hpp
+ ../mof/math/vector2.hpp
+ /home/yasutomo/devel/moflib/src/mof/math/test/vector2_test.cpp
index e856066..e61d75d 100644 (file)
@@ -1,9 +1,9 @@
 # CMAKE generated file: DO NOT EDIT!
 # Generated by "Unix Makefiles" Generator, CMake Version 2.8
 
-mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o: ../../include/mof/base/mofdef.hpp
-mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o: ../../include/mof/base/tstring.hpp
-mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o: ../../include/mof/math/basic_vector.hpp
-mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o: ../../include/mof/math/vector2.hpp
+mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o: ../mof/base/mofdef.hpp
+mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o: ../mof/base/tstring.hpp
+mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o: ../mof/math/basic_vector.hpp
+mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o: ../mof/math/vector2.hpp
 mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o: ../mof/math/test/vector2_test.cpp
 
index 147a792..4644440 100644 (file)
@@ -2,7 +2,7 @@
 # Generated by "Unix Makefiles" Generator, CMake Version 2.8
 
 # compile CXX with /usr/bin/c++
-CXX_FLAGS = -I/home/yasutomo/dev/moflib/src/../include -I/home/yasutomo/dev/moflib/src/mof/math/BOOST_INCLUDE_DIR  
+CXX_FLAGS = -Wall -Werror -g -DPSTSDK_VALIDATION_LEVEL_FULL -std=c++0x -I/home/yasutomo/devel/moflib/src -I/home/yasutomo/devel/moflib/src/mof/math/BOOST_INCLUDE_DIR  
 
 CXX_DEFINES = 
 
index 66c6e01..9a70ada 100644 (file)
@@ -1 +1 @@
-/usr/bin/c++      CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o  -o ../../../mof/math/test/testbin/vector2_test -rdynamic -L/home/yasutomo/dev/moflib/src/../lib /home/yasutomo/dev/moflib/lib/libmofmath.a -Wl,-rpath,/home/yasutomo/dev/moflib/src/../lib 
+/usr/bin/c++   -Wall -Werror -g -DPSTSDK_VALIDATION_LEVEL_FULL -std=c++0x   CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o  -o ../../../mof/math/test/testbin/vector2_test -rdynamic -L/home/yasutomo/devel/moflib/src/../lib /home/yasutomo/devel/moflib/lib/libmofmath.a -Wl,-rpath,/home/yasutomo/devel/moflib/src/../lib 
index f8220a5..b26e252 100644 (file)
@@ -6,19 +6,19 @@
 
 #IncludeRegexTransform: 
 
-../../include/mof/base/mofdef.hpp
+../mof/base/mofdef.hpp
 cstddef
 -
 mof/base/tstring.hpp
 -
 
-../../include/mof/base/tstring.hpp
+../mof/base/tstring.hpp
 string
 -
 tchar.h
 -
 
-../../include/mof/math/basic_vector.hpp
+../mof/math/basic_vector.hpp
 mof/base/mofdef.hpp
 -
 boost/operators.hpp
@@ -26,17 +26,17 @@ boost/operators.hpp
 ostream
 -
 
-../../include/mof/math/vector2.hpp
+../mof/math/vector2.hpp
 mof/math/basic_vector.hpp
 -
 
-../../include/mof/math/vector3.hpp
+../mof/math/vector3.hpp
 mof/math/basic_vector.hpp
 -
 mof/math/vector2.hpp
 -
 
-/home/yasutomo/dev/moflib/src/mof/math/test/vector3_test.cpp
+/home/yasutomo/devel/moflib/src/mof/math/test/vector3_test.cpp
 mof/math/vector3.hpp
 -
 iostream
index a75d604..4ce0d54 100644 (file)
@@ -4,11 +4,11 @@ SET(CMAKE_DEPENDS_LANGUAGES
   )
 # The set of files for implicit dependencies of each language:
 SET(CMAKE_DEPENDS_CHECK_CXX
-  "/home/yasutomo/dev/moflib/src/mof/math/test/vector3_test.cpp" "/home/yasutomo/dev/moflib/src/build_unix/mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o"
+  "/home/yasutomo/devel/moflib/src/mof/math/test/vector3_test.cpp" "/home/yasutomo/devel/moflib/src/build_unix/mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o"
   )
 SET(CMAKE_CXX_COMPILER_ID "GNU")
 
 # Targets to which this target links.
 SET(CMAKE_TARGET_LINKED_INFO_FILES
-  "/home/yasutomo/dev/moflib/src/build_unix/mof/math/CMakeFiles/mofmath.dir/DependInfo.cmake"
+  "/home/yasutomo/devel/moflib/src/build_unix/mof/math/CMakeFiles/mofmath.dir/DependInfo.cmake"
   )
index 65c7563..01c72ce 100644 (file)
@@ -32,10 +32,10 @@ CMAKE_COMMAND = /usr/bin/cmake
 RM = /usr/bin/cmake -E remove -f
 
 # The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/yasutomo/dev/moflib/src
+CMAKE_SOURCE_DIR = /home/yasutomo/devel/moflib/src
 
 # The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/yasutomo/dev/moflib/src/build_unix
+CMAKE_BINARY_DIR = /home/yasutomo/devel/moflib/src/build_unix
 
 # Include any dependencies generated for this target.
 include mof/math/CMakeFiles/vector3_test.dir/depend.make
@@ -48,17 +48,17 @@ include mof/math/CMakeFiles/vector3_test.dir/flags.make
 
 mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o: mof/math/CMakeFiles/vector3_test.dir/flags.make
 mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o: ../mof/math/test/vector3_test.cpp
-       $(CMAKE_COMMAND) -E cmake_progress_report /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles $(CMAKE_PROGRESS_1)
+       $(CMAKE_COMMAND) -E cmake_progress_report /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles $(CMAKE_PROGRESS_1)
        @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o"
-       cd /home/yasutomo/dev/moflib/src/build_unix/mof/math && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o -c /home/yasutomo/dev/moflib/src/mof/math/test/vector3_test.cpp
+       cd /home/yasutomo/devel/moflib/src/build_unix/mof/math && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o -c /home/yasutomo/devel/moflib/src/mof/math/test/vector3_test.cpp
 
 mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.i: cmake_force
        @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/vector3_test.dir/test/vector3_test.cpp.i"
-       cd /home/yasutomo/dev/moflib/src/build_unix/mof/math && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/yasutomo/dev/moflib/src/mof/math/test/vector3_test.cpp > CMakeFiles/vector3_test.dir/test/vector3_test.cpp.i
+       cd /home/yasutomo/devel/moflib/src/build_unix/mof/math && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/yasutomo/devel/moflib/src/mof/math/test/vector3_test.cpp > CMakeFiles/vector3_test.dir/test/vector3_test.cpp.i
 
 mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.s: cmake_force
        @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/vector3_test.dir/test/vector3_test.cpp.s"
-       cd /home/yasutomo/dev/moflib/src/build_unix/mof/math && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/yasutomo/dev/moflib/src/mof/math/test/vector3_test.cpp -o CMakeFiles/vector3_test.dir/test/vector3_test.cpp.s
+       cd /home/yasutomo/devel/moflib/src/build_unix/mof/math && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/yasutomo/devel/moflib/src/mof/math/test/vector3_test.cpp -o CMakeFiles/vector3_test.dir/test/vector3_test.cpp.s
 
 mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o.requires:
 .PHONY : mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o.requires
@@ -78,11 +78,11 @@ vector3_test_OBJECTS = \
 vector3_test_EXTERNAL_OBJECTS =
 
 ../mof/math/test/testbin/vector3_test: mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o
-../mof/math/test/testbin/vector3_test: /home/yasutomo/dev/moflib/lib/libmofmath.a
+../mof/math/test/testbin/vector3_test: /home/yasutomo/devel/moflib/lib/libmofmath.a
 ../mof/math/test/testbin/vector3_test: mof/math/CMakeFiles/vector3_test.dir/build.make
 ../mof/math/test/testbin/vector3_test: mof/math/CMakeFiles/vector3_test.dir/link.txt
        @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable ../../../mof/math/test/testbin/vector3_test"
-       cd /home/yasutomo/dev/moflib/src/build_unix/mof/math && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/vector3_test.dir/link.txt --verbose=$(VERBOSE)
+       cd /home/yasutomo/devel/moflib/src/build_unix/mof/math && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/vector3_test.dir/link.txt --verbose=$(VERBOSE)
 
 # Rule to build all files generated by this target.
 mof/math/CMakeFiles/vector3_test.dir/build: ../mof/math/test/testbin/vector3_test
@@ -92,10 +92,10 @@ mof/math/CMakeFiles/vector3_test.dir/requires: mof/math/CMakeFiles/vector3_test.
 .PHONY : mof/math/CMakeFiles/vector3_test.dir/requires
 
 mof/math/CMakeFiles/vector3_test.dir/clean:
-       cd /home/yasutomo/dev/moflib/src/build_unix/mof/math && $(CMAKE_COMMAND) -P CMakeFiles/vector3_test.dir/cmake_clean.cmake
+       cd /home/yasutomo/devel/moflib/src/build_unix/mof/math && $(CMAKE_COMMAND) -P CMakeFiles/vector3_test.dir/cmake_clean.cmake
 .PHONY : mof/math/CMakeFiles/vector3_test.dir/clean
 
 mof/math/CMakeFiles/vector3_test.dir/depend:
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/yasutomo/dev/moflib/src /home/yasutomo/dev/moflib/src/mof/math /home/yasutomo/dev/moflib/src/build_unix /home/yasutomo/dev/moflib/src/build_unix/mof/math /home/yasutomo/dev/moflib/src/build_unix/mof/math/CMakeFiles/vector3_test.dir/DependInfo.cmake --color=$(COLOR)
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/yasutomo/devel/moflib/src /home/yasutomo/devel/moflib/src/mof/math /home/yasutomo/devel/moflib/src/build_unix /home/yasutomo/devel/moflib/src/build_unix/mof/math /home/yasutomo/devel/moflib/src/build_unix/mof/math/CMakeFiles/vector3_test.dir/DependInfo.cmake --color=$(COLOR)
 .PHONY : mof/math/CMakeFiles/vector3_test.dir/depend
 
index c371c55..85aa35b 100644 (file)
@@ -2,9 +2,9 @@
 # Generated by "Unix Makefiles" Generator, CMake Version 2.8
 
 mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o
- ../../include/mof/base/mofdef.hpp
- ../../include/mof/base/tstring.hpp
- ../../include/mof/math/basic_vector.hpp
- ../../include/mof/math/vector2.hpp
- ../../include/mof/math/vector3.hpp
- /home/yasutomo/dev/moflib/src/mof/math/test/vector3_test.cpp
+ ../mof/base/mofdef.hpp
+ ../mof/base/tstring.hpp
+ ../mof/math/basic_vector.hpp
+ ../mof/math/vector2.hpp
+ ../mof/math/vector3.hpp
+ /home/yasutomo/devel/moflib/src/mof/math/test/vector3_test.cpp
index cc84fd7..cb405b0 100644 (file)
@@ -1,10 +1,10 @@
 # CMAKE generated file: DO NOT EDIT!
 # Generated by "Unix Makefiles" Generator, CMake Version 2.8
 
-mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o: ../../include/mof/base/mofdef.hpp
-mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o: ../../include/mof/base/tstring.hpp
-mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o: ../../include/mof/math/basic_vector.hpp
-mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o: ../../include/mof/math/vector2.hpp
-mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o: ../../include/mof/math/vector3.hpp
+mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o: ../mof/base/mofdef.hpp
+mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o: ../mof/base/tstring.hpp
+mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o: ../mof/math/basic_vector.hpp
+mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o: ../mof/math/vector2.hpp
+mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o: ../mof/math/vector3.hpp
 mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o: ../mof/math/test/vector3_test.cpp
 
index 147a792..4644440 100644 (file)
@@ -2,7 +2,7 @@
 # Generated by "Unix Makefiles" Generator, CMake Version 2.8
 
 # compile CXX with /usr/bin/c++
-CXX_FLAGS = -I/home/yasutomo/dev/moflib/src/../include -I/home/yasutomo/dev/moflib/src/mof/math/BOOST_INCLUDE_DIR  
+CXX_FLAGS = -Wall -Werror -g -DPSTSDK_VALIDATION_LEVEL_FULL -std=c++0x -I/home/yasutomo/devel/moflib/src -I/home/yasutomo/devel/moflib/src/mof/math/BOOST_INCLUDE_DIR  
 
 CXX_DEFINES = 
 
index dddd15f..fab204a 100644 (file)
@@ -1 +1 @@
-/usr/bin/c++      CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o  -o ../../../mof/math/test/testbin/vector3_test -rdynamic -L/home/yasutomo/dev/moflib/src/../lib /home/yasutomo/dev/moflib/lib/libmofmath.a -Wl,-rpath,/home/yasutomo/dev/moflib/src/../lib 
+/usr/bin/c++   -Wall -Werror -g -DPSTSDK_VALIDATION_LEVEL_FULL -std=c++0x   CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o  -o ../../../mof/math/test/testbin/vector3_test -rdynamic -L/home/yasutomo/devel/moflib/src/../lib /home/yasutomo/devel/moflib/lib/libmofmath.a -Wl,-rpath,/home/yasutomo/devel/moflib/src/../lib 
index daf3fa5..ab03395 100644 (file)
@@ -1,8 +1,8 @@
 # CMake generated Testfile for 
-# Source directory: /home/yasutomo/dev/moflib/src/mof/math
-# Build directory: /home/yasutomo/dev/moflib/src/build_unix/mof/math
+# Source directory: /home/yasutomo/devel/moflib/src/mof/math
+# Build directory: /home/yasutomo/devel/moflib/src/build_unix/mof/math
 # 
 # This file includes the relevent testing commands required for 
 # testing this directory and lists subdirectories to be tested as well.
-ADD_TEST(vector2_test "/home/yasutomo/dev/moflib/src/mof/math/test/testbin/vector2_test")
-ADD_TEST(vector3_test "/home/yasutomo/dev/moflib/src/mof/math/test/testbin/vector3_test")
+ADD_TEST(vector2_test "/home/yasutomo/devel/moflib/src/mof/math/test/testbin/vector2_test")
+ADD_TEST(vector3_test "/home/yasutomo/devel/moflib/src/mof/math/test/testbin/vector3_test")
index 941c960..de348d6 100644 (file)
@@ -36,10 +36,10 @@ CMAKE_COMMAND = /usr/bin/cmake
 RM = /usr/bin/cmake -E remove -f
 
 # The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/yasutomo/dev/moflib/src
+CMAKE_SOURCE_DIR = /home/yasutomo/devel/moflib/src
 
 # The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/yasutomo/dev/moflib/src/build_unix
+CMAKE_BINARY_DIR = /home/yasutomo/devel/moflib/src/build_unix
 
 #=============================================================================
 # Targets provided globally by CMake.
@@ -54,6 +54,47 @@ edit_cache:
 edit_cache/fast: edit_cache
 .PHONY : edit_cache/fast
 
+# Special rule for the target install
+install: preinstall
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
+       /usr/bin/cmake -P cmake_install.cmake
+.PHONY : install
+
+# Special rule for the target install
+install/fast: preinstall/fast
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
+       /usr/bin/cmake -P cmake_install.cmake
+.PHONY : install/fast
+
+# Special rule for the target install/local
+install/local: preinstall
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
+       /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
+.PHONY : install/local
+
+# Special rule for the target install/local
+install/local/fast: install/local
+.PHONY : install/local/fast
+
+# Special rule for the target install/strip
+install/strip: preinstall
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
+       /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
+.PHONY : install/strip
+
+# Special rule for the target install/strip
+install/strip/fast: install/strip
+.PHONY : install/strip/fast
+
+# Special rule for the target list_install_components
+list_install_components:
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
+.PHONY : list_install_components
+
+# Special rule for the target list_install_components
+list_install_components/fast: list_install_components
+.PHONY : list_install_components/fast
+
 # Special rule for the target rebuild_cache
 rebuild_cache:
        @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
@@ -76,14 +117,14 @@ test/fast: test
 
 # The main all target
 all: cmake_check_build_system
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles /home/yasutomo/dev/moflib/src/build_unix/mof/math/CMakeFiles/progress.marks
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(MAKE) -f CMakeFiles/Makefile2 mof/math/all
-       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/dev/moflib/src/build_unix/CMakeFiles 0
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles /home/yasutomo/devel/moflib/src/build_unix/mof/math/CMakeFiles/progress.marks
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f CMakeFiles/Makefile2 mof/math/all
+       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles 0
 .PHONY : all
 
 # The main clean target
 clean:
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(MAKE) -f CMakeFiles/Makefile2 mof/math/clean
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f CMakeFiles/Makefile2 mof/math/clean
 .PHONY : clean
 
 # The main clean target
@@ -92,22 +133,22 @@ clean/fast: clean
 
 # Prepare targets for installation.
 preinstall: all
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(MAKE) -f CMakeFiles/Makefile2 mof/math/preinstall
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f CMakeFiles/Makefile2 mof/math/preinstall
 .PHONY : preinstall
 
 # Prepare targets for installation.
 preinstall/fast:
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(MAKE) -f CMakeFiles/Makefile2 mof/math/preinstall
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f CMakeFiles/Makefile2 mof/math/preinstall
 .PHONY : preinstall/fast
 
 # clear depends
 depend:
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
 .PHONY : depend
 
 # Convenience name for target.
 mof/math/CMakeFiles/mofmath.dir/rule:
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(MAKE) -f CMakeFiles/Makefile2 mof/math/CMakeFiles/mofmath.dir/rule
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f CMakeFiles/Makefile2 mof/math/CMakeFiles/mofmath.dir/rule
 .PHONY : mof/math/CMakeFiles/mofmath.dir/rule
 
 # Convenience name for target.
@@ -116,12 +157,12 @@ mofmath: mof/math/CMakeFiles/mofmath.dir/rule
 
 # fast build rule for target.
 mofmath/fast:
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/mofmath.dir/build.make mof/math/CMakeFiles/mofmath.dir/build
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/mofmath.dir/build.make mof/math/CMakeFiles/mofmath.dir/build
 .PHONY : mofmath/fast
 
 # Convenience name for target.
 mof/math/CMakeFiles/vector2_test.dir/rule:
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(MAKE) -f CMakeFiles/Makefile2 mof/math/CMakeFiles/vector2_test.dir/rule
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f CMakeFiles/Makefile2 mof/math/CMakeFiles/vector2_test.dir/rule
 .PHONY : mof/math/CMakeFiles/vector2_test.dir/rule
 
 # Convenience name for target.
@@ -130,12 +171,12 @@ vector2_test: mof/math/CMakeFiles/vector2_test.dir/rule
 
 # fast build rule for target.
 vector2_test/fast:
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/vector2_test.dir/build.make mof/math/CMakeFiles/vector2_test.dir/build
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/vector2_test.dir/build.make mof/math/CMakeFiles/vector2_test.dir/build
 .PHONY : vector2_test/fast
 
 # Convenience name for target.
 mof/math/CMakeFiles/vector3_test.dir/rule:
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(MAKE) -f CMakeFiles/Makefile2 mof/math/CMakeFiles/vector3_test.dir/rule
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f CMakeFiles/Makefile2 mof/math/CMakeFiles/vector3_test.dir/rule
 .PHONY : mof/math/CMakeFiles/vector3_test.dir/rule
 
 # Convenience name for target.
@@ -144,7 +185,7 @@ vector3_test: mof/math/CMakeFiles/vector3_test.dir/rule
 
 # fast build rule for target.
 vector3_test/fast:
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/vector3_test.dir/build.make mof/math/CMakeFiles/vector3_test.dir/build
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/vector3_test.dir/build.make mof/math/CMakeFiles/vector3_test.dir/build
 .PHONY : vector3_test/fast
 
 dummy.o: dummy.cpp.o
@@ -152,7 +193,7 @@ dummy.o: dummy.cpp.o
 
 # target to build an object file
 dummy.cpp.o:
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/mofmath.dir/build.make mof/math/CMakeFiles/mofmath.dir/dummy.cpp.o
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/mofmath.dir/build.make mof/math/CMakeFiles/mofmath.dir/dummy.cpp.o
 .PHONY : dummy.cpp.o
 
 dummy.i: dummy.cpp.i
@@ -160,7 +201,7 @@ dummy.i: dummy.cpp.i
 
 # target to preprocess a source file
 dummy.cpp.i:
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/mofmath.dir/build.make mof/math/CMakeFiles/mofmath.dir/dummy.cpp.i
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/mofmath.dir/build.make mof/math/CMakeFiles/mofmath.dir/dummy.cpp.i
 .PHONY : dummy.cpp.i
 
 dummy.s: dummy.cpp.s
@@ -168,7 +209,7 @@ dummy.s: dummy.cpp.s
 
 # target to generate assembly for a file
 dummy.cpp.s:
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/mofmath.dir/build.make mof/math/CMakeFiles/mofmath.dir/dummy.cpp.s
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/mofmath.dir/build.make mof/math/CMakeFiles/mofmath.dir/dummy.cpp.s
 .PHONY : dummy.cpp.s
 
 test/vector2_test.o: test/vector2_test.cpp.o
@@ -176,7 +217,7 @@ test/vector2_test.o: test/vector2_test.cpp.o
 
 # target to build an object file
 test/vector2_test.cpp.o:
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/vector2_test.dir/build.make mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/vector2_test.dir/build.make mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.o
 .PHONY : test/vector2_test.cpp.o
 
 test/vector2_test.i: test/vector2_test.cpp.i
@@ -184,7 +225,7 @@ test/vector2_test.i: test/vector2_test.cpp.i
 
 # target to preprocess a source file
 test/vector2_test.cpp.i:
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/vector2_test.dir/build.make mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.i
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/vector2_test.dir/build.make mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.i
 .PHONY : test/vector2_test.cpp.i
 
 test/vector2_test.s: test/vector2_test.cpp.s
@@ -192,7 +233,7 @@ test/vector2_test.s: test/vector2_test.cpp.s
 
 # target to generate assembly for a file
 test/vector2_test.cpp.s:
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/vector2_test.dir/build.make mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.s
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/vector2_test.dir/build.make mof/math/CMakeFiles/vector2_test.dir/test/vector2_test.cpp.s
 .PHONY : test/vector2_test.cpp.s
 
 test/vector3_test.o: test/vector3_test.cpp.o
@@ -200,7 +241,7 @@ test/vector3_test.o: test/vector3_test.cpp.o
 
 # target to build an object file
 test/vector3_test.cpp.o:
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/vector3_test.dir/build.make mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/vector3_test.dir/build.make mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.o
 .PHONY : test/vector3_test.cpp.o
 
 test/vector3_test.i: test/vector3_test.cpp.i
@@ -208,7 +249,7 @@ test/vector3_test.i: test/vector3_test.cpp.i
 
 # target to preprocess a source file
 test/vector3_test.cpp.i:
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/vector3_test.dir/build.make mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.i
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/vector3_test.dir/build.make mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.i
 .PHONY : test/vector3_test.cpp.i
 
 test/vector3_test.s: test/vector3_test.cpp.s
@@ -216,7 +257,7 @@ test/vector3_test.s: test/vector3_test.cpp.s
 
 # target to generate assembly for a file
 test/vector3_test.cpp.s:
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/vector3_test.dir/build.make mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.s
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f mof/math/CMakeFiles/vector3_test.dir/build.make mof/math/CMakeFiles/vector3_test.dir/test/vector3_test.cpp.s
 .PHONY : test/vector3_test.cpp.s
 
 # Help Target
@@ -226,6 +267,10 @@ help:
        @echo "... clean"
        @echo "... depend"
        @echo "... edit_cache"
+       @echo "... install"
+       @echo "... install/local"
+       @echo "... install/strip"
+       @echo "... list_install_components"
        @echo "... mofmath"
        @echo "... rebuild_cache"
        @echo "... test"
@@ -251,6 +296,6 @@ help:
 # No rule that depends on this can have commands that come from listfiles
 # because they might be regenerated.
 cmake_check_build_system:
-       cd /home/yasutomo/dev/moflib/src/build_unix && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
 .PHONY : cmake_check_build_system
 
index 2f378bf..896c15f 100644 (file)
@@ -1,4 +1,4 @@
-# Install script for directory: /home/yasutomo/dev/moflib/src/mof/math
+# Install script for directory: /home/yasutomo/devel/moflib/src/mof/math
 
 # Set the install prefix
 IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
@@ -32,3 +32,12 @@ IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
   SET(CMAKE_INSTALL_SO_NO_EXE "1")
 ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
 
+IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  FILE(INSTALL DESTINATION "/home/yasutomo/devel/moflib/src/../include/mof/math" TYPE FILE FILES
+    "/home/yasutomo/devel/moflib/src/mof/math/basic_vector.hpp"
+    "/home/yasutomo/devel/moflib/src/mof/math/vector3.hpp"
+    "/home/yasutomo/devel/moflib/src/mof/math/vector.hpp"
+    "/home/yasutomo/devel/moflib/src/mof/math/vector2.hpp"
+    )
+ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+
diff --git a/src/build_unix/mof/util/CMakeFiles/CMakeDirectoryInformation.cmake b/src/build_unix/mof/util/CMakeFiles/CMakeDirectoryInformation.cmake
new file mode 100644 (file)
index 0000000..f338302
--- /dev/null
@@ -0,0 +1,23 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# Relative path conversion top directories.
+SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/yasutomo/devel/moflib/src")
+SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/yasutomo/devel/moflib/src/build_unix")
+
+# Force unix paths in dependencies.
+SET(CMAKE_FORCE_UNIX_PATHS 1)
+
+# The C and CXX include file search paths:
+SET(CMAKE_C_INCLUDE_PATH
+  ".."
+  "../mof/util/BOOST_INCLUDE_DIR"
+  )
+SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
+SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
+
+# The C and CXX include file regular expressions for this directory.
+SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
+SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
+SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
+SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
diff --git a/src/build_unix/mof/util/CMakeFiles/mofutil.dir/CXX.includecache b/src/build_unix/mof/util/CMakeFiles/mofutil.dir/CXX.includecache
new file mode 100644 (file)
index 0000000..9ff9e6f
--- /dev/null
@@ -0,0 +1,20 @@
+#IncludeRegexLine: ^[  ]*#[    ]*(include|import)[     ]*[<"]([^">]+)([">])
+
+#IncludeRegexScan: ^.*$
+
+#IncludeRegexComplain: ^$
+
+#IncludeRegexTransform: 
+
+../mof/util/multimedia_timer.hpp
+memory
+-
+boost/utility.hpp
+-
+
+/home/yasutomo/devel/moflib/src/mof/util/multimedia_timer.cpp
+mof/util/multimedia_timer.hpp
+-
+ctime
+-
+
diff --git a/src/build_unix/mof/util/CMakeFiles/mofutil.dir/DependInfo.cmake b/src/build_unix/mof/util/CMakeFiles/mofutil.dir/DependInfo.cmake
new file mode 100644 (file)
index 0000000..71834f9
--- /dev/null
@@ -0,0 +1,13 @@
+# The set of languages for which implicit dependencies are needed:
+SET(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+SET(CMAKE_DEPENDS_CHECK_CXX
+  "/home/yasutomo/devel/moflib/src/mof/util/multimedia_timer.cpp" "/home/yasutomo/devel/moflib/src/build_unix/mof/util/CMakeFiles/mofutil.dir/multimedia_timer.cpp.o"
+  )
+SET(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Targets to which this target links.
+SET(CMAKE_TARGET_LINKED_INFO_FILES
+  )
diff --git a/src/build_unix/mof/util/CMakeFiles/mofutil.dir/build.make b/src/build_unix/mof/util/CMakeFiles/mofutil.dir/build.make
new file mode 100644 (file)
index 0000000..ec18925
--- /dev/null
@@ -0,0 +1,101 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canoncical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/yasutomo/devel/moflib/src
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/yasutomo/devel/moflib/src/build_unix
+
+# Include any dependencies generated for this target.
+include mof/util/CMakeFiles/mofutil.dir/depend.make
+
+# Include the progress variables for this target.
+include mof/util/CMakeFiles/mofutil.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include mof/util/CMakeFiles/mofutil.dir/flags.make
+
+mof/util/CMakeFiles/mofutil.dir/multimedia_timer.cpp.o: mof/util/CMakeFiles/mofutil.dir/flags.make
+mof/util/CMakeFiles/mofutil.dir/multimedia_timer.cpp.o: ../mof/util/multimedia_timer.cpp
+       $(CMAKE_COMMAND) -E cmake_progress_report /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles $(CMAKE_PROGRESS_1)
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object mof/util/CMakeFiles/mofutil.dir/multimedia_timer.cpp.o"
+       cd /home/yasutomo/devel/moflib/src/build_unix/mof/util && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/mofutil.dir/multimedia_timer.cpp.o -c /home/yasutomo/devel/moflib/src/mof/util/multimedia_timer.cpp
+
+mof/util/CMakeFiles/mofutil.dir/multimedia_timer.cpp.i: cmake_force
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/mofutil.dir/multimedia_timer.cpp.i"
+       cd /home/yasutomo/devel/moflib/src/build_unix/mof/util && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/yasutomo/devel/moflib/src/mof/util/multimedia_timer.cpp > CMakeFiles/mofutil.dir/multimedia_timer.cpp.i
+
+mof/util/CMakeFiles/mofutil.dir/multimedia_timer.cpp.s: cmake_force
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/mofutil.dir/multimedia_timer.cpp.s"
+       cd /home/yasutomo/devel/moflib/src/build_unix/mof/util && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/yasutomo/devel/moflib/src/mof/util/multimedia_timer.cpp -o CMakeFiles/mofutil.dir/multimedia_timer.cpp.s
+
+mof/util/CMakeFiles/mofutil.dir/multimedia_timer.cpp.o.requires:
+.PHONY : mof/util/CMakeFiles/mofutil.dir/multimedia_timer.cpp.o.requires
+
+mof/util/CMakeFiles/mofutil.dir/multimedia_timer.cpp.o.provides: mof/util/CMakeFiles/mofutil.dir/multimedia_timer.cpp.o.requires
+       $(MAKE) -f mof/util/CMakeFiles/mofutil.dir/build.make mof/util/CMakeFiles/mofutil.dir/multimedia_timer.cpp.o.provides.build
+.PHONY : mof/util/CMakeFiles/mofutil.dir/multimedia_timer.cpp.o.provides
+
+mof/util/CMakeFiles/mofutil.dir/multimedia_timer.cpp.o.provides.build: mof/util/CMakeFiles/mofutil.dir/multimedia_timer.cpp.o
+.PHONY : mof/util/CMakeFiles/mofutil.dir/multimedia_timer.cpp.o.provides.build
+
+# Object files for target mofutil
+mofutil_OBJECTS = \
+"CMakeFiles/mofutil.dir/multimedia_timer.cpp.o"
+
+# External object files for target mofutil
+mofutil_EXTERNAL_OBJECTS =
+
+/home/yasutomo/devel/moflib/lib/libmofutil.a: mof/util/CMakeFiles/mofutil.dir/multimedia_timer.cpp.o
+/home/yasutomo/devel/moflib/lib/libmofutil.a: mof/util/CMakeFiles/mofutil.dir/build.make
+/home/yasutomo/devel/moflib/lib/libmofutil.a: mof/util/CMakeFiles/mofutil.dir/link.txt
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX static library /home/yasutomo/devel/moflib/lib/libmofutil.a"
+       cd /home/yasutomo/devel/moflib/src/build_unix/mof/util && $(CMAKE_COMMAND) -P CMakeFiles/mofutil.dir/cmake_clean_target.cmake
+       cd /home/yasutomo/devel/moflib/src/build_unix/mof/util && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/mofutil.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+mof/util/CMakeFiles/mofutil.dir/build: /home/yasutomo/devel/moflib/lib/libmofutil.a
+.PHONY : mof/util/CMakeFiles/mofutil.dir/build
+
+mof/util/CMakeFiles/mofutil.dir/requires: mof/util/CMakeFiles/mofutil.dir/multimedia_timer.cpp.o.requires
+.PHONY : mof/util/CMakeFiles/mofutil.dir/requires
+
+mof/util/CMakeFiles/mofutil.dir/clean:
+       cd /home/yasutomo/devel/moflib/src/build_unix/mof/util && $(CMAKE_COMMAND) -P CMakeFiles/mofutil.dir/cmake_clean.cmake
+.PHONY : mof/util/CMakeFiles/mofutil.dir/clean
+
+mof/util/CMakeFiles/mofutil.dir/depend:
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/yasutomo/devel/moflib/src /home/yasutomo/devel/moflib/src/mof/util /home/yasutomo/devel/moflib/src/build_unix /home/yasutomo/devel/moflib/src/build_unix/mof/util /home/yasutomo/devel/moflib/src/build_unix/mof/util/CMakeFiles/mofutil.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : mof/util/CMakeFiles/mofutil.dir/depend
+
diff --git a/src/build_unix/mof/util/CMakeFiles/mofutil.dir/cmake_clean.cmake b/src/build_unix/mof/util/CMakeFiles/mofutil.dir/cmake_clean.cmake
new file mode 100644 (file)
index 0000000..13eb588
--- /dev/null
@@ -0,0 +1,10 @@
+FILE(REMOVE_RECURSE
+  "CMakeFiles/mofutil.dir/multimedia_timer.cpp.o"
+  "/home/yasutomo/devel/moflib/lib/libmofutil.pdb"
+  "/home/yasutomo/devel/moflib/lib/libmofutil.a"
+)
+
+# Per-language clean rules from dependency scanning.
+FOREACH(lang CXX)
+  INCLUDE(CMakeFiles/mofutil.dir/cmake_clean_${lang}.cmake OPTIONAL)
+ENDFOREACH(lang)
diff --git a/src/build_unix/mof/util/CMakeFiles/mofutil.dir/cmake_clean_target.cmake b/src/build_unix/mof/util/CMakeFiles/mofutil.dir/cmake_clean_target.cmake
new file mode 100644 (file)
index 0000000..a6f9254
--- /dev/null
@@ -0,0 +1,3 @@
+FILE(REMOVE_RECURSE
+  "/home/yasutomo/devel/moflib/lib/libmofutil.a"
+)
diff --git a/src/build_unix/mof/util/CMakeFiles/mofutil.dir/depend.internal b/src/build_unix/mof/util/CMakeFiles/mofutil.dir/depend.internal
new file mode 100644 (file)
index 0000000..9cc9f8e
--- /dev/null
@@ -0,0 +1,6 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+mof/util/CMakeFiles/mofutil.dir/multimedia_timer.cpp.o
+ ../mof/util/multimedia_timer.hpp
+ /home/yasutomo/devel/moflib/src/mof/util/multimedia_timer.cpp
diff --git a/src/build_unix/mof/util/CMakeFiles/mofutil.dir/depend.make b/src/build_unix/mof/util/CMakeFiles/mofutil.dir/depend.make
new file mode 100644 (file)
index 0000000..7ba77fd
--- /dev/null
@@ -0,0 +1,6 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+mof/util/CMakeFiles/mofutil.dir/multimedia_timer.cpp.o: ../mof/util/multimedia_timer.hpp
+mof/util/CMakeFiles/mofutil.dir/multimedia_timer.cpp.o: ../mof/util/multimedia_timer.cpp
+
diff --git a/src/build_unix/mof/util/CMakeFiles/mofutil.dir/flags.make b/src/build_unix/mof/util/CMakeFiles/mofutil.dir/flags.make
new file mode 100644 (file)
index 0000000..75c7dab
--- /dev/null
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS = -Wall -Werror -g -DPSTSDK_VALIDATION_LEVEL_FULL -std=c++0x -I/home/yasutomo/devel/moflib/src -I/home/yasutomo/devel/moflib/src/mof/util/BOOST_INCLUDE_DIR  
+
+CXX_DEFINES = 
+
diff --git a/src/build_unix/mof/util/CMakeFiles/mofutil.dir/link.txt b/src/build_unix/mof/util/CMakeFiles/mofutil.dir/link.txt
new file mode 100644 (file)
index 0000000..94e0b2e
--- /dev/null
@@ -0,0 +1,2 @@
+/usr/bin/ar cr /home/yasutomo/devel/moflib/lib/libmofutil.a  CMakeFiles/mofutil.dir/multimedia_timer.cpp.o
+/usr/bin/ranlib /home/yasutomo/devel/moflib/lib/libmofutil.a
diff --git a/src/build_unix/mof/util/CMakeFiles/mofutil.dir/progress.make b/src/build_unix/mof/util/CMakeFiles/mofutil.dir/progress.make
new file mode 100644 (file)
index 0000000..164e1d2
--- /dev/null
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 2
+
diff --git a/src/build_unix/mof/util/CMakeFiles/progress.marks b/src/build_unix/mof/util/CMakeFiles/progress.marks
new file mode 100644 (file)
index 0000000..d00491f
--- /dev/null
@@ -0,0 +1 @@
+1
diff --git a/src/build_unix/mof/util/CTestTestfile.cmake b/src/build_unix/mof/util/CTestTestfile.cmake
new file mode 100644 (file)
index 0000000..67fdcce
--- /dev/null
@@ -0,0 +1,6 @@
+# CMake generated Testfile for 
+# Source directory: /home/yasutomo/devel/moflib/src/mof/util
+# Build directory: /home/yasutomo/devel/moflib/src/build_unix/mof/util
+# 
+# This file includes the relevent testing commands required for 
+# testing this directory and lists subdirectories to be tested as well.
diff --git a/src/build_unix/mof/util/Makefile b/src/build_unix/mof/util/Makefile
new file mode 100644 (file)
index 0000000..5123767
--- /dev/null
@@ -0,0 +1,217 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# Default target executed when no arguments are given to make.
+default_target: all
+.PHONY : default_target
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canoncical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/yasutomo/devel/moflib/src
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/yasutomo/devel/moflib/src/build_unix
+
+#=============================================================================
+# Targets provided globally by CMake.
+
+# Special rule for the target edit_cache
+edit_cache:
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running interactive CMake command-line interface..."
+       /usr/bin/cmake -i .
+.PHONY : edit_cache
+
+# Special rule for the target edit_cache
+edit_cache/fast: edit_cache
+.PHONY : edit_cache/fast
+
+# Special rule for the target install
+install: preinstall
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
+       /usr/bin/cmake -P cmake_install.cmake
+.PHONY : install
+
+# Special rule for the target install
+install/fast: preinstall/fast
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
+       /usr/bin/cmake -P cmake_install.cmake
+.PHONY : install/fast
+
+# Special rule for the target install/local
+install/local: preinstall
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
+       /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
+.PHONY : install/local
+
+# Special rule for the target install/local
+install/local/fast: install/local
+.PHONY : install/local/fast
+
+# Special rule for the target install/strip
+install/strip: preinstall
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
+       /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
+.PHONY : install/strip
+
+# Special rule for the target install/strip
+install/strip/fast: install/strip
+.PHONY : install/strip/fast
+
+# Special rule for the target list_install_components
+list_install_components:
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
+.PHONY : list_install_components
+
+# Special rule for the target list_install_components
+list_install_components/fast: list_install_components
+.PHONY : list_install_components/fast
+
+# Special rule for the target rebuild_cache
+rebuild_cache:
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
+       /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
+.PHONY : rebuild_cache
+
+# Special rule for the target rebuild_cache
+rebuild_cache/fast: rebuild_cache
+.PHONY : rebuild_cache/fast
+
+# Special rule for the target test
+test:
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..."
+       /usr/bin/ctest --force-new-ctest-process $(ARGS)
+.PHONY : test
+
+# Special rule for the target test
+test/fast: test
+.PHONY : test/fast
+
+# The main all target
+all: cmake_check_build_system
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles /home/yasutomo/devel/moflib/src/build_unix/mof/util/CMakeFiles/progress.marks
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f CMakeFiles/Makefile2 mof/util/all
+       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/build_unix/CMakeFiles 0
+.PHONY : all
+
+# The main clean target
+clean:
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f CMakeFiles/Makefile2 mof/util/clean
+.PHONY : clean
+
+# The main clean target
+clean/fast: clean
+.PHONY : clean/fast
+
+# Prepare targets for installation.
+preinstall: all
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f CMakeFiles/Makefile2 mof/util/preinstall
+.PHONY : preinstall
+
+# Prepare targets for installation.
+preinstall/fast:
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f CMakeFiles/Makefile2 mof/util/preinstall
+.PHONY : preinstall/fast
+
+# clear depends
+depend:
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
+.PHONY : depend
+
+# Convenience name for target.
+mof/util/CMakeFiles/mofutil.dir/rule:
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f CMakeFiles/Makefile2 mof/util/CMakeFiles/mofutil.dir/rule
+.PHONY : mof/util/CMakeFiles/mofutil.dir/rule
+
+# Convenience name for target.
+mofutil: mof/util/CMakeFiles/mofutil.dir/rule
+.PHONY : mofutil
+
+# fast build rule for target.
+mofutil/fast:
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f mof/util/CMakeFiles/mofutil.dir/build.make mof/util/CMakeFiles/mofutil.dir/build
+.PHONY : mofutil/fast
+
+multimedia_timer.o: multimedia_timer.cpp.o
+.PHONY : multimedia_timer.o
+
+# target to build an object file
+multimedia_timer.cpp.o:
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f mof/util/CMakeFiles/mofutil.dir/build.make mof/util/CMakeFiles/mofutil.dir/multimedia_timer.cpp.o
+.PHONY : multimedia_timer.cpp.o
+
+multimedia_timer.i: multimedia_timer.cpp.i
+.PHONY : multimedia_timer.i
+
+# target to preprocess a source file
+multimedia_timer.cpp.i:
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f mof/util/CMakeFiles/mofutil.dir/build.make mof/util/CMakeFiles/mofutil.dir/multimedia_timer.cpp.i
+.PHONY : multimedia_timer.cpp.i
+
+multimedia_timer.s: multimedia_timer.cpp.s
+.PHONY : multimedia_timer.s
+
+# target to generate assembly for a file
+multimedia_timer.cpp.s:
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(MAKE) -f mof/util/CMakeFiles/mofutil.dir/build.make mof/util/CMakeFiles/mofutil.dir/multimedia_timer.cpp.s
+.PHONY : multimedia_timer.cpp.s
+
+# Help Target
+help:
+       @echo "The following are some of the valid targets for this Makefile:"
+       @echo "... all (the default if no target is provided)"
+       @echo "... clean"
+       @echo "... depend"
+       @echo "... edit_cache"
+       @echo "... install"
+       @echo "... install/local"
+       @echo "... install/strip"
+       @echo "... list_install_components"
+       @echo "... mofutil"
+       @echo "... rebuild_cache"
+       @echo "... test"
+       @echo "... multimedia_timer.o"
+       @echo "... multimedia_timer.i"
+       @echo "... multimedia_timer.s"
+.PHONY : help
+
+
+
+#=============================================================================
+# Special targets to cleanup operation of make.
+
+# Special rule to run CMake to check the build system integrity.
+# No rule that depends on this can have commands that come from listfiles
+# because they might be regenerated.
+cmake_check_build_system:
+       cd /home/yasutomo/devel/moflib/src/build_unix && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
+.PHONY : cmake_check_build_system
+
diff --git a/src/build_unix/mof/util/cmake_install.cmake b/src/build_unix/mof/util/cmake_install.cmake
new file mode 100644 (file)
index 0000000..9356810
--- /dev/null
@@ -0,0 +1,41 @@
+# Install script for directory: /home/yasutomo/devel/moflib/src/mof/util
+
+# Set the install prefix
+IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
+  SET(CMAKE_INSTALL_PREFIX "/usr/local")
+ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
+STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
+
+# Set the install configuration name.
+IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
+  IF(BUILD_TYPE)
+    STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
+           CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
+  ELSE(BUILD_TYPE)
+    SET(CMAKE_INSTALL_CONFIG_NAME "")
+  ENDIF(BUILD_TYPE)
+  MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
+ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
+
+# Set the component getting installed.
+IF(NOT CMAKE_INSTALL_COMPONENT)
+  IF(COMPONENT)
+    MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
+    SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
+  ELSE(COMPONENT)
+    SET(CMAKE_INSTALL_COMPONENT)
+  ENDIF(COMPONENT)
+ENDIF(NOT CMAKE_INSTALL_COMPONENT)
+
+# Install shared libraries without execute permission?
+IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
+  SET(CMAKE_INSTALL_SO_NO_EXE "1")
+ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
+
+IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  FILE(INSTALL DESTINATION "/home/yasutomo/devel/moflib/src/../include/mof/util" TYPE FILE FILES
+    "/home/yasutomo/devel/moflib/src/mof/util/multimedia_timer.hpp"
+    "/home/yasutomo/devel/moflib/src/mof/util/foreach.hpp"
+    )
+ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+
diff --git a/src/mof/base/CMakeLists.txt b/src/mof/base/CMakeLists.txt
new file mode 100644 (file)
index 0000000..6c7e950
--- /dev/null
@@ -0,0 +1,13 @@
+#-------------------
+# mofbase.math
+#-------------------
+project(mofbase)
+
+# moflib
+link_directories("${MOFLIB_ROOT_DIR}/lib")
+
+# header install
+set(INCLUDE_DIR ${MOFLIB_ROOT_DIR}/include/)
+file(GLOB headers  *.hpp)
+install(FILES ${headers} DESTINATION ${INCLUDE_DIR}/mof/base/)
+
diff --git a/src/mof/base/mofdef.hpp b/src/mof/base/mofdef.hpp
new file mode 100644 (file)
index 0000000..c6cc2ee
--- /dev/null
@@ -0,0 +1,9 @@
+#pragma once
+#include <cstddef>
+#include <mof/base/tstring.hpp>
+
+
+namespace mof
+{
+
+}// namespace mof
diff --git a/src/mof/base/tstring.hpp b/src/mof/base/tstring.hpp
new file mode 100644 (file)
index 0000000..8e4fdba
--- /dev/null
@@ -0,0 +1,14 @@
+#pragma once
+
+#include <string>
+#ifndef _MSC_VER
+/* Microsoft VisualC++\82Å\92è\8b`\82³\82ê\82Ä\82¢\82éTCHAR\8c^\82ð\92è\8b` */
+typedef char TCHAR;
+#else
+#include <tchar.h>
+#endif
+
+namespace mof
+{
+       typedef std::basic_string<TCHAR> tstring;
+}// namespace mof
index d156881..20df9a4 100644 (file)
@@ -24,4 +24,8 @@ target_link_libraries(vector3_test "mofmath")
 add_test(vector2_test ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/vector2_test)
 add_test(vector3_test ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/vector3_test)
 
+# header install
+set(INCLUDE_DIR ${MOFLIB_ROOT_DIR}/include/)
+file(GLOB headers  *.hpp)
+install(FILES ${headers} DESTINATION ${INCLUDE_DIR}/mof/math/)
 
diff --git a/src/mof/math/basic_vector.hpp b/src/mof/math/basic_vector.hpp
new file mode 100644 (file)
index 0000000..d90a55a
--- /dev/null
@@ -0,0 +1,137 @@
+#pragma once
+#include <mof/base/mofdef.hpp>
+#include <boost/operators.hpp>
+#include <ostream>
+
+namespace mof
+{
+namespace math
+{
+       /**
+        * @brief 基底ベクトルテンプレートクラス
+        * @note  このテンプレートから直接特殊化することは想定していない.
+        * あくまでvectorxを実装するための補助テンプレートである.
+        * このクラスは不変クラスである.
+        * @tparam Dim     ベクトルの次元(要素数)
+        * @tparam Derived 特殊化されたテンプレートの派生クラス(vectorx)の型
+        */
+       template <size_t Dim, typename Derived>
+       class basic_vector 
+               : boost::addable< Derived 
+               , boost::addable2< Derived, float
+               , boost::subtractable< Derived 
+               , boost::subtractable2< Derived, float
+               , boost::multipliable2< Derived, float
+               , boost::dividable2< Derived, float
+               , boost::equality_comparable< Derived
+               > > > > > > > 
+       {
+       protected:
+               float components_[Dim];///< 要素の配列
+       public:
+               // コンストラクタ,デストラクタはデフォルトのものを使う
+               // 代入演算子,コピーコンストラクタはデフォルトのものを使う
+//{{{ operator +=
+               Derived& operator+=(const Derived& rhs)
+               {
+                       for (size_t i = 0; i < Dim; ++i) components_[i] += rhs.components_[i];
+                       return *reinterpret_cast<Derived*>(this);//thisがDerived型であることは保証されている.
+               }
+               
+               Derived& operator+=(float rhs)
+               {
+                       for (size_t i = 0; i < Dim; ++i) components_[i] += rhs;
+                       return *reinterpret_cast<Derived*>(this);//thisがDerived型であることは保証されている.
+               }
+               
+               friend Derived operator+(float rhs1, Derived& rhs2) 
+               {
+                       Derived retval;
+                       for (size_t i = 0; i < Dim; ++i) retval.components_[i] = rhs1 + rhs2.components_[i];
+                       return retval;
+               }
+//}}}
+//{{{ operator -=
+               Derived& operator-=(const Derived& rhs)
+               {
+                       for (size_t i = 0; i < Dim; ++i) components_[i] -= rhs.components_[i];
+                       return *reinterpret_cast<Derived*>(this);//thisがDerived型であることは保証されている.
+               }
+               
+               Derived& operator-=(float rhs)
+               {
+                       for (size_t i = 0; i < Dim; ++i) components_[i] -= rhs;
+                       return *reinterpret_cast<Derived*>(this);//thisがDerived型であることは保証されている.
+               }
+
+               friend Derived operator-(float rhs1, Derived& rhs2) 
+               {
+                       Derived retval;
+                       for (size_t i = 0; i < Dim; ++i) retval.components_[i] = rhs1 - rhs2.components_[i];
+                       return retval;
+               }
+//}}}
+//{{{ operator *=
+               Derived& operator*=(float rhs)
+               {
+                       for (size_t i = 0; i < Dim; ++i) components_[i] *= rhs;
+                       return *reinterpret_cast<Derived*>(this);//thisがDerived型であることは保証されている.
+               }
+               
+               friend Derived operator*(float rhs1, Derived& rhs2) 
+               {
+                       Derived retval;
+                       for (size_t i = 0; i < Dim; ++i) retval.components_[i] = rhs1 * rhs2.components_[i];
+                       return retval;
+               }
+//}}}
+//{{{ operator /=
+               Derived& operator/=(float rhs)
+               {
+                       for (size_t i = 0; i < Dim; ++i) components_[i] /= rhs;
+                       return *reinterpret_cast<Derived*>(this);//thisがDerived型であることは保証されている.
+               }
+               
+               friend Derived operator/(float rhs1, Derived& rhs2) 
+               {
+                       Derived retval;
+                       for (size_t i = 0; i < Dim; ++i) retval.components_[i] = rhs1 / rhs2.components_[i];
+                       return retval;
+               }
+//}}}
+//{{{ operator ==
+               bool operator==(const Derived& rhs) const
+               {
+                       for (size_t i = 0; i < Dim; ++i)
+                       {
+                               if (components_[i] != rhs.components_[i]) return false;
+                       }
+                       return true;
+               }
+//}}}
+//{{{ operator <<
+               /**
+                * @brief デバッグ出力用ストリーム演算子
+                * @param [in] stream 出力ストリーム
+                * @param [in] rhs    出力対象となるベクトルオブジェクト
+                * @return 引数で与えられた出力ストリーム
+                */
+               friend std::ostream& operator<<
+               (
+                       std::ostream& stream,
+                       const Derived& rhs
+               )
+               {
+                       for (size_t i = 0; i < Dim; ++i)
+                       {
+                               if (i != 0) stream << ", ";
+                               stream << rhs.components_[i];
+                       }
+                       return stream;
+               }
+//}}}
+       };
+
+
+}// namespace math
+}// namespace mof
index 3e11aa3..e56b300 100755 (executable)
Binary files a/src/mof/math/test/testbin/vector2_test and b/src/mof/math/test/testbin/vector2_test differ
index 74bca63..0952286 100755 (executable)
Binary files a/src/mof/math/test/testbin/vector3_test and b/src/mof/math/test/testbin/vector3_test differ
diff --git a/src/mof/math/vector.hpp b/src/mof/math/vector.hpp
new file mode 100644 (file)
index 0000000..af4e2dd
--- /dev/null
@@ -0,0 +1,6 @@
+/**
+ * @file 各次元のベクトルをまとめてインクルードするためのヘッダ
+ */
+#pragma once
+#include <mof/math/vector2.hpp>
+#include <mof/math/vector3.hpp>
diff --git a/src/mof/math/vector2.hpp b/src/mof/math/vector2.hpp
new file mode 100644 (file)
index 0000000..739e672
--- /dev/null
@@ -0,0 +1,43 @@
+#pragma once
+#include <mof/math/basic_vector.hpp>
+
+namespace mof
+{
+namespace math
+{
+       /**
+        * @brief 2次元同次ベクトルクラス
+        */
+       class vector2 : public basic_vector<2, vector2>
+       {
+       public:
+//{{{ constructor
+               /**
+                * @brief デフォルトコンストラクタ.全ての要素を0で初期化する.
+                */
+               vector2()
+               {
+                       components_[0] = 0;
+                       components_[1] = 0;
+               }
+
+               /**
+                * @brief 指定した値で初期化する.
+                * @param[in] x x座標成分
+                * @param[in] y y座標成分
+                */
+               vector2(float x, float y)
+               {
+                       components_[0] = x;
+                       components_[1] = y;
+               }
+//}}}
+//{{{ accessers
+               float x() const { return components_[0]; }
+               float y() const { return components_[1]; }
+               float z() const { return 1; }// 第3要素は常に1
+//}}}
+       };
+
+}// namespace math
+}// namespace mof
diff --git a/src/mof/math/vector3.hpp b/src/mof/math/vector3.hpp
new file mode 100644 (file)
index 0000000..43d8cdb
--- /dev/null
@@ -0,0 +1,48 @@
+#pragma once
+#include <mof/math/basic_vector.hpp>
+#include <mof/math/vector2.hpp>
+
+namespace mof
+{
+namespace math
+{
+       /**
+        * @brief 3次元同次ベクトルクラス
+        */
+       class vector3 : public basic_vector<3, vector3>
+       {
+       public:
+//{{{ constructor
+               /**
+                * @brief デフォルトコンストラクタ.全ての要素を0で初期化する.
+                */
+               vector3()
+               {
+                       components_[0] = 0;
+                       components_[1] = 0;
+                       components_[2] = 0;
+               }
+
+               /**
+                * @brief 指定した値で初期化する.
+                * @param[in] x x座標成分
+                * @param[in] y y座標成分
+                * @param[in] z z座標成分
+                */
+               vector3(float x, float y, float z)
+               {
+                       components_[0] = x;
+                       components_[1] = y; 
+                       components_[2] = z;
+               }
+//}}}
+//{{{ accesser
+               float x() const { return components_[0]; }
+               float y() const { return components_[1]; }
+               float z() const { return components_[2]; }
+               float w() const { return 1; }// 第4要素は常に1
+//}}}
+       };
+
+}// namespace math
+}// namespace mof
diff --git a/src/mof/util/CMakeLists.txt b/src/mof/util/CMakeLists.txt
new file mode 100644 (file)
index 0000000..da7d2a0
--- /dev/null
@@ -0,0 +1,35 @@
+#-------------------
+# mofutil.math
+#-------------------
+project(mofutil)
+
+# build util
+add_library(mofutil STATIC multimedia_timer.cpp)
+if (CMAKE_COMPILER_IS_GNUCC)
+       # no meaning?
+       #target_link_libraries(mofutil "librt")
+endif()
+
+# moflib
+link_directories("${MOFLIB_ROOT_DIR}/lib")
+
+# boost
+find_package(Boost)
+include_directories(BOOST_INCLUDE_DIR)
+
+# build test
+#set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/test/testbin/)
+#add_executable(vector2_test test/vector2_test.cpp)
+#add_executable(vector3_test test/vector3_test.cpp)
+#target_link_libraries(vector2_test "mofmath")
+#target_link_libraries(vector3_test "mofmath")
+
+# run test
+#add_test(vector2_test ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/vector2_test)
+#add_test(vector3_test ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/vector3_test)
+
+# header install
+set(INCLUDE_DIR ${MOFLIB_ROOT_DIR}/include/)
+file(GLOB headers  *.hpp)
+install(FILES ${headers} DESTINATION ${INCLUDE_DIR}/mof/util/)
+
diff --git a/src/mof/util/foreach.hpp b/src/mof/util/foreach.hpp
new file mode 100644 (file)
index 0000000..d6ed9d4
--- /dev/null
@@ -0,0 +1,3 @@
+#pragma once
+#include <boost/foreach.hpp>
+#define foreach BOOST_FOREACH
diff --git a/src/mof/util/multimedia_timer.cpp b/src/mof/util/multimedia_timer.cpp
new file mode 100644 (file)
index 0000000..1cfca80
--- /dev/null
@@ -0,0 +1,46 @@
+#include <mof/util/multimedia_timer.hpp>
+#include <ctime>
+
+namespace mof
+{
+namespace util
+{
+//{{{ impl
+    struct multimedia_timer::impl
+    {
+        timespec prevTime_;
+    };
+//}}}
+//{{{ constructor
+    multimedia_timer::multimedia_timer()
+    : pimpl_(new impl)
+    {
+        reset();
+    }
+//}}}
+//{{{ destructor
+    multimedia_timer::~multimedia_timer(){}
+//}}}
+//{{{ reset
+    void multimedia_timer::reset()
+    {
+        clock_gettime(CLOCK_REALTIME, &pimpl_->prevTime_ );    
+    }
+//}}}
+//{{{ get_time_in_micro_sec
+    int multimedia_timer::get_time_in_micro_sec() const
+    {
+        timespec ts;
+        clock_gettime(CLOCK_REALTIME, &ts);    
+        int between = (ts.tv_nsec - pimpl_->prevTime_.tv_nsec) / 1000;
+        if(ts.tv_sec != pimpl_->prevTime_.tv_sec)
+        {
+            between += (ts.tv_sec - pimpl_->prevTime_.tv_sec) * 1e6;
+        }
+        return between;
+
+    }
+//}}}
+
+}// namespace util
+}// namespace mof
diff --git a/src/mof/util/multimedia_timer.hpp b/src/mof/util/multimedia_timer.hpp
new file mode 100644 (file)
index 0000000..efb0129
--- /dev/null
@@ -0,0 +1,46 @@
+#pragma once
+#include <memory>
+#include <boost/utility.hpp>
+
+namespace mof
+{
+namespace util
+{
+
+       /**
+        * @brief システムのタイマによる高精度な時間計測
+        * @note Linux版の実装ではclock_gettimeのCLOCK_REALTIMEが用いられている.
+        */
+    class multimedia_timer : boost::noncopyable
+    {
+        struct impl;
+        std::unique_ptr<impl> pimpl_;
+    public:
+//{{{ constructor
+               /**
+                * @brief デフォルトコンストラクタ.内部でreset()が呼ばれる.
+                */
+        multimedia_timer();
+//}}}
+//{{{ destructor
+        ~multimedia_timer();
+//}}}
+//{{{ reset
+               /**
+                * @brief 時間の計測を初期化する.
+                * @sa get_time_in_micro_sec
+                */
+        void reset();
+//}}}
+//{{{ get_time_in_micro_sec
+               /**
+                * @brief 最後にreset()を読んだ時点から現在までの経過時間をマイクロ秒単位で返す
+                * @note 経過時間が長時間だった場合、返却値はオーバーフローしている可能性がある.
+                * @retval 経過時間(マイクロ秒単位)
+                */
+        int get_time_in_micro_sec() const; 
+//}}}
+    };
+
+}// namespace util
+}// namespace mof