summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--build.ninja137
-rw-r--r--rules.ninja72
3 files changed, 2 insertions, 209 deletions
diff --git a/.gitignore b/.gitignore
index 695e25c..99bfbed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,5 @@ CMakeFiles
cmake_install.cmake
Makefile
bench
+rules.ninja
+build.ninja
diff --git a/build.ninja b/build.ninja
deleted file mode 100644
index 600a66f..0000000
--- a/build.ninja
+++ /dev/null
@@ -1,137 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Ninja" Generator, CMake Version 2.8
-
-# This file contains all the build statements describing the
-# compilation DAG.
-
-# =============================================================================
-# Write statements declared in CMakeLists.txt:
-# /Users/eschnett/src/cc/vecmathlib/CMakeLists.txt
-# Which is the root file.
-# =============================================================================
-
-# =============================================================================
-# Project: vecmathlib
-# Configuration:
-# =============================================================================
-# =============================================================================
-# Include auxiliary files.
-
-
-#############################################
-# Include rules file.
-
-include rules.ninja
-
-# =============================================================================
-# Object build statements for EXECUTABLE target bench
-
-build CMakeFiles/bench.dir/bench.cc.o: CXX_COMPILER bench.cc
- DEP_FILE = CMakeFiles/bench.dir/bench.cc.o.d
- FLAGS = -Wall -g -std=gnu++11 -march=native -Ofast -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
- OBJECT_DIR = CMakeFiles/bench.dir
-
-# =============================================================================
-# Link build statements for EXECUTABLE target bench
-
-
-#############################################
-# Link the executable bench
-
-build bench: CXX_EXECUTABLE_LINKER CMakeFiles/bench.dir/bench.cc.o
- FLAGS = -Wall -g -std=gnu++11 -march=native -Ofast -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
- POST_BUILD = :
- PRE_LINK = :
- TARGET_PDB = bench.dbg
-
-#############################################
-# Utility command for edit_cache
-
-build CMakeFiles/edit_cache.util: CUSTOM_COMMAND
- COMMAND = cd /Users/eschnett/src/cc/vecmathlib && /opt/local/bin/ccmake -H/Users/eschnett/src/cc/vecmathlib -B/Users/eschnett/src/cc/vecmathlib
- DESC = Running CMake cache editor...
-build edit_cache: phony CMakeFiles/edit_cache.util
-# =============================================================================
-# Object build statements for EXECUTABLE target example
-
-build CMakeFiles/example.dir/example.cc.o: CXX_COMPILER example.cc
- DEP_FILE = CMakeFiles/example.dir/example.cc.o.d
- FLAGS = -Wall -g -std=gnu++11 -march=native -Ofast -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
- OBJECT_DIR = CMakeFiles/example.dir
-
-# =============================================================================
-# Link build statements for EXECUTABLE target example
-
-
-#############################################
-# Link the executable example
-
-build example: CXX_EXECUTABLE_LINKER CMakeFiles/example.dir/example.cc.o
- FLAGS = -Wall -g -std=gnu++11 -march=native -Ofast -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
- POST_BUILD = :
- PRE_LINK = :
- TARGET_PDB = example.dbg
-
-#############################################
-# Utility command for rebuild_cache
-
-build CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
- COMMAND = cd /Users/eschnett/src/cc/vecmathlib && /opt/local/bin/cmake -H/Users/eschnett/src/cc/vecmathlib -B/Users/eschnett/src/cc/vecmathlib
- DESC = Running CMake to regenerate build system...
-build rebuild_cache: phony CMakeFiles/rebuild_cache.util
-# =============================================================================
-# Object build statements for EXECUTABLE target test
-
-build CMakeFiles/test.dir/test.cc.o: CXX_COMPILER test.cc
- DEP_FILE = CMakeFiles/test.dir/test.cc.o.d
- FLAGS = -Wall -g -std=gnu++11 -march=native -Ofast -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
- OBJECT_DIR = CMakeFiles/test.dir
-
-# =============================================================================
-# Link build statements for EXECUTABLE target test
-
-
-#############################################
-# Link the executable test
-
-build test: CXX_EXECUTABLE_LINKER CMakeFiles/test.dir/test.cc.o
- FLAGS = -Wall -g -std=gnu++11 -march=native -Ofast -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
- POST_BUILD = :
- PRE_LINK = :
- TARGET_PDB = test.dbg
-# =============================================================================
-# Target aliases.
-
-# =============================================================================
-# Built-in targets
-
-
-#############################################
-# The main all target.
-
-build all: phony bench example test
-
-#############################################
-# Make the all target the default.
-
-default all
-
-#############################################
-# Re-run CMake if any of its inputs changed.
-
-build build.ninja: RERUN_CMAKE | /Users/eschnett/src/cc/vecmathlib/CMakeFiles/2.8.10/CMakeCCompiler.cmake /Users/eschnett/src/cc/vecmathlib/CMakeFiles/2.8.10/CMakeCXXCompiler.cmake /Users/eschnett/src/cc/vecmathlib/CMakeFiles/2.8.10/CMakeSystem.cmake /Users/eschnett/src/cc/vecmathlib/CMakeLists.txt /opt/local/share/cmake-2.8/Modules/CMakeCInformation.cmake /opt/local/share/cmake-2.8/Modules/CMakeCXXInformation.cmake /opt/local/share/cmake-2.8/Modules/CMakeCommonLanguageInclude.cmake /opt/local/share/cmake-2.8/Modules/CMakeGenericSystem.cmake /opt/local/share/cmake-2.8/Modules/CMakeSystemSpecificInformation.cmake /opt/local/share/cmake-2.8/Modules/Compiler/GNU-C.cmake /opt/local/share/cmake-2.8/Modules/Compiler/GNU-CXX.cmake /opt/local/share/cmake-2.8/Modules/Compiler/GNU.cmake /opt/local/share/cmake-2.8/Modules/Platform/Darwin-GNU-C.cmake /opt/local/share/cmake-2.8/Modules/Platform/Darwin-GNU-CXX.cmake /opt/local/share/cmake-2.8/Modules/Platform/Darwin-GNU.cmake /opt/local/share/cmake-2.8/Modules/Platform/Darwin.cmake /opt/local/share/cmake-2.8/Modules/Platform/UnixPaths.cmake CMakeCache.txt
-
-#############################################
-# A missing CMake input file is not an error.
-
-build /Users/eschnett/src/cc/vecmathlib/CMakeFiles/2.8.10/CMakeCCompiler.cmake /Users/eschnett/src/cc/vecmathlib/CMakeFiles/2.8.10/CMakeCXXCompiler.cmake /Users/eschnett/src/cc/vecmathlib/CMakeFiles/2.8.10/CMakeSystem.cmake /Users/eschnett/src/cc/vecmathlib/CMakeLists.txt /opt/local/share/cmake-2.8/Modules/CMakeCInformation.cmake /opt/local/share/cmake-2.8/Modules/CMakeCXXInformation.cmake /opt/local/share/cmake-2.8/Modules/CMakeCommonLanguageInclude.cmake /opt/local/share/cmake-2.8/Modules/CMakeGenericSystem.cmake /opt/local/share/cmake-2.8/Modules/CMakeSystemSpecificInformation.cmake /opt/local/share/cmake-2.8/Modules/Compiler/GNU-C.cmake /opt/local/share/cmake-2.8/Modules/Compiler/GNU-CXX.cmake /opt/local/share/cmake-2.8/Modules/Compiler/GNU.cmake /opt/local/share/cmake-2.8/Modules/Platform/Darwin-GNU-C.cmake /opt/local/share/cmake-2.8/Modules/Platform/Darwin-GNU-CXX.cmake /opt/local/share/cmake-2.8/Modules/Platform/Darwin-GNU.cmake /opt/local/share/cmake-2.8/Modules/Platform/Darwin.cmake /opt/local/share/cmake-2.8/Modules/Platform/UnixPaths.cmake CMakeCache.txt: phony
-
-#############################################
-# Clean all the built files.
-
-build clean: CLEAN
-
-#############################################
-# Print all primary targets available.
-
-build help: HELP
diff --git a/rules.ninja b/rules.ninja
deleted file mode 100644
index 4f9ef9f..0000000
--- a/rules.ninja
+++ /dev/null
@@ -1,72 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Ninja" Generator, CMake Version 2.8
-
-# This file contains all the rules used to get the outputs files
-# built from the input files.
-# It is included in the main 'build.ninja'.
-
-# =============================================================================
-# Project: vecmathlib
-# Configuration:
-# =============================================================================
-
-#############################################
-# Rule for compiling CXX files.
-
-rule CXX_COMPILER
- depfile = $DEP_FILE
- command = /opt/local/bin/c++ $DEFINES $FLAGS -MMD -MT $out -MF "$DEP_FILE" -o $out -c $in
- description = Building CXX object $out
-
-
-#############################################
-# Rule for linking CXX executable.
-
-rule CXX_EXECUTABLE_LINKER
- command = $PRE_LINK && /opt/local/bin/c++ $FLAGS -Wl,-search_paths_first -Wl,-headerpad_max_install_names $LINK_FLAGS $in -o $out $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
- description = Linking CXX executable $out
-
-
-#############################################
-# Rule for linking CXX executable.
-
-rule CXX_EXECUTABLE_LINKER_RSP_FILE
- command = $PRE_LINK && /opt/local/bin/c++ $FLAGS -Wl,-search_paths_first -Wl,-headerpad_max_install_names $LINK_FLAGS @$RSP_FILE -o $out && $POST_BUILD
- description = Linking CXX executable $out
- rspfile = $RSP_FILE
- rspfile_content = $in $LINK_PATH $LINK_LIBRARIES
-
-
-#############################################
-# Rule for running custom commands.
-
-rule CUSTOM_COMMAND
- command = $COMMAND
- description = $DESC
- restat = 1
-
-
-#############################################
-# Rule for re-running cmake.
-
-rule RERUN_CMAKE
- command = /opt/local/bin/cmake -H/Users/eschnett/src/cc/vecmathlib -B/Users/eschnett/src/cc/vecmathlib
- description = Re-running CMake...
- generator = 1
-
-
-#############################################
-# Rule for cleaning all built files.
-
-rule CLEAN
- command = /opt/local/bin/ninja -t clean
- description = Cleaning all built files...
-
-
-#############################################
-# Rule for printing all primary targets available.
-
-rule HELP
- command = /opt/local/bin/ninja -t targets
- description = All primary targets available:
-
OpenPOWER on IntegriCloud