-auto generate include/
+performance test
--- /dev/null
+#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
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)
../../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
-
mof/math/vector3.hpp
-
-mof/math/vector4.hpp
--
../../include/mof/math/vector2.hpp
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
+-
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
# 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
# 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 =
-/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
# 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")
#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;
}
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")
+
# 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.
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
########################
//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
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
//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
# 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})
-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:
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++
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
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]
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
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]
-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")
"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"
# 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"
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
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
# 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.
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
# 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.
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
# 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.
-/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
+++ /dev/null
-
-set(CTEST_ENVIRONMENT "CTEST_OUTPUT_ON_FAILURE=1")
# 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)
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.
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..."
# 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
.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.
@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"
+++ /dev/null
-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
+++ /dev/null
-2:vector3_test
-# 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)
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)
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)
--- /dev/null
+/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
--- /dev/null
+# 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})
--- /dev/null
+# 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.
--- /dev/null
+# 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
+
--- /dev/null
+# 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")
+
# 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})
#IncludeRegexTransform:
-/home/yasutomo/dev/moflib/src/mof/math/dummy.cpp
+/home/yasutomo/devel/moflib/src/mof/math/dummy.cpp
)
# 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")
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
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
# 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
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.
FILE(REMOVE_RECURSE
- "/home/yasutomo/dev/moflib/lib/libmofmath.a"
+ "/home/yasutomo/devel/moflib/lib/libmofmath.a"
)
# 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
# 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 =
-/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
#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
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
)
# 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"
)
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
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
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
.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
# 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
# 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
# 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 =
-/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
-CMAKE_PROGRESS_1 = 2
+CMAKE_PROGRESS_1 = 3
#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
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
)
# 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"
)
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
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
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
.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
# 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
# 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
# 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 =
-/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
-CMAKE_PROGRESS_1 = 3
+CMAKE_PROGRESS_1 = 4
# 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")
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.
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..."
# 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
# 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.
# 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.
# 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.
# 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
# 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
# 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
# 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
# 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
# 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
# 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
# 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
# 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
# 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
@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"
# 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
-# 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)
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")
+
--- /dev/null
+# 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})
--- /dev/null
+#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
+-
+
--- /dev/null
+# 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
+ )
--- /dev/null
+# 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
+
--- /dev/null
+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)
--- /dev/null
+FILE(REMOVE_RECURSE
+ "/home/yasutomo/devel/moflib/lib/libmofutil.a"
+)
--- /dev/null
+# 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
--- /dev/null
+# 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
+
--- /dev/null
+# 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 =
+
--- /dev/null
+/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
--- /dev/null
+CMAKE_PROGRESS_1 = 2
+
--- /dev/null
+# 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.
--- /dev/null
+# 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
+
--- /dev/null
+# 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")
+
--- /dev/null
+#-------------------
+# 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/)
+
--- /dev/null
+#pragma once
+#include <cstddef>
+#include <mof/base/tstring.hpp>
+
+
+namespace mof
+{
+
+}// namespace mof
--- /dev/null
+#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
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/)
--- /dev/null
+#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
--- /dev/null
+/**
+ * @file 各次元のベクトルをまとめてインクルードするためのヘッダ
+ */
+#pragma once
+#include <mof/math/vector2.hpp>
+#include <mof/math/vector3.hpp>
--- /dev/null
+#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
--- /dev/null
+#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
--- /dev/null
+#-------------------
+# 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/)
+
--- /dev/null
+#pragma once
+#include <boost/foreach.hpp>
+#define foreach BOOST_FOREACH
--- /dev/null
+#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
--- /dev/null
+#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