OSDN Git Service

ctest
authortomohiro yasutomo <o_ggy@users.sourceforge.jp>
Sun, 8 Aug 2010 12:43:17 +0000 (05:43 -0700)
committertomohiro yasutomo <o_ggy@users.sourceforge.jp>
Sun, 8 Aug 2010 12:43:17 +0000 (05:43 -0700)
75 files changed:
INSTALL.txt
LICENSE.txt [new file with mode: 0644]
bin/numeric [new file with mode: 0755]
lib/libmofmath.a [new file with mode: 0644]
sample/CMakeLists.txt
sample/numeric/CMakeLists.txt
sample/numeric/main.cpp
sample/unix/CMakeCache.txt [new file with mode: 0644]
sample/unix/CMakeFiles/CMakeCCompiler.cmake [new file with mode: 0644]
sample/unix/CMakeFiles/CMakeCXXCompiler.cmake [new file with mode: 0644]
sample/unix/CMakeFiles/CMakeDetermineCompilerABI_C.bin [new file with mode: 0755]
sample/unix/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin [new file with mode: 0755]
sample/unix/CMakeFiles/CMakeDirectoryInformation.cmake [new file with mode: 0644]
sample/unix/CMakeFiles/CMakeOutput.log [new file with mode: 0644]
sample/unix/CMakeFiles/CMakeSystem.cmake [new file with mode: 0644]
sample/unix/CMakeFiles/CompilerIdC/CMakeCCompilerId.c [new file with mode: 0644]
sample/unix/CMakeFiles/CompilerIdC/a.out [new file with mode: 0755]
sample/unix/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp [new file with mode: 0644]
sample/unix/CMakeFiles/CompilerIdCXX/a.out [new file with mode: 0755]
sample/unix/CMakeFiles/Makefile.cmake [new file with mode: 0644]
sample/unix/CMakeFiles/Makefile2 [new file with mode: 0644]
sample/unix/CMakeFiles/TargetDirectories.txt [new file with mode: 0644]
sample/unix/CMakeFiles/cmake.check_cache [new file with mode: 0644]
sample/unix/CMakeFiles/progress.marks [new file with mode: 0644]
sample/unix/Makefile [new file with mode: 0644]
sample/unix/cmake_install.cmake [new file with mode: 0644]
sample/unix/numeric/CMakeFiles/CMakeDirectoryInformation.cmake [new file with mode: 0644]
sample/unix/numeric/CMakeFiles/numeric.dir/CXX.includecache [new file with mode: 0644]
sample/unix/numeric/CMakeFiles/numeric.dir/DependInfo.cmake [new file with mode: 0644]
sample/unix/numeric/CMakeFiles/numeric.dir/build.make [new file with mode: 0644]
sample/unix/numeric/CMakeFiles/numeric.dir/cmake_clean.cmake [new file with mode: 0644]
sample/unix/numeric/CMakeFiles/numeric.dir/depend.internal [new file with mode: 0644]
sample/unix/numeric/CMakeFiles/numeric.dir/depend.make [new file with mode: 0644]
sample/unix/numeric/CMakeFiles/numeric.dir/flags.make [new file with mode: 0644]
sample/unix/numeric/CMakeFiles/numeric.dir/link.txt [new file with mode: 0644]
sample/unix/numeric/CMakeFiles/numeric.dir/progress.make [new file with mode: 0644]
sample/unix/numeric/CMakeFiles/progress.marks [new file with mode: 0644]
sample/unix/numeric/Makefile [new file with mode: 0644]
sample/unix/numeric/cmake_install.cmake [new file with mode: 0644]
src/CMakeLists.txt
src/test/CMakeLists.txt [new file with mode: 0644]
src/test/mof/math/vector_test.cpp [moved from test/mof/math/vector_test.cpp with 100% similarity]
src/test/testbin/vector_test [new file with mode: 0755]
src/unix/CMakeCache.txt
src/unix/CMakeFiles/CMakeDirectoryInformation.cmake
src/unix/CMakeFiles/Makefile.cmake
src/unix/CMakeFiles/Makefile2
src/unix/CMakeFiles/TargetDirectories.txt
src/unix/CMakeFiles/mofmath.dir/build.make
src/unix/CMakeFiles/mofmath.dir/cmake_clean.cmake
src/unix/CMakeFiles/mofmath.dir/cmake_clean_target.cmake
src/unix/CMakeFiles/mofmath.dir/flags.make
src/unix/CMakeFiles/mofmath.dir/link.txt
src/unix/CMakeFiles/mofmath.dir/progress.make
src/unix/CTestTestfile.cmake [new file with mode: 0644]
src/unix/Makefile
src/unix/Testing/Temporary/CTestCostData.txt [new file with mode: 0644]
src/unix/Testing/Temporary/LastTest.log [new file with mode: 0644]
src/unix/Testing/Temporary/LastTestsFailed.log [new file with mode: 0644]
src/unix/cmake_install.cmake
src/unix/test/CMakeFiles/CMakeDirectoryInformation.cmake [new file with mode: 0644]
src/unix/test/CMakeFiles/progress.marks [new file with mode: 0644]
src/unix/test/CMakeFiles/vector_test.dir/CXX.includecache [new file with mode: 0644]
src/unix/test/CMakeFiles/vector_test.dir/DependInfo.cmake [new file with mode: 0644]
src/unix/test/CMakeFiles/vector_test.dir/build.make [new file with mode: 0644]
src/unix/test/CMakeFiles/vector_test.dir/cmake_clean.cmake [new file with mode: 0644]
src/unix/test/CMakeFiles/vector_test.dir/depend.internal [new file with mode: 0644]
src/unix/test/CMakeFiles/vector_test.dir/depend.make [new file with mode: 0644]
src/unix/test/CMakeFiles/vector_test.dir/flags.make [new file with mode: 0644]
src/unix/test/CMakeFiles/vector_test.dir/link.txt [new file with mode: 0644]
src/unix/test/CMakeFiles/vector_test.dir/progress.make [new file with mode: 0644]
src/unix/test/CTestTestfile.cmake [new file with mode: 0644]
src/unix/test/Makefile [new file with mode: 0644]
src/unix/test/cmake_install.cmake [new file with mode: 0644]
src/windows/moflib.sdf [deleted file]

index 9660709..7ef97fa 100644 (file)
@@ -1,6 +1,4 @@
-linux
-cd build/linux
-./configure --with-boost=
-make depend
+# build linux
+cd src/unix/
+cmake -G "Unix Makefiles" ..
 make
-make test
diff --git a/LICENSE.txt b/LICENSE.txt
new file mode 100644 (file)
index 0000000..029f76d
--- /dev/null
@@ -0,0 +1 @@
+MIT or fixed BSD 
diff --git a/bin/numeric b/bin/numeric
new file mode 100755 (executable)
index 0000000..a3f1a47
Binary files /dev/null and b/bin/numeric differ
diff --git a/lib/libmofmath.a b/lib/libmofmath.a
new file mode 100644 (file)
index 0000000..b9bea84
Binary files /dev/null and b/lib/libmofmath.a differ
index f855d57..c448d98 100644 (file)
@@ -1,7 +1,18 @@
+#--------------------------------
+# sample 
+# The samples of moflib
+#-------------------------------
 cmake_minimum_required(VERSION 2.8)
 project(sample)
-link_directories("${PROJECT_SOURCE_DIR}/../lib/Debug/mofmath.lib")
-include_directories("${PROJECT_SOURCE_DIR}/../src/")
 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/../bin/)
+
+# moflib
+include_directories("${PROJECT_SOURCE_DIR}/../src/")
+link_directories("${PROJECT_SOURCE_DIR}/../lib")
+
+# boost
+find_package(Boost)
+include_directories(BOOST_INCLUDE_DIR)
+
 subdirs(numeric)
 
index c942511..dc3addf 100644 (file)
@@ -1 +1,5 @@
+#-----------------------
+# numeric 
+#----------------------
 add_executable(numeric main.cpp)
+target_link_libraries(numeric "mofmath")
index b03ce90..9abc8c3 100644 (file)
@@ -1,6 +1,9 @@
 #include <mof/math/vector.hpp>
+#include <iostream>
 
 int main()
 {
+       using namespace std;
+       cout << "vector performance test" << endl;
        return 0;
-}
\ No newline at end of file
+}
diff --git a/sample/unix/CMakeCache.txt b/sample/unix/CMakeCache.txt
new file mode 100644 (file)
index 0000000..4612b4f
--- /dev/null
@@ -0,0 +1,299 @@
+# This is the CMakeCache file.
+# For build in directory: /home/yasutomo/devel/moflib/sample/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.
+# If you do want to change a value, simply edit, save, and exit the editor.
+# The syntax for the file is as follows:
+# KEY:TYPE=VALUE
+# KEY is the name of a variable in the cache.
+# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
+# VALUE is the current value for the KEY.
+
+########################
+# EXTERNAL cache entries
+########################
+
+//Path to a file.
+Boost_INCLUDE_DIR:PATH=/usr/include
+
+//Boost library directory
+Boost_LIBRARY_DIRS:FILEPATH=/usr/lib
+
+//Path to a program.
+CMAKE_AR:FILEPATH=/usr/bin/ar
+
+//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
+// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
+CMAKE_BUILD_TYPE:STRING=
+
+//Enable/Disable color output during build.
+CMAKE_COLOR_MAKEFILE:BOOL=ON
+
+//CXX compiler.
+CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
+
+//Flags used by the compiler during all build types.
+CMAKE_CXX_FLAGS:STRING=
+
+//Flags used by the compiler during debug builds.
+CMAKE_CXX_FLAGS_DEBUG:STRING=-g
+
+//Flags used by the compiler during release minsize builds.
+CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
+
+//Flags used by the compiler during release builds (/MD /Ob1 /Oi
+// /Ot /Oy /Gs will produce slightly less optimized but smaller
+// files).
+CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
+
+//Flags used by the compiler during Release with Debug Info builds.
+CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g
+
+//C compiler.
+CMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc
+
+//Flags used by the compiler during all build types.
+CMAKE_C_FLAGS:STRING=
+
+//Flags used by the compiler during debug builds.
+CMAKE_C_FLAGS_DEBUG:STRING=-g
+
+//Flags used by the compiler during release minsize builds.
+CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
+
+//Flags used by the compiler during release builds (/MD /Ob1 /Oi
+// /Ot /Oy /Gs will produce slightly less optimized but smaller
+// files).
+CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
+
+//Flags used by the compiler during Release with Debug Info builds.
+CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g
+
+//Flags used by the linker.
+CMAKE_EXE_LINKER_FLAGS:STRING=
+
+//Flags used by the linker during debug builds.
+CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
+
+//Flags used by the linker during release minsize builds.
+CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
+
+//Flags used by the linker during release builds.
+CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
+
+//Flags used by the linker during Release with Debug Info builds.
+CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
+
+//Install path prefix, prepended onto install directories.
+CMAKE_INSTALL_PREFIX:PATH=/usr/local
+
+//Path to a program.
+CMAKE_LINKER:FILEPATH=/usr/bin/ld
+
+//Path to a program.
+CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
+
+//Flags used by the linker during the creation of modules.
+CMAKE_MODULE_LINKER_FLAGS:STRING=
+
+//Flags used by the linker during debug builds.
+CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
+
+//Flags used by the linker during release minsize builds.
+CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
+
+//Flags used by the linker during release builds.
+CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
+
+//Flags used by the linker during Release with Debug Info builds.
+CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
+
+//Path to a program.
+CMAKE_NM:FILEPATH=/usr/bin/nm
+
+//Path to a program.
+CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
+
+//Path to a program.
+CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
+
+//Value Computed by CMake
+CMAKE_PROJECT_NAME:STATIC=sample
+
+//Path to a program.
+CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
+
+//Flags used by the linker during the creation of dll's.
+CMAKE_SHARED_LINKER_FLAGS:STRING=
+
+//Flags used by the linker during debug builds.
+CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
+
+//Flags used by the linker during release minsize builds.
+CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
+
+//Flags used by the linker during release builds.
+CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
+
+//Flags used by the linker during Release with Debug Info builds.
+CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
+
+//If set, runtime paths are not added when using shared libraries.
+CMAKE_SKIP_RPATH:BOOL=NO
+
+//Path to a program.
+CMAKE_STRIP:FILEPATH=/usr/bin/strip
+
+//If true, cmake will use relative paths in makefiles and projects.
+CMAKE_USE_RELATIVE_PATHS:BOOL=OFF
+
+//If this value is on, makefiles will be generated without the
+// .SILENT directive, and all commands will be echoed to the console
+// during the make.  This is useful for debugging only. With Visual
+// Studio IDE projects all commands are done without /nologo.
+CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
+
+//Value Computed by CMake
+numeric_BINARY_DIR:STATIC=/home/yasutomo/devel/moflib/sample/unix
+
+//Value Computed by CMake
+numeric_SOURCE_DIR:STATIC=/home/yasutomo/devel/moflib/sample
+
+//Value Computed by CMake
+sample_BINARY_DIR:STATIC=/home/yasutomo/devel/moflib/sample/unix
+
+//Value Computed by CMake
+sample_SOURCE_DIR:STATIC=/home/yasutomo/devel/moflib/sample
+
+
+########################
+# INTERNAL cache entries
+########################
+
+//ADVANCED property for variable: Boost_INCLUDE_DIR
+Boost_INCLUDE_DIR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: Boost_LIBRARY_DIRS
+Boost_LIBRARY_DIRS-ADVANCED:INTERNAL=1
+//The library version string for boost libraries
+Boost_LIB_VERSION:INTERNAL=1_40
+//The version number for boost libraries
+Boost_VERSION:INTERNAL=104000
+//ADVANCED property for variable: CMAKE_AR
+CMAKE_AR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_BUILD_TOOL
+CMAKE_BUILD_TOOL-ADVANCED:INTERNAL=1
+//What is the target build tool cmake is generating for.
+CMAKE_BUILD_TOOL:INTERNAL=/usr/bin/make
+//This is the directory where this CMakeCache.txt was created
+CMAKE_CACHEFILE_DIR:INTERNAL=/home/yasutomo/devel/moflib/sample/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_CACHE_MINOR_VERSION:INTERNAL=8
+//Patch version of cmake used to create the current loaded cache
+CMAKE_CACHE_PATCH_VERSION:INTERNAL=0
+//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
+CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
+//Path to CMake executable.
+CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
+//Path to cpack program executable.
+CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
+//Path to ctest program executable.
+CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
+//ADVANCED property for variable: CMAKE_CXX_COMPILER
+CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
+CMAKE_CXX_COMPILER_WORKS:INTERNAL=1
+//ADVANCED property for variable: CMAKE_CXX_FLAGS
+CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
+CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
+CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
+CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
+CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_COMPILER
+CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
+CMAKE_C_COMPILER_WORKS:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_FLAGS
+CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
+CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
+CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
+CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
+CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//Result of TRY_COMPILE
+CMAKE_DETERMINE_CXX_ABI_COMPILED:INTERNAL=TRUE
+//Result of TRY_COMPILE
+CMAKE_DETERMINE_C_ABI_COMPILED:INTERNAL=TRUE
+//Executable file format
+CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
+//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
+CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
+CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
+CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
+CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
+CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//Name of generator.
+CMAKE_GENERATOR:INTERNAL=Unix Makefiles
+//Start directory with the top level CMakeLists.txt file for this
+// project
+CMAKE_HOME_DIRECTORY:INTERNAL=/home/yasutomo/devel/moflib/sample
+//Install .so files without execute permission.
+CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
+//ADVANCED property for variable: CMAKE_LINKER
+CMAKE_LINKER-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
+CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
+CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
+CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
+CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
+CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
+CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_NM
+CMAKE_NM-ADVANCED:INTERNAL=1
+//number of local generators
+CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=2
+//ADVANCED property for variable: CMAKE_OBJCOPY
+CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_OBJDUMP
+CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_RANLIB
+CMAKE_RANLIB-ADVANCED:INTERNAL=1
+//Path to CMake installation.
+CMAKE_ROOT:INTERNAL=/usr/share/cmake-2.8
+//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
+CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
+CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
+CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
+CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
+CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_SKIP_RPATH
+CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_STRIP
+CMAKE_STRIP-ADVANCED:INTERNAL=1
+//uname command
+CMAKE_UNAME:INTERNAL=/bin/uname
+//ADVANCED property for variable: CMAKE_USE_RELATIVE_PATHS
+CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
+CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
+
diff --git a/sample/unix/CMakeFiles/CMakeCCompiler.cmake b/sample/unix/CMakeFiles/CMakeCCompiler.cmake
new file mode 100644 (file)
index 0000000..ec4a88c
--- /dev/null
@@ -0,0 +1,41 @@
+SET(CMAKE_C_COMPILER "/usr/bin/gcc")
+SET(CMAKE_C_COMPILER_ARG1 "")
+SET(CMAKE_C_COMPILER_ID "GNU")
+SET(CMAKE_C_PLATFORM_ID "Linux")
+SET(CMAKE_AR "/usr/bin/ar")
+SET(CMAKE_RANLIB "/usr/bin/ranlib")
+SET(CMAKE_COMPILER_IS_GNUCC 1)
+SET(CMAKE_C_COMPILER_LOADED 1)
+SET(CMAKE_COMPILER_IS_MINGW )
+SET(CMAKE_COMPILER_IS_CYGWIN )
+IF(CMAKE_COMPILER_IS_CYGWIN)
+  SET(CYGWIN 1)
+  SET(UNIX 1)
+ENDIF(CMAKE_COMPILER_IS_CYGWIN)
+
+SET(CMAKE_C_COMPILER_ENV_VAR "CC")
+
+IF(CMAKE_COMPILER_IS_MINGW)
+  SET(MINGW 1)
+ENDIF(CMAKE_COMPILER_IS_MINGW)
+SET(CMAKE_C_COMPILER_ID_RUN 1)
+SET(CMAKE_C_SOURCE_FILE_EXTENSIONS c)
+SET(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
+SET(CMAKE_C_LINKER_PREFERENCE 10)
+
+# Save compiler ABI information.
+SET(CMAKE_C_SIZEOF_DATA_PTR "4")
+SET(CMAKE_C_COMPILER_ABI "ELF")
+
+IF(CMAKE_C_SIZEOF_DATA_PTR)
+  SET(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
+ENDIF(CMAKE_C_SIZEOF_DATA_PTR)
+
+IF(CMAKE_C_COMPILER_ABI)
+  SET(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
+ENDIF(CMAKE_C_COMPILER_ABI)
+
+SET(CMAKE_C_HAS_ISYSROOT "")
+
+SET(CMAKE_C_IMPLICIT_LINK_LIBRARIES "c")
+SET(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/i486-linux-gnu/4.4.3;/usr/lib;/lib;/usr/lib/i486-linux-gnu")
diff --git a/sample/unix/CMakeFiles/CMakeCXXCompiler.cmake b/sample/unix/CMakeFiles/CMakeCXXCompiler.cmake
new file mode 100644 (file)
index 0000000..83e6ce9
--- /dev/null
@@ -0,0 +1,42 @@
+SET(CMAKE_CXX_COMPILER "/usr/bin/c++")
+SET(CMAKE_CXX_COMPILER_ARG1 "")
+SET(CMAKE_CXX_COMPILER_ID "GNU")
+SET(CMAKE_CXX_PLATFORM_ID "Linux")
+SET(CMAKE_AR "/usr/bin/ar")
+SET(CMAKE_RANLIB "/usr/bin/ranlib")
+SET(CMAKE_COMPILER_IS_GNUCXX 1)
+SET(CMAKE_CXX_COMPILER_LOADED 1)
+SET(CMAKE_COMPILER_IS_MINGW )
+SET(CMAKE_COMPILER_IS_CYGWIN )
+IF(CMAKE_COMPILER_IS_CYGWIN)
+  SET(CYGWIN 1)
+  SET(UNIX 1)
+ENDIF(CMAKE_COMPILER_IS_CYGWIN)
+
+SET(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
+
+IF(CMAKE_COMPILER_IS_MINGW)
+  SET(MINGW 1)
+ENDIF(CMAKE_COMPILER_IS_MINGW)
+SET(CMAKE_CXX_COMPILER_ID_RUN 1)
+SET(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;H;o;O;obj;OBJ;def;DEF;rc;RC)
+SET(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm)
+SET(CMAKE_CXX_LINKER_PREFERENCE 30)
+SET(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
+
+# Save compiler ABI information.
+SET(CMAKE_CXX_SIZEOF_DATA_PTR "4")
+SET(CMAKE_CXX_COMPILER_ABI "ELF")
+
+IF(CMAKE_CXX_SIZEOF_DATA_PTR)
+  SET(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
+ENDIF(CMAKE_CXX_SIZEOF_DATA_PTR)
+
+IF(CMAKE_CXX_COMPILER_ABI)
+  SET(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
+ENDIF(CMAKE_CXX_COMPILER_ABI)
+
+SET(CMAKE_CXX_HAS_ISYSROOT "")
+
+SET(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;c")
+SET(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/i486-linux-gnu/4.4.3;/usr/lib;/lib;/usr/lib/i486-linux-gnu")
diff --git a/sample/unix/CMakeFiles/CMakeDetermineCompilerABI_C.bin b/sample/unix/CMakeFiles/CMakeDetermineCompilerABI_C.bin
new file mode 100755 (executable)
index 0000000..7e0d0e9
Binary files /dev/null and b/sample/unix/CMakeFiles/CMakeDetermineCompilerABI_C.bin differ
diff --git a/sample/unix/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin b/sample/unix/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin
new file mode 100755 (executable)
index 0000000..4f4e3eb
Binary files /dev/null and b/sample/unix/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin differ
diff --git a/sample/unix/CMakeFiles/CMakeDirectoryInformation.cmake b/sample/unix/CMakeFiles/CMakeDirectoryInformation.cmake
new file mode 100644 (file)
index 0000000..ffecc8b
--- /dev/null
@@ -0,0 +1,23 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# Relative path conversion top directories.
+SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/yasutomo/devel/moflib/sample")
+SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/yasutomo/devel/moflib/sample/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
+  "../../src"
+  "../BOOST_INCLUDE_DIR"
+  )
+SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
+SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
+
+# The C and CXX include file regular expressions for this directory.
+SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
+SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
+SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
+SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
diff --git a/sample/unix/CMakeFiles/CMakeOutput.log b/sample/unix/CMakeFiles/CMakeOutput.log
new file mode 100644 (file)
index 0000000..2b9267b
--- /dev/null
@@ -0,0 +1,247 @@
+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: 
+Id flags: 
+
+The output was:
+0
+
+
+Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
+
+The C compiler identification is GNU, found in "/home/yasutomo/devel/moflib/sample/unix/CMakeFiles/CompilerIdC/a.out"
+
+Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
+Compiler: /usr/bin/c++ 
+Build flags: 
+Id flags: 
+
+The output was:
+0
+CMakeCXXCompilerId.cpp:73: warning: deprecated conversion from string constant to ‘char*’
+CMakeCXXCompilerId.cpp:163: warning: deprecated conversion from string constant to ‘char*’
+
+
+Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
+
+The CXX compiler identification is GNU, found in "/home/yasutomo/devel/moflib/sample/unix/CMakeFiles/CompilerIdCXX/a.out"
+
+Determining if the C compiler works passed with the following output:
+Change Dir: /home/yasutomo/devel/moflib/sample/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/devel/moflib/sample/unix/CMakeFiles/CMakeTmp' に入ります
+/usr/bin/cmake -E cmake_progress_report /home/yasutomo/devel/moflib/sample/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/devel/moflib/sample/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/devel/moflib/sample/unix/CMakeFiles/CMakeTmp' から出ます
+
+
+Detecting C compiler ABI info compiled with the following output:
+Change Dir: /home/yasutomo/devel/moflib/sample/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/devel/moflib/sample/unix/CMakeFiles/CMakeTmp' に入ります
+/usr/bin/cmake -E cmake_progress_report /home/yasutomo/devel/moflib/sample/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
+/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
+/usr/bin/gcc       -v CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o  -o cmTryCompileExec -rdynamic  
+Using built-in specs.
+Target: i486-linux-gnu
+Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
+Thread model: posix
+gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) 
+COMPILER_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/:/usr/lib/gcc/i486-linux-gnu/4.4.3/:/usr/lib/gcc/i486-linux-gnu/:/usr/lib/gcc/i486-linux-gnu/4.4.3/:/usr/lib/gcc/i486-linux-gnu/
+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/devel/moflib/sample/unix/CMakeFiles/CMakeTmp' から出ます
+
+
+Parsed C implicit link information from above output:
+  link line regex: [^( *|.*[/\])(ld|ld|collect2)[^/\]*( |$)]
+  ignore line: [Change Dir: /home/yasutomo/devel/moflib/sample/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/devel/moflib/sample/unix/CMakeFiles/CMakeTmp' に入ります]
+  ignore line: [/usr/bin/cmake -E cmake_progress_report /home/yasutomo/devel/moflib/sample/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]
+  ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1]
+  ignore line: [/usr/bin/gcc       -v CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o  -o cmTryCompileExec -rdynamic  ]
+  ignore line: [Using built-in specs.]
+  ignore line: [Target: i486-linux-gnu]
+  ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu]
+  ignore line: [Thread model: posix]
+  ignore line: [gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ]
+  ignore line: [COMPILER_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/:/usr/lib/gcc/i486-linux-gnu/4.4.3/:/usr/lib/gcc/i486-linux-gnu/:/usr/lib/gcc/i486-linux-gnu/4.4.3/:/usr/lib/gcc/i486-linux-gnu/]
+  ignore line: [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/]
+  ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec' '-rdynamic' '-mtune=generic' '-march=i486']
+  link line: [ /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]
+    arg [/usr/lib/gcc/i486-linux-gnu/4.4.3/collect2] ==> ignore
+    arg [--build-id] ==> ignore
+    arg [--eh-frame-hdr] ==> ignore
+    arg [-m] ==> ignore
+    arg [elf_i386] ==> ignore
+    arg [--hash-style=both] ==> ignore
+    arg [-export-dynamic] ==> ignore
+    arg [-dynamic-linker] ==> ignore
+    arg [/lib/ld-linux.so.2] ==> ignore
+    arg [-o] ==> ignore
+    arg [cmTryCompileExec] ==> ignore
+    arg [-zrelro] ==> ignore
+    arg [/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crt1.o] ==> ignore
+    arg [/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crti.o] ==> ignore
+    arg [/usr/lib/gcc/i486-linux-gnu/4.4.3/crtbegin.o] ==> ignore
+    arg [-L/usr/lib/gcc/i486-linux-gnu/4.4.3] ==> dir [/usr/lib/gcc/i486-linux-gnu/4.4.3]
+    arg [-L/usr/lib/gcc/i486-linux-gnu/4.4.3] ==> dir [/usr/lib/gcc/i486-linux-gnu/4.4.3]
+    arg [-L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib] ==> dir [/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib]
+    arg [-L/lib/../lib] ==> dir [/lib/../lib]
+    arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
+    arg [-L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../..] ==> dir [/usr/lib/gcc/i486-linux-gnu/4.4.3/../../..]
+    arg [-L/usr/lib/i486-linux-gnu] ==> dir [/usr/lib/i486-linux-gnu]
+    arg [CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o] ==> ignore
+    arg [-lgcc] ==> lib [gcc]
+    arg [--as-needed] ==> ignore
+    arg [-lgcc_s] ==> lib [gcc_s]
+    arg [--no-as-needed] ==> ignore
+    arg [-lc] ==> lib [c]
+    arg [-lgcc] ==> lib [gcc]
+    arg [--as-needed] ==> ignore
+    arg [-lgcc_s] ==> lib [gcc_s]
+    arg [--no-as-needed] ==> ignore
+    arg [/usr/lib/gcc/i486-linux-gnu/4.4.3/crtend.o] ==> ignore
+    arg [/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crtn.o] ==> ignore
+  remove lib [gcc]
+  remove lib [gcc_s]
+  remove lib [gcc]
+  remove lib [gcc_s]
+  collapse dir [/usr/lib/gcc/i486-linux-gnu/4.4.3] ==> [/usr/lib/gcc/i486-linux-gnu/4.4.3]
+  collapse dir [/usr/lib/gcc/i486-linux-gnu/4.4.3] ==> [/usr/lib/gcc/i486-linux-gnu/4.4.3]
+  collapse dir [/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib] ==> [/usr/lib]
+  collapse dir [/lib/../lib] ==> [/lib]
+  collapse dir [/usr/lib/../lib] ==> [/usr/lib]
+  collapse dir [/usr/lib/gcc/i486-linux-gnu/4.4.3/../../..] ==> [/usr/lib]
+  collapse dir [/usr/lib/i486-linux-gnu] ==> [/usr/lib/i486-linux-gnu]
+  implicit libs: [c]
+  implicit dirs: [/usr/lib/gcc/i486-linux-gnu/4.4.3;/usr/lib;/lib;/usr/lib/i486-linux-gnu]
+
+
+Determining if the CXX compiler works passed with the following output:
+Change Dir: /home/yasutomo/devel/moflib/sample/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/devel/moflib/sample/unix/CMakeFiles/CMakeTmp' に入ります
+/usr/bin/cmake -E cmake_progress_report /home/yasutomo/devel/moflib/sample/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/devel/moflib/sample/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/devel/moflib/sample/unix/CMakeFiles/CMakeTmp' から出ます
+
+
+Detecting CXX compiler ABI info compiled with the following output:
+Change Dir: /home/yasutomo/devel/moflib/sample/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/devel/moflib/sample/unix/CMakeFiles/CMakeTmp' に入ります
+/usr/bin/cmake -E cmake_progress_report /home/yasutomo/devel/moflib/sample/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
+/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
+/usr/bin/c++        -v CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o  -o cmTryCompileExec -rdynamic  
+Using built-in specs.
+Target: i486-linux-gnu
+Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
+Thread model: posix
+gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) 
+COMPILER_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/:/usr/lib/gcc/i486-linux-gnu/4.4.3/:/usr/lib/gcc/i486-linux-gnu/:/usr/lib/gcc/i486-linux-gnu/4.4.3/:/usr/lib/gcc/i486-linux-gnu/
+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/devel/moflib/sample/unix/CMakeFiles/CMakeTmp' から出ます
+
+
+Parsed CXX implicit link information from above output:
+  link line regex: [^( *|.*[/\])(ld|ld|collect2)[^/\]*( |$)]
+  ignore line: [Change Dir: /home/yasutomo/devel/moflib/sample/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/devel/moflib/sample/unix/CMakeFiles/CMakeTmp' に入ります]
+  ignore line: [/usr/bin/cmake -E cmake_progress_report /home/yasutomo/devel/moflib/sample/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]
+  ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1]
+  ignore line: [/usr/bin/c++        -v CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o  -o cmTryCompileExec -rdynamic  ]
+  ignore line: [Using built-in specs.]
+  ignore line: [Target: i486-linux-gnu]
+  ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu]
+  ignore line: [Thread model: posix]
+  ignore line: [gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ]
+  ignore line: [COMPILER_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/:/usr/lib/gcc/i486-linux-gnu/4.4.3/:/usr/lib/gcc/i486-linux-gnu/:/usr/lib/gcc/i486-linux-gnu/4.4.3/:/usr/lib/gcc/i486-linux-gnu/]
+  ignore line: [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/]
+  ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=i486']
+  link line: [ /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]
+    arg [/usr/lib/gcc/i486-linux-gnu/4.4.3/collect2] ==> ignore
+    arg [--build-id] ==> ignore
+    arg [--eh-frame-hdr] ==> ignore
+    arg [-m] ==> ignore
+    arg [elf_i386] ==> ignore
+    arg [--hash-style=both] ==> ignore
+    arg [-export-dynamic] ==> ignore
+    arg [-dynamic-linker] ==> ignore
+    arg [/lib/ld-linux.so.2] ==> ignore
+    arg [-o] ==> ignore
+    arg [cmTryCompileExec] ==> ignore
+    arg [-zrelro] ==> ignore
+    arg [/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crt1.o] ==> ignore
+    arg [/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crti.o] ==> ignore
+    arg [/usr/lib/gcc/i486-linux-gnu/4.4.3/crtbegin.o] ==> ignore
+    arg [-L/usr/lib/gcc/i486-linux-gnu/4.4.3] ==> dir [/usr/lib/gcc/i486-linux-gnu/4.4.3]
+    arg [-L/usr/lib/gcc/i486-linux-gnu/4.4.3] ==> dir [/usr/lib/gcc/i486-linux-gnu/4.4.3]
+    arg [-L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib] ==> dir [/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib]
+    arg [-L/lib/../lib] ==> dir [/lib/../lib]
+    arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
+    arg [-L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../..] ==> dir [/usr/lib/gcc/i486-linux-gnu/4.4.3/../../..]
+    arg [-L/usr/lib/i486-linux-gnu] ==> dir [/usr/lib/i486-linux-gnu]
+    arg [CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
+    arg [-lstdc++] ==> lib [stdc++]
+    arg [-lm] ==> lib [m]
+    arg [-lgcc_s] ==> lib [gcc_s]
+    arg [-lgcc] ==> lib [gcc]
+    arg [-lc] ==> lib [c]
+    arg [-lgcc_s] ==> lib [gcc_s]
+    arg [-lgcc] ==> lib [gcc]
+    arg [/usr/lib/gcc/i486-linux-gnu/4.4.3/crtend.o] ==> ignore
+    arg [/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crtn.o] ==> ignore
+  remove lib [gcc_s]
+  remove lib [gcc]
+  remove lib [gcc_s]
+  remove lib [gcc]
+  collapse dir [/usr/lib/gcc/i486-linux-gnu/4.4.3] ==> [/usr/lib/gcc/i486-linux-gnu/4.4.3]
+  collapse dir [/usr/lib/gcc/i486-linux-gnu/4.4.3] ==> [/usr/lib/gcc/i486-linux-gnu/4.4.3]
+  collapse dir [/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib] ==> [/usr/lib]
+  collapse dir [/lib/../lib] ==> [/lib]
+  collapse dir [/usr/lib/../lib] ==> [/usr/lib]
+  collapse dir [/usr/lib/gcc/i486-linux-gnu/4.4.3/../../..] ==> [/usr/lib]
+  collapse dir [/usr/lib/i486-linux-gnu] ==> [/usr/lib/i486-linux-gnu]
+  implicit libs: [stdc++;m;c]
+  implicit dirs: [/usr/lib/gcc/i486-linux-gnu/4.4.3;/usr/lib;/lib;/usr/lib/i486-linux-gnu]
+
+
diff --git a/sample/unix/CMakeFiles/CMakeSystem.cmake b/sample/unix/CMakeFiles/CMakeSystem.cmake
new file mode 100644 (file)
index 0000000..c316eca
--- /dev/null
@@ -0,0 +1,15 @@
+
+
+SET(CMAKE_SYSTEM "Linux-2.6.32-23-generic")
+SET(CMAKE_SYSTEM_NAME "Linux")
+SET(CMAKE_SYSTEM_VERSION "2.6.32-23-generic")
+SET(CMAKE_SYSTEM_PROCESSOR "i686")
+
+SET(CMAKE_HOST_SYSTEM "Linux-2.6.32-23-generic")
+SET(CMAKE_HOST_SYSTEM_NAME "Linux")
+SET(CMAKE_HOST_SYSTEM_VERSION "2.6.32-23-generic")
+SET(CMAKE_HOST_SYSTEM_PROCESSOR "i686")
+
+SET(CMAKE_CROSSCOMPILING "FALSE")
+
+SET(CMAKE_SYSTEM_LOADED 1)
diff --git a/sample/unix/CMakeFiles/CompilerIdC/CMakeCCompilerId.c b/sample/unix/CMakeFiles/CompilerIdC/CMakeCCompilerId.c
new file mode 100644 (file)
index 0000000..f262e30
--- /dev/null
@@ -0,0 +1,188 @@
+#ifdef __cplusplus
+# error "A C++ compiler has been selected for C."
+#endif
+
+#if defined(__18CXX)
+# define ID_VOID_MAIN
+#endif
+
+#if defined(__INTEL_COMPILER) || defined(__ICC)
+# define COMPILER_ID "Intel"
+
+#elif defined(__BORLANDC__)
+# define COMPILER_ID "Borland"
+
+#elif defined(__WATCOMC__)
+# define COMPILER_ID "Watcom"
+
+#elif defined(__SUNPRO_C)
+# define COMPILER_ID "SunPro"
+
+#elif defined(__HP_cc)
+# define COMPILER_ID "HP"
+
+#elif defined(__DECC)
+# define COMPILER_ID "Compaq"
+
+#elif defined(__IBMC__)
+# if defined(__COMPILER_VER__)
+#  define COMPILER_ID "zOS"
+# elif __IBMC__ >= 800
+#  define COMPILER_ID "XL"
+# else
+#  define COMPILER_ID "VisualAge"
+# endif
+
+#elif defined(__PGI)
+# define COMPILER_ID "PGI"
+
+#elif defined(__GNUC__)
+# define COMPILER_ID "GNU"
+
+#elif defined(_MSC_VER)
+# define COMPILER_ID "MSVC"
+
+#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
+/* Analog Devices C++ compiler for Blackfin, TigerSHARC and
+   SHARC (21000) DSPs */
+# define COMPILER_ID "ADSP"
+
+/* IAR Systems compiler for embedded systems.
+   http://www.iar.com
+   Not supported yet by CMake
+#elif defined(__IAR_SYSTEMS_ICC__)
+# define COMPILER_ID "IAR" */
+
+/* sdcc, the small devices C compiler for embedded systems,
+   http://sdcc.sourceforge.net  */
+#elif defined(SDCC)
+# define COMPILER_ID "SDCC"
+
+#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
+# define COMPILER_ID "MIPSpro"
+
+/* This compiler is either not known or is too old to define an
+   identification macro.  Try to identify the platform and guess that
+   it is the native compiler.  */
+#elif defined(__sgi)
+# define COMPILER_ID "MIPSpro"
+
+#elif defined(__hpux) || defined(__hpua)
+# define COMPILER_ID "HP"
+
+#else /* unknown compiler */
+# define COMPILER_ID ""
+
+#endif
+
+/* Construct the string literal in pieces to prevent the source from
+   getting matched.  Store it in a pointer rather than an array
+   because some compilers will just produce instructions to fill the
+   array rather than assigning a pointer to a static array.  */
+char* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
+
+/* Identify known platforms by name.  */
+#if defined(__linux) || defined(__linux__) || defined(linux)
+# define PLATFORM_ID "Linux"
+
+#elif defined(__CYGWIN__)
+# define PLATFORM_ID "Cygwin"
+
+#elif defined(__MINGW32__)
+# define PLATFORM_ID "MinGW"
+
+#elif defined(__APPLE__)
+# define PLATFORM_ID "Darwin"
+
+#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
+# define PLATFORM_ID "Windows"
+
+#elif defined(__FreeBSD__) || defined(__FreeBSD)
+# define PLATFORM_ID "FreeBSD"
+
+#elif defined(__NetBSD__) || defined(__NetBSD)
+# define PLATFORM_ID "NetBSD"
+
+#elif defined(__OpenBSD__) || defined(__OPENBSD)
+# define PLATFORM_ID "OpenBSD"
+
+#elif defined(__sun) || defined(sun)
+# define PLATFORM_ID "SunOS"
+
+#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
+# define PLATFORM_ID "AIX"
+
+#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
+# define PLATFORM_ID "IRIX"
+
+#elif defined(__hpux) || defined(__hpux__)
+# define PLATFORM_ID "HP-UX"
+
+#elif defined(__HAIKU) || defined(__HAIKU__) || defined(_HAIKU)
+# define PLATFORM_ID "Haiku"
+/* Haiku also defines __BEOS__ so we must 
+   put it prior to the check for __BEOS__
+*/
+
+#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
+# define PLATFORM_ID "BeOS"
+
+#elif defined(__QNX__) || defined(__QNXNTO__)
+# define PLATFORM_ID "QNX"
+
+#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
+# define PLATFORM_ID "Tru64"
+
+#elif defined(__riscos) || defined(__riscos__)
+# define PLATFORM_ID "RISCos"
+
+#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
+# define PLATFORM_ID "SINIX"
+
+#elif defined(__UNIX_SV__)
+# define PLATFORM_ID "UNIX_SV"
+
+#elif defined(__bsdos__)
+# define PLATFORM_ID "BSDOS"
+
+#elif defined(_MPRAS) || defined(MPRAS)
+# define PLATFORM_ID "MP-RAS"
+
+#elif defined(__osf) || defined(__osf__)
+# define PLATFORM_ID "OSF1"
+
+#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
+# define PLATFORM_ID "SCO_SV"
+
+#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
+# define PLATFORM_ID "ULTRIX"
+
+#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
+# define PLATFORM_ID "Xenix"
+
+#else /* unknown platform */
+# define PLATFORM_ID ""
+
+#endif
+
+/* Construct the string literal in pieces to prevent the source from
+   getting matched.  Store it in a pointer rather than an array
+   because some compilers will just produce instructions to fill the
+   array rather than assigning a pointer to a static array.  */
+char* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
+
+
+/*--------------------------------------------------------------------------*/
+
+#ifdef ID_VOID_MAIN
+void main() {}
+#else
+int main(int argc, char* argv[])
+{
+  int require = 0;
+  require += info_compiler[argc];
+  require += info_platform[argc];
+  (void)argv;
+  return require;
+}
+#endif
diff --git a/sample/unix/CMakeFiles/CompilerIdC/a.out b/sample/unix/CMakeFiles/CompilerIdC/a.out
new file mode 100755 (executable)
index 0000000..325ea21
Binary files /dev/null and b/sample/unix/CMakeFiles/CompilerIdC/a.out differ
diff --git a/sample/unix/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp b/sample/unix/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp
new file mode 100644 (file)
index 0000000..85081a3
--- /dev/null
@@ -0,0 +1,175 @@
+/* This source file must have a .cpp extension so that all C++ compilers
+   recognize the extension without flags.  Borland does not know .cxx for
+   example.  */
+#ifndef __cplusplus
+# error "A C compiler has been selected for C++."
+#endif
+
+#if defined(__COMO__)
+# define COMPILER_ID "Comeau"
+
+#elif defined(__INTEL_COMPILER) || defined(__ICC)
+# define COMPILER_ID "Intel"
+
+#elif defined(__BORLANDC__)
+# define COMPILER_ID "Borland"
+
+#elif defined(__WATCOMC__)
+# define COMPILER_ID "Watcom"
+
+#elif defined(__SUNPRO_CC)
+# define COMPILER_ID "SunPro"
+
+#elif defined(__HP_aCC)
+# define COMPILER_ID "HP"
+
+#elif defined(__DECCXX)
+# define COMPILER_ID "Compaq"
+
+#elif defined(__IBMCPP__)
+# if defined(__COMPILER_VER__)
+#  define COMPILER_ID "zOS"
+# elif __IBMCPP__ >= 800
+#  define COMPILER_ID "XL"
+# else
+#  define COMPILER_ID "VisualAge"
+# endif
+
+#elif defined(__PGI)
+# define COMPILER_ID "PGI"
+
+#elif defined(__GNUC__)
+# define COMPILER_ID "GNU"
+
+#elif defined(_MSC_VER)
+# define COMPILER_ID "MSVC"
+
+#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
+/* Analog Devices C++ compiler for Blackfin, TigerSHARC and
+   SHARC (21000) DSPs */
+# define COMPILER_ID "ADSP"
+
+#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
+# define COMPILER_ID "MIPSpro"
+
+/* This compiler is either not known or is too old to define an
+   identification macro.  Try to identify the platform and guess that
+   it is the native compiler.  */
+#elif defined(__sgi)
+# define COMPILER_ID "MIPSpro"
+
+#elif defined(__hpux) || defined(__hpua)
+# define COMPILER_ID "HP"
+
+#else /* unknown compiler */
+# define COMPILER_ID ""
+
+#endif
+
+/* Construct the string literal in pieces to prevent the source from
+   getting matched.  Store it in a pointer rather than an array
+   because some compilers will just produce instructions to fill the
+   array rather than assigning a pointer to a static array.  */
+char* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
+
+/* Identify known platforms by name.  */
+#if defined(__linux) || defined(__linux__) || defined(linux)
+# define PLATFORM_ID "Linux"
+
+#elif defined(__CYGWIN__)
+# define PLATFORM_ID "Cygwin"
+
+#elif defined(__MINGW32__)
+# define PLATFORM_ID "MinGW"
+
+#elif defined(__APPLE__)
+# define PLATFORM_ID "Darwin"
+
+#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
+# define PLATFORM_ID "Windows"
+
+#elif defined(__FreeBSD__) || defined(__FreeBSD)
+# define PLATFORM_ID "FreeBSD"
+
+#elif defined(__NetBSD__) || defined(__NetBSD)
+# define PLATFORM_ID "NetBSD"
+
+#elif defined(__OpenBSD__) || defined(__OPENBSD)
+# define PLATFORM_ID "OpenBSD"
+
+#elif defined(__sun) || defined(sun)
+# define PLATFORM_ID "SunOS"
+
+#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
+# define PLATFORM_ID "AIX"
+
+#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
+# define PLATFORM_ID "IRIX"
+
+#elif defined(__hpux) || defined(__hpux__)
+# define PLATFORM_ID "HP-UX"
+
+#elif defined(__HAIKU) || defined(__HAIKU__) || defined(_HAIKU)
+# define PLATFORM_ID "Haiku"
+/* Haiku also defines __BEOS__ so we must 
+   put it prior to the check for __BEOS__
+*/
+
+#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
+# define PLATFORM_ID "BeOS"
+
+#elif defined(__QNX__) || defined(__QNXNTO__)
+# define PLATFORM_ID "QNX"
+
+#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
+# define PLATFORM_ID "Tru64"
+
+#elif defined(__riscos) || defined(__riscos__)
+# define PLATFORM_ID "RISCos"
+
+#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
+# define PLATFORM_ID "SINIX"
+
+#elif defined(__UNIX_SV__)
+# define PLATFORM_ID "UNIX_SV"
+
+#elif defined(__bsdos__)
+# define PLATFORM_ID "BSDOS"
+
+#elif defined(_MPRAS) || defined(MPRAS)
+# define PLATFORM_ID "MP-RAS"
+
+#elif defined(__osf) || defined(__osf__)
+# define PLATFORM_ID "OSF1"
+
+#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
+# define PLATFORM_ID "SCO_SV"
+
+#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
+# define PLATFORM_ID "ULTRIX"
+
+#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
+# define PLATFORM_ID "Xenix"
+
+#else /* unknown platform */
+# define PLATFORM_ID ""
+
+#endif
+
+/* Construct the string literal in pieces to prevent the source from
+   getting matched.  Store it in a pointer rather than an array
+   because some compilers will just produce instructions to fill the
+   array rather than assigning a pointer to a static array.  */
+char* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
+
+
+/*--------------------------------------------------------------------------*/
+
+int main(int argc, char* argv[])
+{
+  int require = 0;
+  require += info_compiler[argc];
+  require += info_platform[argc];
+  (void)argv;
+  return require;
+}
diff --git a/sample/unix/CMakeFiles/CompilerIdCXX/a.out b/sample/unix/CMakeFiles/CompilerIdCXX/a.out
new file mode 100755 (executable)
index 0000000..d36f22e
Binary files /dev/null and b/sample/unix/CMakeFiles/CompilerIdCXX/a.out differ
diff --git a/sample/unix/CMakeFiles/Makefile.cmake b/sample/unix/CMakeFiles/Makefile.cmake
new file mode 100644 (file)
index 0000000..906fa96
--- /dev/null
@@ -0,0 +1,43 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# The generator used is:
+SET(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
+
+# The top level Makefile was generated from the following files:
+SET(CMAKE_MAKEFILE_DEPENDS
+  "CMakeCache.txt"
+  "../CMakeLists.txt"
+  "../numeric/CMakeLists.txt"
+  "CMakeFiles/CMakeCCompiler.cmake"
+  "CMakeFiles/CMakeCXXCompiler.cmake"
+  "CMakeFiles/CMakeSystem.cmake"
+  "/usr/share/cmake-2.8/Modules/CMakeCInformation.cmake"
+  "/usr/share/cmake-2.8/Modules/CMakeCXXInformation.cmake"
+  "/usr/share/cmake-2.8/Modules/CMakeCommonLanguageInclude.cmake"
+  "/usr/share/cmake-2.8/Modules/CMakeGenericSystem.cmake"
+  "/usr/share/cmake-2.8/Modules/CMakeSystemSpecificInformation.cmake"
+  "/usr/share/cmake-2.8/Modules/Compiler/GNU-C.cmake"
+  "/usr/share/cmake-2.8/Modules/Compiler/GNU-CXX.cmake"
+  "/usr/share/cmake-2.8/Modules/FindBoost.cmake"
+  "/usr/share/cmake-2.8/Modules/Platform/Linux.cmake"
+  "/usr/share/cmake-2.8/Modules/Platform/UnixPaths.cmake"
+  "/usr/share/cmake-2.8/Modules/Platform/gcc.cmake"
+  )
+
+# The corresponding makefile is:
+SET(CMAKE_MAKEFILE_OUTPUTS
+  "Makefile"
+  "CMakeFiles/cmake.check_cache"
+  )
+
+# Byproducts of CMake generate step:
+SET(CMAKE_MAKEFILE_PRODUCTS
+  "CMakeFiles/CMakeDirectoryInformation.cmake"
+  "numeric/CMakeFiles/CMakeDirectoryInformation.cmake"
+  )
+
+# Dependency information for all targets:
+SET(CMAKE_DEPEND_INFO_FILES
+  "numeric/CMakeFiles/numeric.dir/DependInfo.cmake"
+  )
diff --git a/sample/unix/CMakeFiles/Makefile2 b/sample/unix/CMakeFiles/Makefile2
new file mode 100644 (file)
index 0000000..bcbb5f5
--- /dev/null
@@ -0,0 +1,111 @@
+# 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
+
+# The main recursive all target
+all:
+.PHONY : all
+
+# The main recursive preinstall target
+preinstall:
+.PHONY : preinstall
+
+#=============================================================================
+# 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/sample
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/yasutomo/devel/moflib/sample/unix
+
+#=============================================================================
+# Directory level rules for directory numeric
+
+# Convenience name for "all" pass in the directory.
+numeric/all: numeric/CMakeFiles/numeric.dir/all
+.PHONY : numeric/all
+
+# Convenience name for "clean" pass in the directory.
+numeric/clean: numeric/CMakeFiles/numeric.dir/clean
+.PHONY : numeric/clean
+
+# Convenience name for "preinstall" pass in the directory.
+numeric/preinstall:
+.PHONY : numeric/preinstall
+
+#=============================================================================
+# Target rules for target numeric/CMakeFiles/numeric.dir
+
+# All Build rule for target.
+numeric/CMakeFiles/numeric.dir/all:
+       $(MAKE) -f numeric/CMakeFiles/numeric.dir/build.make numeric/CMakeFiles/numeric.dir/depend
+       $(MAKE) -f numeric/CMakeFiles/numeric.dir/build.make numeric/CMakeFiles/numeric.dir/build
+       $(CMAKE_COMMAND) -E cmake_progress_report /home/yasutomo/devel/moflib/sample/unix/CMakeFiles  1
+       @echo "Built target numeric"
+.PHONY : numeric/CMakeFiles/numeric.dir/all
+
+# Include target in all.
+all: numeric/CMakeFiles/numeric.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+numeric/CMakeFiles/numeric.dir/rule: cmake_check_build_system
+       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/sample/unix/CMakeFiles 1
+       $(MAKE) -f CMakeFiles/Makefile2 numeric/CMakeFiles/numeric.dir/all
+       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/sample/unix/CMakeFiles 0
+.PHONY : numeric/CMakeFiles/numeric.dir/rule
+
+# Convenience name for target.
+numeric: numeric/CMakeFiles/numeric.dir/rule
+.PHONY : numeric
+
+# clean rule for target.
+numeric/CMakeFiles/numeric.dir/clean:
+       $(MAKE) -f numeric/CMakeFiles/numeric.dir/build.make numeric/CMakeFiles/numeric.dir/clean
+.PHONY : numeric/CMakeFiles/numeric.dir/clean
+
+# clean rule for target.
+clean: numeric/CMakeFiles/numeric.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# 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:
+       $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
+.PHONY : cmake_check_build_system
+
diff --git a/sample/unix/CMakeFiles/TargetDirectories.txt b/sample/unix/CMakeFiles/TargetDirectories.txt
new file mode 100644 (file)
index 0000000..4ec977b
--- /dev/null
@@ -0,0 +1 @@
+/home/yasutomo/devel/moflib/sample/unix/numeric/CMakeFiles/numeric.dir
diff --git a/sample/unix/CMakeFiles/cmake.check_cache b/sample/unix/CMakeFiles/cmake.check_cache
new file mode 100644 (file)
index 0000000..3dccd73
--- /dev/null
@@ -0,0 +1 @@
+# This file is generated by cmake for dependency checking of the CMakeCache.txt file
diff --git a/sample/unix/CMakeFiles/progress.marks b/sample/unix/CMakeFiles/progress.marks
new file mode 100644 (file)
index 0000000..d00491f
--- /dev/null
@@ -0,0 +1 @@
+1
diff --git a/sample/unix/Makefile b/sample/unix/Makefile
new file mode 100644 (file)
index 0000000..0d365de
--- /dev/null
@@ -0,0 +1,133 @@
+# 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/sample
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/yasutomo/devel/moflib/sample/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 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
+
+# The main all target
+all: cmake_check_build_system
+       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/sample/unix/CMakeFiles /home/yasutomo/devel/moflib/sample/unix/CMakeFiles/progress.marks
+       $(MAKE) -f CMakeFiles/Makefile2 all
+       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/sample/unix/CMakeFiles 0
+.PHONY : all
+
+# The main clean target
+clean:
+       $(MAKE) -f CMakeFiles/Makefile2 clean
+.PHONY : clean
+
+# The main clean target
+clean/fast: clean
+.PHONY : clean/fast
+
+# Prepare targets for installation.
+preinstall: all
+       $(MAKE) -f CMakeFiles/Makefile2 preinstall
+.PHONY : preinstall
+
+# Prepare targets for installation.
+preinstall/fast:
+       $(MAKE) -f CMakeFiles/Makefile2 preinstall
+.PHONY : preinstall/fast
+
+# clear depends
+depend:
+       $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
+.PHONY : depend
+
+#=============================================================================
+# Target rules for targets named numeric
+
+# Build rule for target.
+numeric: cmake_check_build_system
+       $(MAKE) -f CMakeFiles/Makefile2 numeric
+.PHONY : numeric
+
+# fast build rule for target.
+numeric/fast:
+       $(MAKE) -f numeric/CMakeFiles/numeric.dir/build.make numeric/CMakeFiles/numeric.dir/build
+.PHONY : numeric/fast
+
+# 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 "... rebuild_cache"
+       @echo "... numeric"
+.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:
+       $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
+.PHONY : cmake_check_build_system
+
diff --git a/sample/unix/cmake_install.cmake b/sample/unix/cmake_install.cmake
new file mode 100644 (file)
index 0000000..aceaab5
--- /dev/null
@@ -0,0 +1,50 @@
+# Install script for directory: /home/yasutomo/devel/moflib/sample
+
+# 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_LOCAL_ONLY)
+  # Include the install script for each subdirectory.
+  INCLUDE("/home/yasutomo/devel/moflib/sample/unix/numeric/cmake_install.cmake")
+
+ENDIF(NOT CMAKE_INSTALL_LOCAL_ONLY)
+
+IF(CMAKE_INSTALL_COMPONENT)
+  SET(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
+ELSE(CMAKE_INSTALL_COMPONENT)
+  SET(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
+ENDIF(CMAKE_INSTALL_COMPONENT)
+
+FILE(WRITE "/home/yasutomo/devel/moflib/sample/unix/${CMAKE_INSTALL_MANIFEST}" "")
+FOREACH(file ${CMAKE_INSTALL_MANIFEST_FILES})
+  FILE(APPEND "/home/yasutomo/devel/moflib/sample/unix/${CMAKE_INSTALL_MANIFEST}" "${file}\n")
+ENDFOREACH(file)
diff --git a/sample/unix/numeric/CMakeFiles/CMakeDirectoryInformation.cmake b/sample/unix/numeric/CMakeFiles/CMakeDirectoryInformation.cmake
new file mode 100644 (file)
index 0000000..ffecc8b
--- /dev/null
@@ -0,0 +1,23 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# Relative path conversion top directories.
+SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/yasutomo/devel/moflib/sample")
+SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/yasutomo/devel/moflib/sample/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
+  "../../src"
+  "../BOOST_INCLUDE_DIR"
+  )
+SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
+SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
+
+# The C and CXX include file regular expressions for this directory.
+SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
+SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
+SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
+SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
diff --git a/sample/unix/numeric/CMakeFiles/numeric.dir/CXX.includecache b/sample/unix/numeric/CMakeFiles/numeric.dir/CXX.includecache
new file mode 100644 (file)
index 0000000..8a070e7
--- /dev/null
@@ -0,0 +1,48 @@
+#IncludeRegexLine: ^[  ]*#[    ]*(include|import)[     ]*[<"]([^">]+)([">])
+
+#IncludeRegexScan: ^.*$
+
+#IncludeRegexComplain: ^$
+
+#IncludeRegexTransform: 
+
+../../src/mof/base/mofdef.hpp
+cstddef
+-
+
+../../src/mof/math/basic_vector.hpp
+mof/base/mofdef.hpp
+-
+boost/operators.hpp
+-
+ostream
+-
+
+../../src/mof/math/vector.hpp
+mof/math/vector2.hpp
+-
+mof/math/vector3.hpp
+-
+mof/math/vector4.hpp
+-
+
+../../src/mof/math/vector2.hpp
+mof/math/basic_vector.hpp
+-
+
+../../src/mof/math/vector3.hpp
+mof/math/basic_vector.hpp
+-
+mof/math/vector2.hpp
+-
+
+../../src/mof/math/vector4.hpp
+mof/math/basic_vector.hpp
+-
+mof/math/vector3.hpp
+-
+
+/home/yasutomo/devel/moflib/sample/numeric/main.cpp
+mof/math/vector.hpp
+-
+
diff --git a/sample/unix/numeric/CMakeFiles/numeric.dir/DependInfo.cmake b/sample/unix/numeric/CMakeFiles/numeric.dir/DependInfo.cmake
new file mode 100644 (file)
index 0000000..45ed45b
--- /dev/null
@@ -0,0 +1,13 @@
+# The set of languages for which implicit dependencies are needed:
+SET(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+SET(CMAKE_DEPENDS_CHECK_CXX
+  "/home/yasutomo/devel/moflib/sample/numeric/main.cpp" "/home/yasutomo/devel/moflib/sample/unix/numeric/CMakeFiles/numeric.dir/main.cpp.o"
+  )
+SET(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Targets to which this target links.
+SET(CMAKE_TARGET_LINKED_INFO_FILES
+  )
diff --git a/sample/unix/numeric/CMakeFiles/numeric.dir/build.make b/sample/unix/numeric/CMakeFiles/numeric.dir/build.make
new file mode 100644 (file)
index 0000000..f5b3604
--- /dev/null
@@ -0,0 +1,100 @@
+# 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/sample
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/yasutomo/devel/moflib/sample/unix
+
+# Include any dependencies generated for this target.
+include numeric/CMakeFiles/numeric.dir/depend.make
+
+# Include the progress variables for this target.
+include numeric/CMakeFiles/numeric.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include numeric/CMakeFiles/numeric.dir/flags.make
+
+numeric/CMakeFiles/numeric.dir/main.cpp.o: numeric/CMakeFiles/numeric.dir/flags.make
+numeric/CMakeFiles/numeric.dir/main.cpp.o: ../numeric/main.cpp
+       $(CMAKE_COMMAND) -E cmake_progress_report /home/yasutomo/devel/moflib/sample/unix/CMakeFiles $(CMAKE_PROGRESS_1)
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object numeric/CMakeFiles/numeric.dir/main.cpp.o"
+       cd /home/yasutomo/devel/moflib/sample/unix/numeric && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/numeric.dir/main.cpp.o -c /home/yasutomo/devel/moflib/sample/numeric/main.cpp
+
+numeric/CMakeFiles/numeric.dir/main.cpp.i: cmake_force
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/numeric.dir/main.cpp.i"
+       cd /home/yasutomo/devel/moflib/sample/unix/numeric && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/yasutomo/devel/moflib/sample/numeric/main.cpp > CMakeFiles/numeric.dir/main.cpp.i
+
+numeric/CMakeFiles/numeric.dir/main.cpp.s: cmake_force
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/numeric.dir/main.cpp.s"
+       cd /home/yasutomo/devel/moflib/sample/unix/numeric && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/yasutomo/devel/moflib/sample/numeric/main.cpp -o CMakeFiles/numeric.dir/main.cpp.s
+
+numeric/CMakeFiles/numeric.dir/main.cpp.o.requires:
+.PHONY : numeric/CMakeFiles/numeric.dir/main.cpp.o.requires
+
+numeric/CMakeFiles/numeric.dir/main.cpp.o.provides: numeric/CMakeFiles/numeric.dir/main.cpp.o.requires
+       $(MAKE) -f numeric/CMakeFiles/numeric.dir/build.make numeric/CMakeFiles/numeric.dir/main.cpp.o.provides.build
+.PHONY : numeric/CMakeFiles/numeric.dir/main.cpp.o.provides
+
+numeric/CMakeFiles/numeric.dir/main.cpp.o.provides.build: numeric/CMakeFiles/numeric.dir/main.cpp.o
+.PHONY : numeric/CMakeFiles/numeric.dir/main.cpp.o.provides.build
+
+# Object files for target numeric
+numeric_OBJECTS = \
+"CMakeFiles/numeric.dir/main.cpp.o"
+
+# External object files for target numeric
+numeric_EXTERNAL_OBJECTS =
+
+/home/yasutomo/devel/moflib/bin/numeric: numeric/CMakeFiles/numeric.dir/main.cpp.o
+/home/yasutomo/devel/moflib/bin/numeric: numeric/CMakeFiles/numeric.dir/build.make
+/home/yasutomo/devel/moflib/bin/numeric: numeric/CMakeFiles/numeric.dir/link.txt
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable /home/yasutomo/devel/moflib/bin/numeric"
+       cd /home/yasutomo/devel/moflib/sample/unix/numeric && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/numeric.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+numeric/CMakeFiles/numeric.dir/build: /home/yasutomo/devel/moflib/bin/numeric
+.PHONY : numeric/CMakeFiles/numeric.dir/build
+
+numeric/CMakeFiles/numeric.dir/requires: numeric/CMakeFiles/numeric.dir/main.cpp.o.requires
+.PHONY : numeric/CMakeFiles/numeric.dir/requires
+
+numeric/CMakeFiles/numeric.dir/clean:
+       cd /home/yasutomo/devel/moflib/sample/unix/numeric && $(CMAKE_COMMAND) -P CMakeFiles/numeric.dir/cmake_clean.cmake
+.PHONY : numeric/CMakeFiles/numeric.dir/clean
+
+numeric/CMakeFiles/numeric.dir/depend:
+       cd /home/yasutomo/devel/moflib/sample/unix && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/yasutomo/devel/moflib/sample /home/yasutomo/devel/moflib/sample/numeric /home/yasutomo/devel/moflib/sample/unix /home/yasutomo/devel/moflib/sample/unix/numeric /home/yasutomo/devel/moflib/sample/unix/numeric/CMakeFiles/numeric.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : numeric/CMakeFiles/numeric.dir/depend
+
diff --git a/sample/unix/numeric/CMakeFiles/numeric.dir/cmake_clean.cmake b/sample/unix/numeric/CMakeFiles/numeric.dir/cmake_clean.cmake
new file mode 100644 (file)
index 0000000..fa38dc5
--- /dev/null
@@ -0,0 +1,10 @@
+FILE(REMOVE_RECURSE
+  "CMakeFiles/numeric.dir/main.cpp.o"
+  "/home/yasutomo/devel/moflib/bin/numeric.pdb"
+  "/home/yasutomo/devel/moflib/bin/numeric"
+)
+
+# Per-language clean rules from dependency scanning.
+FOREACH(lang CXX)
+  INCLUDE(CMakeFiles/numeric.dir/cmake_clean_${lang}.cmake OPTIONAL)
+ENDFOREACH(lang)
diff --git a/sample/unix/numeric/CMakeFiles/numeric.dir/depend.internal b/sample/unix/numeric/CMakeFiles/numeric.dir/depend.internal
new file mode 100644 (file)
index 0000000..d4a2fec
--- /dev/null
@@ -0,0 +1,11 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+numeric/CMakeFiles/numeric.dir/main.cpp.o
+ ../../src/mof/base/mofdef.hpp
+ ../../src/mof/math/basic_vector.hpp
+ ../../src/mof/math/vector.hpp
+ ../../src/mof/math/vector2.hpp
+ ../../src/mof/math/vector3.hpp
+ ../../src/mof/math/vector4.hpp
+ /home/yasutomo/devel/moflib/sample/numeric/main.cpp
diff --git a/sample/unix/numeric/CMakeFiles/numeric.dir/depend.make b/sample/unix/numeric/CMakeFiles/numeric.dir/depend.make
new file mode 100644 (file)
index 0000000..eea9e75
--- /dev/null
@@ -0,0 +1,11 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+numeric/CMakeFiles/numeric.dir/main.cpp.o: ../../src/mof/base/mofdef.hpp
+numeric/CMakeFiles/numeric.dir/main.cpp.o: ../../src/mof/math/basic_vector.hpp
+numeric/CMakeFiles/numeric.dir/main.cpp.o: ../../src/mof/math/vector.hpp
+numeric/CMakeFiles/numeric.dir/main.cpp.o: ../../src/mof/math/vector2.hpp
+numeric/CMakeFiles/numeric.dir/main.cpp.o: ../../src/mof/math/vector3.hpp
+numeric/CMakeFiles/numeric.dir/main.cpp.o: ../../src/mof/math/vector4.hpp
+numeric/CMakeFiles/numeric.dir/main.cpp.o: ../numeric/main.cpp
+
diff --git a/sample/unix/numeric/CMakeFiles/numeric.dir/flags.make b/sample/unix/numeric/CMakeFiles/numeric.dir/flags.make
new file mode 100644 (file)
index 0000000..8f77399
--- /dev/null
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS = -I/home/yasutomo/devel/moflib/sample/../src -I/home/yasutomo/devel/moflib/sample/BOOST_INCLUDE_DIR  
+
+CXX_DEFINES = 
+
diff --git a/sample/unix/numeric/CMakeFiles/numeric.dir/link.txt b/sample/unix/numeric/CMakeFiles/numeric.dir/link.txt
new file mode 100644 (file)
index 0000000..0ce776b
--- /dev/null
@@ -0,0 +1 @@
+/usr/bin/c++      CMakeFiles/numeric.dir/main.cpp.o  -o /home/yasutomo/devel/moflib/bin/numeric -rdynamic -L/home/yasutomo/devel/moflib/sample/../lib -lmofmath -Wl,-rpath,/home/yasutomo/devel/moflib/sample/../lib 
diff --git a/sample/unix/numeric/CMakeFiles/numeric.dir/progress.make b/sample/unix/numeric/CMakeFiles/numeric.dir/progress.make
new file mode 100644 (file)
index 0000000..781c7de
--- /dev/null
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 1
+
diff --git a/sample/unix/numeric/CMakeFiles/progress.marks b/sample/unix/numeric/CMakeFiles/progress.marks
new file mode 100644 (file)
index 0000000..d00491f
--- /dev/null
@@ -0,0 +1 @@
+1
diff --git a/sample/unix/numeric/Makefile b/sample/unix/numeric/Makefile
new file mode 100644 (file)
index 0000000..6559168
--- /dev/null
@@ -0,0 +1,161 @@
+# 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/sample
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/yasutomo/devel/moflib/sample/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 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
+
+# The main all target
+all: cmake_check_build_system
+       cd /home/yasutomo/devel/moflib/sample/unix && $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/sample/unix/CMakeFiles /home/yasutomo/devel/moflib/sample/unix/numeric/CMakeFiles/progress.marks
+       cd /home/yasutomo/devel/moflib/sample/unix && $(MAKE) -f CMakeFiles/Makefile2 numeric/all
+       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/sample/unix/CMakeFiles 0
+.PHONY : all
+
+# The main clean target
+clean:
+       cd /home/yasutomo/devel/moflib/sample/unix && $(MAKE) -f CMakeFiles/Makefile2 numeric/clean
+.PHONY : clean
+
+# The main clean target
+clean/fast: clean
+.PHONY : clean/fast
+
+# Prepare targets for installation.
+preinstall: all
+       cd /home/yasutomo/devel/moflib/sample/unix && $(MAKE) -f CMakeFiles/Makefile2 numeric/preinstall
+.PHONY : preinstall
+
+# Prepare targets for installation.
+preinstall/fast:
+       cd /home/yasutomo/devel/moflib/sample/unix && $(MAKE) -f CMakeFiles/Makefile2 numeric/preinstall
+.PHONY : preinstall/fast
+
+# clear depends
+depend:
+       cd /home/yasutomo/devel/moflib/sample/unix && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
+.PHONY : depend
+
+# Convenience name for target.
+numeric/CMakeFiles/numeric.dir/rule:
+       cd /home/yasutomo/devel/moflib/sample/unix && $(MAKE) -f CMakeFiles/Makefile2 numeric/CMakeFiles/numeric.dir/rule
+.PHONY : numeric/CMakeFiles/numeric.dir/rule
+
+# Convenience name for target.
+numeric: numeric/CMakeFiles/numeric.dir/rule
+.PHONY : numeric
+
+# fast build rule for target.
+numeric/fast:
+       cd /home/yasutomo/devel/moflib/sample/unix && $(MAKE) -f numeric/CMakeFiles/numeric.dir/build.make numeric/CMakeFiles/numeric.dir/build
+.PHONY : numeric/fast
+
+main.o: main.cpp.o
+.PHONY : main.o
+
+# target to build an object file
+main.cpp.o:
+       cd /home/yasutomo/devel/moflib/sample/unix && $(MAKE) -f numeric/CMakeFiles/numeric.dir/build.make numeric/CMakeFiles/numeric.dir/main.cpp.o
+.PHONY : main.cpp.o
+
+main.i: main.cpp.i
+.PHONY : main.i
+
+# target to preprocess a source file
+main.cpp.i:
+       cd /home/yasutomo/devel/moflib/sample/unix && $(MAKE) -f numeric/CMakeFiles/numeric.dir/build.make numeric/CMakeFiles/numeric.dir/main.cpp.i
+.PHONY : main.cpp.i
+
+main.s: main.cpp.s
+.PHONY : main.s
+
+# target to generate assembly for a file
+main.cpp.s:
+       cd /home/yasutomo/devel/moflib/sample/unix && $(MAKE) -f numeric/CMakeFiles/numeric.dir/build.make numeric/CMakeFiles/numeric.dir/main.cpp.s
+.PHONY : main.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 "... numeric"
+       @echo "... rebuild_cache"
+       @echo "... main.o"
+       @echo "... main.i"
+       @echo "... main.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/sample/unix && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
+.PHONY : cmake_check_build_system
+
diff --git a/sample/unix/numeric/cmake_install.cmake b/sample/unix/numeric/cmake_install.cmake
new file mode 100644 (file)
index 0000000..e28db83
--- /dev/null
@@ -0,0 +1,34 @@
+# Install script for directory: /home/yasutomo/devel/moflib/sample/numeric
+
+# 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)
+
index a19e9bc..2926051 100644 (file)
@@ -1,6 +1,19 @@
+#-------------------
+# moflib
+#-------------------
 cmake_minimum_required(VERSION 2.8)
 project(moflib)
-include_directories("${PROJECT_SOURCE_DIR}")
 set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/../lib/)
-message(STATUS ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY})
+set(TEST_BINARIES_DIRECTORY ${PROJECT_SOURCE_DIR}/test/testbin/)
+enable_testing()
+
+include_directories("${PROJECT_SOURCE_DIR}")
+
+# build math
 add_library(mofmath STATIC mof/dummy.cpp)
+
+# build test
+subdirs(test)
+
+# run test
+add_test(vector_test ${TEST_BINARIES_DIRECTORY}/vector_test)
diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f56adb1
--- /dev/null
@@ -0,0 +1,18 @@
+#--------------------------------
+# test
+# The tests of moflib
+#-------------------------------
+cmake_minimum_required(VERSION 2.8)
+project(test)
+set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/testbin/)
+
+# moflib
+include_directories("${PROJECT_SOURCE_DIR}/../")
+link_directories("${PROJECT_SOURCE_DIR}/../../lib")
+
+# boost
+find_package(Boost)
+include_directories(BOOST_INCLUDE_DIR)
+
+add_executable(vector_test mof/math/vector_test.cpp)
+target_link_libraries(vector_test "mofmath")
diff --git a/src/test/testbin/vector_test b/src/test/testbin/vector_test
new file mode 100755 (executable)
index 0000000..d74d716
Binary files /dev/null and b/src/test/testbin/vector_test differ
index 8f4fa5d..78e98c6 100644 (file)
 # EXTERNAL cache entries
 ########################
 
+//Path to a file.
+Boost_INCLUDE_DIR:PATH=/usr/include
+
+//Boost library directory
+Boost_LIBRARY_DIRS:FILEPATH=/usr/lib
+
 //Path to a program.
 CMAKE_AR:FILEPATH=/usr/bin/ar
 
@@ -160,11 +166,25 @@ moflib_SOURCE_DIR:STATIC=/home/yasutomo/devel/moflib/src
 //Dependencies for target
 mofmath_LIB_DEPENDS:STATIC=
 
+//Value Computed by CMake
+test_BINARY_DIR:STATIC=/home/yasutomo/devel/moflib/src/unix/test
+
+//Value Computed by CMake
+test_SOURCE_DIR:STATIC=/home/yasutomo/devel/moflib/src/test
+
 
 ########################
 # INTERNAL cache entries
 ########################
 
+//ADVANCED property for variable: Boost_INCLUDE_DIR
+Boost_INCLUDE_DIR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: Boost_LIBRARY_DIRS
+Boost_LIBRARY_DIRS-ADVANCED:INTERNAL=1
+//The library version string for boost libraries
+Boost_LIB_VERSION:INTERNAL=1_40
+//The version number for boost libraries
+Boost_VERSION:INTERNAL=104000
 //ADVANCED property for variable: CMAKE_AR
 CMAKE_AR-ADVANCED:INTERNAL=1
 //ADVANCED property for variable: CMAKE_BUILD_TOOL
@@ -253,7 +273,7 @@ CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
 //ADVANCED property for variable: CMAKE_NM
 CMAKE_NM-ADVANCED:INTERNAL=1
 //number of local generators
-CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=1
+CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=2
 //ADVANCED property for variable: CMAKE_OBJCOPY
 CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
 //ADVANCED property for variable: CMAKE_OBJDUMP
index 12a58ac..c67726c 100644 (file)
@@ -10,6 +10,7 @@ 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})
index 9be28bd..0dba2da 100644 (file)
@@ -8,6 +8,7 @@ SET(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
 SET(CMAKE_MAKEFILE_DEPENDS
   "CMakeCache.txt"
   "../CMakeLists.txt"
+  "../test/CMakeLists.txt"
   "CMakeFiles/CMakeCCompiler.cmake"
   "CMakeFiles/CMakeCXXCompiler.cmake"
   "CMakeFiles/CMakeSystem.cmake"
@@ -18,6 +19,7 @@ SET(CMAKE_MAKEFILE_DEPENDS
   "/usr/share/cmake-2.8/Modules/CMakeSystemSpecificInformation.cmake"
   "/usr/share/cmake-2.8/Modules/Compiler/GNU-C.cmake"
   "/usr/share/cmake-2.8/Modules/Compiler/GNU-CXX.cmake"
+  "/usr/share/cmake-2.8/Modules/FindBoost.cmake"
   "/usr/share/cmake-2.8/Modules/Platform/Linux.cmake"
   "/usr/share/cmake-2.8/Modules/Platform/UnixPaths.cmake"
   "/usr/share/cmake-2.8/Modules/Platform/gcc.cmake"
@@ -32,10 +34,11 @@ SET(CMAKE_MAKEFILE_OUTPUTS
 # Byproducts of CMake generate step:
 SET(CMAKE_MAKEFILE_PRODUCTS
   "CMakeFiles/CMakeDirectoryInformation.cmake"
+  "test/CMakeFiles/CMakeDirectoryInformation.cmake"
   )
 
 # Dependency information for all targets:
 SET(CMAKE_DEPEND_INFO_FILES
-  "CMakeFiles/moflib.dir/DependInfo.cmake"
   "CMakeFiles/mofmath.dir/DependInfo.cmake"
+  "test/CMakeFiles/vector_test.dir/DependInfo.cmake"
   )
index b501da2..9e7fb01 100644 (file)
@@ -50,73 +50,88 @@ CMAKE_SOURCE_DIR = /home/yasutomo/devel/moflib/src
 CMAKE_BINARY_DIR = /home/yasutomo/devel/moflib/src/unix
 
 #=============================================================================
-# Target rules for target CMakeFiles/moflib.dir
+# Target rules for target CMakeFiles/mofmath.dir
 
 # All Build rule for target.
-CMakeFiles/moflib.dir/all:
-       $(MAKE) -f CMakeFiles/moflib.dir/build.make CMakeFiles/moflib.dir/depend
-       $(MAKE) -f CMakeFiles/moflib.dir/build.make CMakeFiles/moflib.dir/build
+CMakeFiles/mofmath.dir/all:
+       $(MAKE) -f CMakeFiles/mofmath.dir/build.make CMakeFiles/mofmath.dir/depend
+       $(MAKE) -f CMakeFiles/mofmath.dir/build.make CMakeFiles/mofmath.dir/build
        $(CMAKE_COMMAND) -E cmake_progress_report /home/yasutomo/devel/moflib/src/unix/CMakeFiles  1
-       @echo "Built target moflib"
-.PHONY : CMakeFiles/moflib.dir/all
+       @echo "Built target mofmath"
+.PHONY : CMakeFiles/mofmath.dir/all
 
 # Include target in all.
-all: CMakeFiles/moflib.dir/all
+all: CMakeFiles/mofmath.dir/all
 .PHONY : all
 
 # Build rule for subdir invocation for target.
-CMakeFiles/moflib.dir/rule: cmake_check_build_system
+CMakeFiles/mofmath.dir/rule: cmake_check_build_system
        $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/unix/CMakeFiles 1
-       $(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/moflib.dir/all
+       $(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/mofmath.dir/all
        $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/unix/CMakeFiles 0
-.PHONY : CMakeFiles/moflib.dir/rule
+.PHONY : CMakeFiles/mofmath.dir/rule
 
 # Convenience name for target.
-moflib: CMakeFiles/moflib.dir/rule
-.PHONY : moflib
+mofmath: CMakeFiles/mofmath.dir/rule
+.PHONY : mofmath
 
 # clean rule for target.
-CMakeFiles/moflib.dir/clean:
-       $(MAKE) -f CMakeFiles/moflib.dir/build.make CMakeFiles/moflib.dir/clean
-.PHONY : CMakeFiles/moflib.dir/clean
+CMakeFiles/mofmath.dir/clean:
+       $(MAKE) -f CMakeFiles/mofmath.dir/build.make CMakeFiles/mofmath.dir/clean
+.PHONY : CMakeFiles/mofmath.dir/clean
 
 # clean rule for target.
-clean: CMakeFiles/moflib.dir/clean
+clean: CMakeFiles/mofmath.dir/clean
 .PHONY : clean
 
 #=============================================================================
-# Target rules for target CMakeFiles/mofmath.dir
+# Directory level rules for directory test
+
+# Convenience name for "all" pass in the directory.
+test/all: test/CMakeFiles/vector_test.dir/all
+.PHONY : test/all
+
+# Convenience name for "clean" pass in the directory.
+test/clean: test/CMakeFiles/vector_test.dir/clean
+.PHONY : test/clean
+
+# Convenience name for "preinstall" pass in the directory.
+test/preinstall:
+.PHONY : test/preinstall
+
+#=============================================================================
+# Target rules for target test/CMakeFiles/vector_test.dir
 
 # All Build rule for target.
-CMakeFiles/mofmath.dir/all:
-       $(MAKE) -f CMakeFiles/mofmath.dir/build.make CMakeFiles/mofmath.dir/depend
-       $(MAKE) -f CMakeFiles/mofmath.dir/build.make CMakeFiles/mofmath.dir/build
+test/CMakeFiles/vector_test.dir/all: CMakeFiles/mofmath.dir/all
+       $(MAKE) -f test/CMakeFiles/vector_test.dir/build.make test/CMakeFiles/vector_test.dir/depend
+       $(MAKE) -f test/CMakeFiles/vector_test.dir/build.make test/CMakeFiles/vector_test.dir/build
        $(CMAKE_COMMAND) -E cmake_progress_report /home/yasutomo/devel/moflib/src/unix/CMakeFiles  2
-       @echo "Built target mofmath"
-.PHONY : CMakeFiles/mofmath.dir/all
+       @echo "Built target vector_test"
+.PHONY : test/CMakeFiles/vector_test.dir/all
 
 # Include target in all.
-all: CMakeFiles/mofmath.dir/all
+all: test/CMakeFiles/vector_test.dir/all
 .PHONY : all
 
 # Build rule for subdir invocation for target.
-CMakeFiles/mofmath.dir/rule: cmake_check_build_system
-       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/unix/CMakeFiles 1
-       $(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/mofmath.dir/all
+test/CMakeFiles/vector_test.dir/rule: cmake_check_build_system
+       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/unix/CMakeFiles 2
+       $(MAKE) -f CMakeFiles/Makefile2 test/CMakeFiles/vector_test.dir/all
        $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/unix/CMakeFiles 0
-.PHONY : CMakeFiles/mofmath.dir/rule
+.PHONY : test/CMakeFiles/vector_test.dir/rule
 
 # Convenience name for target.
-mofmath: CMakeFiles/mofmath.dir/rule
-.PHONY : mofmath
+vector_test: test/CMakeFiles/vector_test.dir/rule
+.PHONY : vector_test
 
 # clean rule for target.
-CMakeFiles/mofmath.dir/clean:
-       $(MAKE) -f CMakeFiles/mofmath.dir/build.make CMakeFiles/mofmath.dir/clean
-.PHONY : CMakeFiles/mofmath.dir/clean
+test/CMakeFiles/vector_test.dir/clean:
+       $(MAKE) -f test/CMakeFiles/vector_test.dir/build.make test/CMakeFiles/vector_test.dir/clean
+.PHONY : test/CMakeFiles/vector_test.dir/clean
 
 # clean rule for target.
-clean: CMakeFiles/mofmath.dir/clean
+clean: test/CMakeFiles/vector_test.dir/clean
 .PHONY : clean
 
 #=============================================================================
index 01cc281..a54cf6e 100644 (file)
@@ -1,2 +1,2 @@
-/home/yasutomo/devel/moflib/src/unix/CMakeFiles/moflib.dir
 /home/yasutomo/devel/moflib/src/unix/CMakeFiles/mofmath.dir
+/home/yasutomo/devel/moflib/src/unix/test/CMakeFiles/vector_test.dir
index 35e4af2..425f93e 100644 (file)
@@ -77,15 +77,15 @@ mofmath_OBJECTS = \
 # External object files for target mofmath
 mofmath_EXTERNAL_OBJECTS =
 
-../lib/libmofmath.a: CMakeFiles/mofmath.dir/mof/dummy.cpp.o
-../lib/libmofmath.a: CMakeFiles/mofmath.dir/build.make
-../lib/libmofmath.a: CMakeFiles/mofmath.dir/link.txt
-       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX static library ../lib/libmofmath.a"
+/home/yasutomo/devel/moflib/lib/libmofmath.a: CMakeFiles/mofmath.dir/mof/dummy.cpp.o
+/home/yasutomo/devel/moflib/lib/libmofmath.a: CMakeFiles/mofmath.dir/build.make
+/home/yasutomo/devel/moflib/lib/libmofmath.a: 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"
        $(CMAKE_COMMAND) -P CMakeFiles/mofmath.dir/cmake_clean_target.cmake
        $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/mofmath.dir/link.txt --verbose=$(VERBOSE)
 
 # Rule to build all files generated by this target.
-CMakeFiles/mofmath.dir/build: ../lib/libmofmath.a
+CMakeFiles/mofmath.dir/build: /home/yasutomo/devel/moflib/lib/libmofmath.a
 .PHONY : CMakeFiles/mofmath.dir/build
 
 CMakeFiles/mofmath.dir/requires: CMakeFiles/mofmath.dir/mof/dummy.cpp.o.requires
index 5422cfc..1e33dba 100644 (file)
@@ -1,7 +1,7 @@
 FILE(REMOVE_RECURSE
   "CMakeFiles/mofmath.dir/mof/dummy.cpp.o"
-  "../lib/libmofmath.pdb"
-  "../lib/libmofmath.a"
+  "/home/yasutomo/devel/moflib/lib/libmofmath.pdb"
+  "/home/yasutomo/devel/moflib/lib/libmofmath.a"
 )
 
 # Per-language clean rules from dependency scanning.
index 6043470..6faddf5 100644 (file)
@@ -2,7 +2,7 @@
 # Generated by "Unix Makefiles" Generator, CMake Version 2.8
 
 # compile CXX with /usr/bin/c++
-CXX_FLAGS =  
+CXX_FLAGS = -I/home/yasutomo/devel/moflib/src  
 
 CXX_DEFINES = 
 
index 6dd7962..73b48ab 100644 (file)
@@ -1,2 +1,2 @@
-/usr/bin/ar cr ../lib/libmofmath.a  CMakeFiles/mofmath.dir/mof/dummy.cpp.o
-/usr/bin/ranlib ../lib/libmofmath.a
+/usr/bin/ar cr /home/yasutomo/devel/moflib/lib/libmofmath.a  CMakeFiles/mofmath.dir/mof/dummy.cpp.o
+/usr/bin/ranlib /home/yasutomo/devel/moflib/lib/libmofmath.a
diff --git a/src/unix/CTestTestfile.cmake b/src/unix/CTestTestfile.cmake
new file mode 100644 (file)
index 0000000..16a8a58
--- /dev/null
@@ -0,0 +1,8 @@
+# CMake generated Testfile for 
+# Source directory: /home/yasutomo/devel/moflib/src
+# Build directory: /home/yasutomo/devel/moflib/src/unix
+# 
+# This file includes the relevent testing commands required for 
+# testing this directory and lists subdirectories to be tested as well.
+ADD_TEST(vector_test "/home/yasutomo/devel/moflib/src/test/testbin/vector_test")
+SUBDIRS(test)
index 830c28e..4ab8315 100644 (file)
@@ -64,6 +64,16 @@ 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
        $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/unix/CMakeFiles /home/yasutomo/devel/moflib/src/unix/CMakeFiles/progress.marks
@@ -96,19 +106,6 @@ depend:
 .PHONY : depend
 
 #=============================================================================
-# Target rules for targets named moflib
-
-# Build rule for target.
-moflib: cmake_check_build_system
-       $(MAKE) -f CMakeFiles/Makefile2 moflib
-.PHONY : moflib
-
-# fast build rule for target.
-moflib/fast:
-       $(MAKE) -f CMakeFiles/moflib.dir/build.make CMakeFiles/moflib.dir/build
-.PHONY : moflib/fast
-
-#=============================================================================
 # Target rules for targets named mofmath
 
 # Build rule for target.
@@ -121,12 +118,24 @@ mofmath/fast:
        $(MAKE) -f CMakeFiles/mofmath.dir/build.make CMakeFiles/mofmath.dir/build
 .PHONY : mofmath/fast
 
+#=============================================================================
+# Target rules for targets named vector_test
+
+# Build rule for target.
+vector_test: cmake_check_build_system
+       $(MAKE) -f CMakeFiles/Makefile2 vector_test
+.PHONY : vector_test
+
+# fast build rule for target.
+vector_test/fast:
+       $(MAKE) -f test/CMakeFiles/vector_test.dir/build.make test/CMakeFiles/vector_test.dir/build
+.PHONY : vector_test/fast
+
 mof/dummy.o: mof/dummy.cpp.o
 .PHONY : mof/dummy.o
 
 # target to build an object file
 mof/dummy.cpp.o:
-       $(MAKE) -f CMakeFiles/moflib.dir/build.make CMakeFiles/moflib.dir/mof/dummy.cpp.o
        $(MAKE) -f CMakeFiles/mofmath.dir/build.make CMakeFiles/mofmath.dir/mof/dummy.cpp.o
 .PHONY : mof/dummy.cpp.o
 
@@ -135,7 +144,6 @@ mof/dummy.i: mof/dummy.cpp.i
 
 # target to preprocess a source file
 mof/dummy.cpp.i:
-       $(MAKE) -f CMakeFiles/moflib.dir/build.make CMakeFiles/moflib.dir/mof/dummy.cpp.i
        $(MAKE) -f CMakeFiles/mofmath.dir/build.make CMakeFiles/mofmath.dir/mof/dummy.cpp.i
 .PHONY : mof/dummy.cpp.i
 
@@ -144,7 +152,6 @@ mof/dummy.s: mof/dummy.cpp.s
 
 # target to generate assembly for a file
 mof/dummy.cpp.s:
-       $(MAKE) -f CMakeFiles/moflib.dir/build.make CMakeFiles/moflib.dir/mof/dummy.cpp.s
        $(MAKE) -f CMakeFiles/mofmath.dir/build.make CMakeFiles/mofmath.dir/mof/dummy.cpp.s
 .PHONY : mof/dummy.cpp.s
 
@@ -155,9 +162,10 @@ help:
        @echo "... clean"
        @echo "... depend"
        @echo "... edit_cache"
-       @echo "... moflib"
        @echo "... mofmath"
        @echo "... rebuild_cache"
+       @echo "... test"
+       @echo "... vector_test"
        @echo "... mof/dummy.o"
        @echo "... mof/dummy.i"
        @echo "... mof/dummy.s"
diff --git a/src/unix/Testing/Temporary/CTestCostData.txt b/src/unix/Testing/Temporary/CTestCostData.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/unix/Testing/Temporary/LastTest.log b/src/unix/Testing/Temporary/LastTest.log
new file mode 100644 (file)
index 0000000..d7c0ed0
--- /dev/null
@@ -0,0 +1,18 @@
+Start testing: Aug 08 05:42 PDT
+----------------------------------------------------------
+1/1 Testing: vector_test
+1/1 Test: vector_test
+Command: "/home/yasutomo/devel/moflib/src/test/testbin/vector_test"
+Directory: /home/yasutomo/devel/moflib/src/unix
+"vector_test" start time: Aug 08 05:42 PDT
+Output:
+----------------------------------------------------------
+<end of output>
+Test time =   0.01 sec
+----------------------------------------------------------
+Test Passed.
+"vector_test" end time: Aug 08 05:42 PDT
+"vector_test" time elapsed: 00:00:00
+----------------------------------------------------------
+
+End testing: Aug 08 05:42 PDT
diff --git a/src/unix/Testing/Temporary/LastTestsFailed.log b/src/unix/Testing/Temporary/LastTestsFailed.log
new file mode 100644 (file)
index 0000000..f629bc6
--- /dev/null
@@ -0,0 +1 @@
+1:vector_test
index 3cfad19..e24a809 100644 (file)
@@ -32,6 +32,12 @@ IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
   SET(CMAKE_INSTALL_SO_NO_EXE "1")
 ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
 
+IF(NOT CMAKE_INSTALL_LOCAL_ONLY)
+  # Include the install script for each subdirectory.
+  INCLUDE("/home/yasutomo/devel/moflib/src/unix/test/cmake_install.cmake")
+
+ENDIF(NOT CMAKE_INSTALL_LOCAL_ONLY)
+
 IF(CMAKE_INSTALL_COMPONENT)
   SET(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
 ELSE(CMAKE_INSTALL_COMPONENT)
diff --git a/src/unix/test/CMakeFiles/CMakeDirectoryInformation.cmake b/src/unix/test/CMakeFiles/CMakeDirectoryInformation.cmake
new file mode 100644 (file)
index 0000000..89d81aa
--- /dev/null
@@ -0,0 +1,24 @@
+# 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/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
+  ".."
+  "../test/.."
+  "../test/BOOST_INCLUDE_DIR"
+  )
+SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
+SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
+
+# The C and CXX include file regular expressions for this directory.
+SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
+SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
+SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
+SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
diff --git a/src/unix/test/CMakeFiles/progress.marks b/src/unix/test/CMakeFiles/progress.marks
new file mode 100644 (file)
index 0000000..0cfbf08
--- /dev/null
@@ -0,0 +1 @@
+2
diff --git a/src/unix/test/CMakeFiles/vector_test.dir/CXX.includecache b/src/unix/test/CMakeFiles/vector_test.dir/CXX.includecache
new file mode 100644 (file)
index 0000000..0d3171a
--- /dev/null
@@ -0,0 +1,52 @@
+#IncludeRegexLine: ^[  ]*#[    ]*(include|import)[     ]*[<"]([^">]+)([">])
+
+#IncludeRegexScan: ^.*$
+
+#IncludeRegexComplain: ^$
+
+#IncludeRegexTransform: 
+
+../mof/base/mofdef.hpp
+cstddef
+-
+
+../mof/math/basic_vector.hpp
+mof/base/mofdef.hpp
+-
+boost/operators.hpp
+-
+ostream
+-
+
+../mof/math/vector.hpp
+mof/math/vector2.hpp
+-
+mof/math/vector3.hpp
+-
+mof/math/vector4.hpp
+-
+
+../mof/math/vector2.hpp
+mof/math/basic_vector.hpp
+-
+
+../mof/math/vector3.hpp
+mof/math/basic_vector.hpp
+-
+mof/math/vector2.hpp
+-
+
+../mof/math/vector4.hpp
+mof/math/basic_vector.hpp
+-
+mof/math/vector3.hpp
+-
+
+/home/yasutomo/devel/moflib/src/test/mof/math/vector_test.cpp
+mof/math/vector.hpp
+-
+iostream
+-
+sstream
+-
+
diff --git a/src/unix/test/CMakeFiles/vector_test.dir/DependInfo.cmake b/src/unix/test/CMakeFiles/vector_test.dir/DependInfo.cmake
new file mode 100644 (file)
index 0000000..d10605f
--- /dev/null
@@ -0,0 +1,14 @@
+# 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/test/mof/math/vector_test.cpp" "/home/yasutomo/devel/moflib/src/unix/test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o"
+  )
+SET(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Targets to which this target links.
+SET(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/yasutomo/devel/moflib/src/unix/CMakeFiles/mofmath.dir/DependInfo.cmake"
+  )
diff --git a/src/unix/test/CMakeFiles/vector_test.dir/build.make b/src/unix/test/CMakeFiles/vector_test.dir/build.make
new file mode 100644 (file)
index 0000000..c14ec61
--- /dev/null
@@ -0,0 +1,101 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canoncical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/yasutomo/devel/moflib/src
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/yasutomo/devel/moflib/src/unix
+
+# Include any dependencies generated for this target.
+include test/CMakeFiles/vector_test.dir/depend.make
+
+# Include the progress variables for this target.
+include test/CMakeFiles/vector_test.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include test/CMakeFiles/vector_test.dir/flags.make
+
+test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o: test/CMakeFiles/vector_test.dir/flags.make
+test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o: ../test/mof/math/vector_test.cpp
+       $(CMAKE_COMMAND) -E cmake_progress_report /home/yasutomo/devel/moflib/src/unix/CMakeFiles $(CMAKE_PROGRESS_1)
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o"
+       cd /home/yasutomo/devel/moflib/src/unix/test && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o -c /home/yasutomo/devel/moflib/src/test/mof/math/vector_test.cpp
+
+test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.i: cmake_force
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.i"
+       cd /home/yasutomo/devel/moflib/src/unix/test && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/yasutomo/devel/moflib/src/test/mof/math/vector_test.cpp > CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.i
+
+test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.s: cmake_force
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.s"
+       cd /home/yasutomo/devel/moflib/src/unix/test && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/yasutomo/devel/moflib/src/test/mof/math/vector_test.cpp -o CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.s
+
+test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o.requires:
+.PHONY : test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o.requires
+
+test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o.provides: test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o.requires
+       $(MAKE) -f test/CMakeFiles/vector_test.dir/build.make test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o.provides.build
+.PHONY : test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o.provides
+
+test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o.provides.build: test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o
+.PHONY : test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o.provides.build
+
+# Object files for target vector_test
+vector_test_OBJECTS = \
+"CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o"
+
+# External object files for target vector_test
+vector_test_EXTERNAL_OBJECTS =
+
+../test/testbin/vector_test: test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o
+../test/testbin/vector_test: /home/yasutomo/devel/moflib/lib/libmofmath.a
+../test/testbin/vector_test: test/CMakeFiles/vector_test.dir/build.make
+../test/testbin/vector_test: test/CMakeFiles/vector_test.dir/link.txt
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable ../../test/testbin/vector_test"
+       cd /home/yasutomo/devel/moflib/src/unix/test && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/vector_test.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+test/CMakeFiles/vector_test.dir/build: ../test/testbin/vector_test
+.PHONY : test/CMakeFiles/vector_test.dir/build
+
+test/CMakeFiles/vector_test.dir/requires: test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o.requires
+.PHONY : test/CMakeFiles/vector_test.dir/requires
+
+test/CMakeFiles/vector_test.dir/clean:
+       cd /home/yasutomo/devel/moflib/src/unix/test && $(CMAKE_COMMAND) -P CMakeFiles/vector_test.dir/cmake_clean.cmake
+.PHONY : test/CMakeFiles/vector_test.dir/clean
+
+test/CMakeFiles/vector_test.dir/depend:
+       cd /home/yasutomo/devel/moflib/src/unix && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/yasutomo/devel/moflib/src /home/yasutomo/devel/moflib/src/test /home/yasutomo/devel/moflib/src/unix /home/yasutomo/devel/moflib/src/unix/test /home/yasutomo/devel/moflib/src/unix/test/CMakeFiles/vector_test.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : test/CMakeFiles/vector_test.dir/depend
+
diff --git a/src/unix/test/CMakeFiles/vector_test.dir/cmake_clean.cmake b/src/unix/test/CMakeFiles/vector_test.dir/cmake_clean.cmake
new file mode 100644 (file)
index 0000000..f79fc2d
--- /dev/null
@@ -0,0 +1,10 @@
+FILE(REMOVE_RECURSE
+  "CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o"
+  "../../test/testbin/vector_test.pdb"
+  "../../test/testbin/vector_test"
+)
+
+# Per-language clean rules from dependency scanning.
+FOREACH(lang CXX)
+  INCLUDE(CMakeFiles/vector_test.dir/cmake_clean_${lang}.cmake OPTIONAL)
+ENDFOREACH(lang)
diff --git a/src/unix/test/CMakeFiles/vector_test.dir/depend.internal b/src/unix/test/CMakeFiles/vector_test.dir/depend.internal
new file mode 100644 (file)
index 0000000..93f78e4
--- /dev/null
@@ -0,0 +1,11 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o
+ ../mof/base/mofdef.hpp
+ ../mof/math/basic_vector.hpp
+ ../mof/math/vector.hpp
+ ../mof/math/vector2.hpp
+ ../mof/math/vector3.hpp
+ ../mof/math/vector4.hpp
+ /home/yasutomo/devel/moflib/src/test/mof/math/vector_test.cpp
diff --git a/src/unix/test/CMakeFiles/vector_test.dir/depend.make b/src/unix/test/CMakeFiles/vector_test.dir/depend.make
new file mode 100644 (file)
index 0000000..3994762
--- /dev/null
@@ -0,0 +1,11 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o: ../mof/base/mofdef.hpp
+test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o: ../mof/math/basic_vector.hpp
+test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o: ../mof/math/vector.hpp
+test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o: ../mof/math/vector2.hpp
+test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o: ../mof/math/vector3.hpp
+test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o: ../mof/math/vector4.hpp
+test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o: ../test/mof/math/vector_test.cpp
+
diff --git a/src/unix/test/CMakeFiles/vector_test.dir/flags.make b/src/unix/test/CMakeFiles/vector_test.dir/flags.make
new file mode 100644 (file)
index 0000000..0feecc1
--- /dev/null
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS = -I/home/yasutomo/devel/moflib/src -I/home/yasutomo/devel/moflib/src/test/.. -I/home/yasutomo/devel/moflib/src/test/BOOST_INCLUDE_DIR  
+
+CXX_DEFINES = 
+
diff --git a/src/unix/test/CMakeFiles/vector_test.dir/link.txt b/src/unix/test/CMakeFiles/vector_test.dir/link.txt
new file mode 100644 (file)
index 0000000..42f987d
--- /dev/null
@@ -0,0 +1 @@
+/usr/bin/c++      CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o  -o ../../test/testbin/vector_test -rdynamic -L/home/yasutomo/devel/moflib/src/test/../../lib /home/yasutomo/devel/moflib/lib/libmofmath.a -Wl,-rpath,/home/yasutomo/devel/moflib/src/test/../../lib 
diff --git a/src/unix/test/CMakeFiles/vector_test.dir/progress.make b/src/unix/test/CMakeFiles/vector_test.dir/progress.make
new file mode 100644 (file)
index 0000000..164e1d2
--- /dev/null
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 2
+
diff --git a/src/unix/test/CTestTestfile.cmake b/src/unix/test/CTestTestfile.cmake
new file mode 100644 (file)
index 0000000..a7fc8da
--- /dev/null
@@ -0,0 +1,6 @@
+# CMake generated Testfile for 
+# Source directory: /home/yasutomo/devel/moflib/src/test
+# Build directory: /home/yasutomo/devel/moflib/src/unix/test
+# 
+# This file includes the relevent testing commands required for 
+# testing this directory and lists subdirectories to be tested as well.
diff --git a/src/unix/test/Makefile b/src/unix/test/Makefile
new file mode 100644 (file)
index 0000000..fb0c653
--- /dev/null
@@ -0,0 +1,172 @@
+# 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/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 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/unix && $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/unix/CMakeFiles /home/yasutomo/devel/moflib/src/unix/test/CMakeFiles/progress.marks
+       cd /home/yasutomo/devel/moflib/src/unix && $(MAKE) -f CMakeFiles/Makefile2 test/all
+       $(CMAKE_COMMAND) -E cmake_progress_start /home/yasutomo/devel/moflib/src/unix/CMakeFiles 0
+.PHONY : all
+
+# The main clean target
+clean:
+       cd /home/yasutomo/devel/moflib/src/unix && $(MAKE) -f CMakeFiles/Makefile2 test/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/unix && $(MAKE) -f CMakeFiles/Makefile2 test/preinstall
+.PHONY : preinstall
+
+# Prepare targets for installation.
+preinstall/fast:
+       cd /home/yasutomo/devel/moflib/src/unix && $(MAKE) -f CMakeFiles/Makefile2 test/preinstall
+.PHONY : preinstall/fast
+
+# clear depends
+depend:
+       cd /home/yasutomo/devel/moflib/src/unix && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
+.PHONY : depend
+
+# Convenience name for target.
+test/CMakeFiles/vector_test.dir/rule:
+       cd /home/yasutomo/devel/moflib/src/unix && $(MAKE) -f CMakeFiles/Makefile2 test/CMakeFiles/vector_test.dir/rule
+.PHONY : test/CMakeFiles/vector_test.dir/rule
+
+# Convenience name for target.
+vector_test: test/CMakeFiles/vector_test.dir/rule
+.PHONY : vector_test
+
+# fast build rule for target.
+vector_test/fast:
+       cd /home/yasutomo/devel/moflib/src/unix && $(MAKE) -f test/CMakeFiles/vector_test.dir/build.make test/CMakeFiles/vector_test.dir/build
+.PHONY : vector_test/fast
+
+mof/math/vector_test.o: mof/math/vector_test.cpp.o
+.PHONY : mof/math/vector_test.o
+
+# target to build an object file
+mof/math/vector_test.cpp.o:
+       cd /home/yasutomo/devel/moflib/src/unix && $(MAKE) -f test/CMakeFiles/vector_test.dir/build.make test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.o
+.PHONY : mof/math/vector_test.cpp.o
+
+mof/math/vector_test.i: mof/math/vector_test.cpp.i
+.PHONY : mof/math/vector_test.i
+
+# target to preprocess a source file
+mof/math/vector_test.cpp.i:
+       cd /home/yasutomo/devel/moflib/src/unix && $(MAKE) -f test/CMakeFiles/vector_test.dir/build.make test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.i
+.PHONY : mof/math/vector_test.cpp.i
+
+mof/math/vector_test.s: mof/math/vector_test.cpp.s
+.PHONY : mof/math/vector_test.s
+
+# target to generate assembly for a file
+mof/math/vector_test.cpp.s:
+       cd /home/yasutomo/devel/moflib/src/unix && $(MAKE) -f test/CMakeFiles/vector_test.dir/build.make test/CMakeFiles/vector_test.dir/mof/math/vector_test.cpp.s
+.PHONY : mof/math/vector_test.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 "... rebuild_cache"
+       @echo "... test"
+       @echo "... vector_test"
+       @echo "... mof/math/vector_test.o"
+       @echo "... mof/math/vector_test.i"
+       @echo "... mof/math/vector_test.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/unix && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
+.PHONY : cmake_check_build_system
+
diff --git a/src/unix/test/cmake_install.cmake b/src/unix/test/cmake_install.cmake
new file mode 100644 (file)
index 0000000..e945a02
--- /dev/null
@@ -0,0 +1,34 @@
+# Install script for directory: /home/yasutomo/devel/moflib/src/test
+
+# 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)
+
diff --git a/src/windows/moflib.sdf b/src/windows/moflib.sdf
deleted file mode 100644 (file)
index eac8dee..0000000
Binary files a/src/windows/moflib.sdf and /dev/null differ