blobt
5 years ago
16 changed files with 492 additions and 0 deletions
-
5.gitignore
-
60CMakeLists.txt
-
21build.sh
-
16src/CMakeFiles/CMakeDirectoryInformation.cmake
-
1src/CMakeFiles/progress.marks
-
21src/CMakeFiles/test.dir/DependInfo.cmake
-
113src/CMakeFiles/test.dir/build.make
-
10src/CMakeFiles/test.dir/cmake_clean.cmake
-
2src/CMakeFiles/test.dir/depend.make
-
10src/CMakeFiles/test.dir/flags.make
-
1src/CMakeFiles/test.dir/link.txt
-
3src/CMakeFiles/test.dir/progress.make
-
1src/CMakeLists.txt
-
180src/Makefile
-
39src/cmake_install.cmake
-
9src/test.cc
@ -0,0 +1,5 @@ |
|||||
|
# building directory |
||||
|
build |
||||
|
|
||||
|
# netbeans project files |
||||
|
nbproject |
@ -0,0 +1,60 @@ |
|||||
|
cmake_minimum_required(VERSION 2.6) |
||||
|
|
||||
|
project(3dbase CXX) |
||||
|
|
||||
|
if(NOT CMAKE_BUILD_TYPE) |
||||
|
set(CMAKE_BUILD_TYPE "Debug") |
||||
|
endif() |
||||
|
|
||||
|
set(CXX_FLAGS |
||||
|
-g |
||||
|
-DVALGRIND |
||||
|
-DMUDUO_STD_STRING |
||||
|
-DCHECK_PTHREAD_RETURN_VALUE |
||||
|
-D_FILE_OFFSET_BITS=64 |
||||
|
-Wall |
||||
|
-Wextra |
||||
|
-Werror |
||||
|
-Wconversion |
||||
|
-Wno-unused-parameter |
||||
|
-Wold-style-cast |
||||
|
-Woverloaded-virtual |
||||
|
-Wpointer-arith |
||||
|
-Wshadow |
||||
|
-Wwrite-strings |
||||
|
-march=native |
||||
|
-MMD |
||||
|
-std=c++11 |
||||
|
-Wnarrowing |
||||
|
-rdynamic |
||||
|
) |
||||
|
if(CMAKE_BUILD_BITS EQUAL 32) |
||||
|
list(APPEND CXX_FLAGS "-m32") |
||||
|
endif() |
||||
|
string(REPLACE ";" " " CMAKE_CXX_FLAGS "${CXX_FLAGS}") |
||||
|
|
||||
|
set(CMAKE_CXX_COMPILER "g++") |
||||
|
set(CMAKE_CXX_FLAGS_DEBUG "-O0") |
||||
|
set(CMAKE_CXX_FLAGS_RELEASE "-O2 -finline-limit=1000 -DNDEBUG") |
||||
|
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) |
||||
|
set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib) |
||||
|
|
||||
|
find_package(Boost REQUIRED) |
||||
|
find_library(BOOSTTEST_LIBRARY NAMES boost_unit_test_framework) |
||||
|
find_library(BOOSTPO_LIBRARY NAMES boost_program_options) |
||||
|
find_path(TCMALLOC_INCLUDE_DIR google/heap-profiler.h) |
||||
|
find_library(TCMALLOC_LIBRARY NAMES tcmalloc_and_profiler) |
||||
|
if(TCMALLOC_INCLUDE_DIR AND TCMALLOC_LIBRARY) |
||||
|
message(STATUS "found tcmalloc") |
||||
|
else() |
||||
|
message(STATUS "not found tcmalloc") |
||||
|
endif() |
||||
|
|
||||
|
include_directories(${Boost_INCLUDE_DIRS}) |
||||
|
|
||||
|
include_directories(${PROJECT_SOURCE_DIR}) |
||||
|
|
||||
|
string(TOUPPER ${CMAKE_BUILD_TYPE} BUILD_TYPE) |
||||
|
message(STATUS "CXX_FLAGS = " ${CMAKE_CXX_FLAGS} " " ${CMAKE_CXX_FLAGS_${BUILD_TYPE}}) |
||||
|
|
||||
|
add_subdirectory(src) |
@ -0,0 +1,21 @@ |
|||||
|
#!/bin/sh |
||||
|
|
||||
|
set -x |
||||
|
|
||||
|
SOURCE_DIR=`pwd` |
||||
|
BUILD_DIR=${BUILD_DIR:-./build} |
||||
|
BUILD_TYPE=${BUILD_TYPE:-release} |
||||
|
INSTALL_DIR=${INSTALL_DIR:-../${BUILD_TYPE}-install} |
||||
|
BUILD_NO_EXAMPLES=${BUILD_NO_EXAMPLES:-0} |
||||
|
|
||||
|
mkdir -p $BUILD_DIR/$BUILD_TYPE \ |
||||
|
&& cd $BUILD_DIR/$BUILD_TYPE \ |
||||
|
&& cmake \ |
||||
|
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \ |
||||
|
-DCMAKE_INSTALL_PREFIX=$INSTALL_DIR \ |
||||
|
-DCMAKE_BUILD_NO_EXAMPLES=$BUILD_NO_EXAMPLES \ |
||||
|
$SOURCE_DIR \ |
||||
|
&& make $* |
||||
|
|
||||
|
# cd $SOURCE_DIR && doxygen |
||||
|
|
@ -0,0 +1,16 @@ |
|||||
|
# CMAKE generated file: DO NOT EDIT! |
||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 3.10 |
||||
|
|
||||
|
# Relative path conversion top directories. |
||||
|
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/blobt/Documents/dev/cpp/3dbase") |
||||
|
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/blobt/Documents/dev/cpp/3dbase") |
||||
|
|
||||
|
# Force unix paths in dependencies. |
||||
|
set(CMAKE_FORCE_UNIX_PATHS 1) |
||||
|
|
||||
|
|
||||
|
# 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}) |
@ -0,0 +1 @@ |
|||||
|
2 |
@ -0,0 +1,21 @@ |
|||||
|
# 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/blobt/Documents/dev/cpp/3dbase/src/test.cc" "/home/blobt/Documents/dev/cpp/3dbase/src/CMakeFiles/test.dir/test.cc.o" |
||||
|
) |
||||
|
set(CMAKE_CXX_COMPILER_ID "GNU") |
||||
|
|
||||
|
# The include file search paths: |
||||
|
set(CMAKE_CXX_TARGET_INCLUDE_PATH |
||||
|
"." |
||||
|
) |
||||
|
|
||||
|
# Targets to which this target links. |
||||
|
set(CMAKE_TARGET_LINKED_INFO_FILES |
||||
|
) |
||||
|
|
||||
|
# Fortran module output directory. |
||||
|
set(CMAKE_Fortran_TARGET_MODULE_DIR "") |
@ -0,0 +1,113 @@ |
|||||
|
# CMAKE generated file: DO NOT EDIT! |
||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 3.10 |
||||
|
|
||||
|
# Delete rule output on recipe failure. |
||||
|
.DELETE_ON_ERROR: |
||||
|
|
||||
|
|
||||
|
#============================================================================= |
||||
|
# Special targets provided by cmake. |
||||
|
|
||||
|
# Disable implicit rules so canonical 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 |
||||
|
|
||||
|
# Escaping for special characters. |
||||
|
EQUALS = = |
||||
|
|
||||
|
# The top-level source directory on which CMake was run. |
||||
|
CMAKE_SOURCE_DIR = /home/blobt/Documents/dev/cpp/3dbase |
||||
|
|
||||
|
# The top-level build directory on which CMake was run. |
||||
|
CMAKE_BINARY_DIR = /home/blobt/Documents/dev/cpp/3dbase |
||||
|
|
||||
|
# Include any dependencies generated for this target. |
||||
|
include src/CMakeFiles/test.dir/depend.make |
||||
|
|
||||
|
# Include the progress variables for this target. |
||||
|
include src/CMakeFiles/test.dir/progress.make |
||||
|
|
||||
|
# Include the compile flags for this target's objects. |
||||
|
include src/CMakeFiles/test.dir/flags.make |
||||
|
|
||||
|
src/CMakeFiles/test.dir/test.cc.o: src/CMakeFiles/test.dir/flags.make |
||||
|
src/CMakeFiles/test.dir/test.cc.o: src/test.cc |
||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/blobt/Documents/dev/cpp/3dbase/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object src/CMakeFiles/test.dir/test.cc.o" |
||||
|
cd /home/blobt/Documents/dev/cpp/3dbase/src && g++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/test.dir/test.cc.o -c /home/blobt/Documents/dev/cpp/3dbase/src/test.cc |
||||
|
|
||||
|
src/CMakeFiles/test.dir/test.cc.i: cmake_force |
||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/test.dir/test.cc.i" |
||||
|
cd /home/blobt/Documents/dev/cpp/3dbase/src && g++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/blobt/Documents/dev/cpp/3dbase/src/test.cc > CMakeFiles/test.dir/test.cc.i |
||||
|
|
||||
|
src/CMakeFiles/test.dir/test.cc.s: cmake_force |
||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/test.dir/test.cc.s" |
||||
|
cd /home/blobt/Documents/dev/cpp/3dbase/src && g++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/blobt/Documents/dev/cpp/3dbase/src/test.cc -o CMakeFiles/test.dir/test.cc.s |
||||
|
|
||||
|
src/CMakeFiles/test.dir/test.cc.o.requires: |
||||
|
|
||||
|
.PHONY : src/CMakeFiles/test.dir/test.cc.o.requires |
||||
|
|
||||
|
src/CMakeFiles/test.dir/test.cc.o.provides: src/CMakeFiles/test.dir/test.cc.o.requires |
||||
|
$(MAKE) -f src/CMakeFiles/test.dir/build.make src/CMakeFiles/test.dir/test.cc.o.provides.build |
||||
|
.PHONY : src/CMakeFiles/test.dir/test.cc.o.provides |
||||
|
|
||||
|
src/CMakeFiles/test.dir/test.cc.o.provides.build: src/CMakeFiles/test.dir/test.cc.o |
||||
|
|
||||
|
|
||||
|
# Object files for target test |
||||
|
test_OBJECTS = \ |
||||
|
"CMakeFiles/test.dir/test.cc.o" |
||||
|
|
||||
|
# External object files for target test |
||||
|
test_EXTERNAL_OBJECTS = |
||||
|
|
||||
|
bin/test: src/CMakeFiles/test.dir/test.cc.o |
||||
|
bin/test: src/CMakeFiles/test.dir/build.make |
||||
|
bin/test: src/CMakeFiles/test.dir/link.txt |
||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/blobt/Documents/dev/cpp/3dbase/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable ../bin/test" |
||||
|
cd /home/blobt/Documents/dev/cpp/3dbase/src && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/test.dir/link.txt --verbose=$(VERBOSE) |
||||
|
|
||||
|
# Rule to build all files generated by this target. |
||||
|
src/CMakeFiles/test.dir/build: bin/test |
||||
|
|
||||
|
.PHONY : src/CMakeFiles/test.dir/build |
||||
|
|
||||
|
src/CMakeFiles/test.dir/requires: src/CMakeFiles/test.dir/test.cc.o.requires |
||||
|
|
||||
|
.PHONY : src/CMakeFiles/test.dir/requires |
||||
|
|
||||
|
src/CMakeFiles/test.dir/clean: |
||||
|
cd /home/blobt/Documents/dev/cpp/3dbase/src && $(CMAKE_COMMAND) -P CMakeFiles/test.dir/cmake_clean.cmake |
||||
|
.PHONY : src/CMakeFiles/test.dir/clean |
||||
|
|
||||
|
src/CMakeFiles/test.dir/depend: |
||||
|
cd /home/blobt/Documents/dev/cpp/3dbase && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/blobt/Documents/dev/cpp/3dbase /home/blobt/Documents/dev/cpp/3dbase/src /home/blobt/Documents/dev/cpp/3dbase /home/blobt/Documents/dev/cpp/3dbase/src /home/blobt/Documents/dev/cpp/3dbase/src/CMakeFiles/test.dir/DependInfo.cmake --color=$(COLOR) |
||||
|
.PHONY : src/CMakeFiles/test.dir/depend |
||||
|
|
@ -0,0 +1,10 @@ |
|||||
|
file(REMOVE_RECURSE |
||||
|
"CMakeFiles/test.dir/test.cc.o" |
||||
|
"../bin/test.pdb" |
||||
|
"../bin/test" |
||||
|
) |
||||
|
|
||||
|
# Per-language clean rules from dependency scanning. |
||||
|
foreach(lang CXX) |
||||
|
include(CMakeFiles/test.dir/cmake_clean_${lang}.cmake OPTIONAL) |
||||
|
endforeach() |
@ -0,0 +1,2 @@ |
|||||
|
# Empty dependencies file for test. |
||||
|
# This may be replaced when dependencies are built. |
@ -0,0 +1,10 @@ |
|||||
|
# CMAKE generated file: DO NOT EDIT! |
||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 3.10 |
||||
|
|
||||
|
# compile CXX with g++ |
||||
|
CXX_FLAGS = -g -DVALGRIND -DMUDUO_STD_STRING -DCHECK_PTHREAD_RETURN_VALUE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Werror -Wconversion -Wno-unused-parameter -Wold-style-cast -Woverloaded-virtual -Wpointer-arith -Wshadow -Wwrite-strings -march=native -MMD -std=c++11 -Wnarrowing -rdynamic -O2 -finline-limit=1000 -DNDEBUG |
||||
|
|
||||
|
CXX_DEFINES = |
||||
|
|
||||
|
CXX_INCLUDES = -I/home/blobt/Documents/dev/cpp/3dbase |
||||
|
|
@ -0,0 +1 @@ |
|||||
|
g++ -g -DVALGRIND -DMUDUO_STD_STRING -DCHECK_PTHREAD_RETURN_VALUE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Werror -Wconversion -Wno-unused-parameter -Wold-style-cast -Woverloaded-virtual -Wpointer-arith -Wshadow -Wwrite-strings -march=native -MMD -std=c++11 -Wnarrowing -rdynamic -O2 -finline-limit=1000 -DNDEBUG -rdynamic CMakeFiles/test.dir/test.cc.o -o ../bin/test |
@ -0,0 +1,3 @@ |
|||||
|
CMAKE_PROGRESS_1 = 1 |
||||
|
CMAKE_PROGRESS_2 = 2 |
||||
|
|
@ -0,0 +1 @@ |
|||||
|
add_executable(test test.cc) |
@ -0,0 +1,180 @@ |
|||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
|
||||
|
|
||||
|
# Default target executed when no arguments are given to make.
|
||||
|
default_target: all |
||||
|
|
||||
|
.PHONY : default_target |
||||
|
|
||||
|
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
||||
|
.NOTPARALLEL: |
||||
|
|
||||
|
|
||||
|
#=============================================================================
|
||||
|
# Special targets provided by cmake.
|
||||
|
|
||||
|
# Disable implicit rules so canonical 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 |
||||
|
|
||||
|
# Escaping for special characters.
|
||||
|
EQUALS = = |
||||
|
|
||||
|
# The top-level source directory on which CMake was run.
|
||||
|
CMAKE_SOURCE_DIR = /home/blobt/Documents/dev/cpp/3dbase |
||||
|
|
||||
|
# The top-level build directory on which CMake was run.
|
||||
|
CMAKE_BINARY_DIR = /home/blobt/Documents/dev/cpp/3dbase |
||||
|
|
||||
|
#=============================================================================
|
||||
|
# Targets provided globally by CMake.
|
||||
|
|
||||
|
# 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 edit_cache
|
||||
|
edit_cache: |
||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..." |
||||
|
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available. |
||||
|
.PHONY : edit_cache |
||||
|
|
||||
|
# Special rule for the target edit_cache
|
||||
|
edit_cache/fast: edit_cache |
||||
|
|
||||
|
.PHONY : edit_cache/fast |
||||
|
|
||||
|
# The main all target
|
||||
|
all: cmake_check_build_system |
||||
|
cd /home/blobt/Documents/dev/cpp/3dbase && $(CMAKE_COMMAND) -E cmake_progress_start /home/blobt/Documents/dev/cpp/3dbase/CMakeFiles /home/blobt/Documents/dev/cpp/3dbase/src/CMakeFiles/progress.marks |
||||
|
cd /home/blobt/Documents/dev/cpp/3dbase && $(MAKE) -f CMakeFiles/Makefile2 src/all |
||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/blobt/Documents/dev/cpp/3dbase/CMakeFiles 0 |
||||
|
.PHONY : all |
||||
|
|
||||
|
# The main clean target
|
||||
|
clean: |
||||
|
cd /home/blobt/Documents/dev/cpp/3dbase && $(MAKE) -f CMakeFiles/Makefile2 src/clean |
||||
|
.PHONY : clean |
||||
|
|
||||
|
# The main clean target
|
||||
|
clean/fast: clean |
||||
|
|
||||
|
.PHONY : clean/fast |
||||
|
|
||||
|
# Prepare targets for installation.
|
||||
|
preinstall: all |
||||
|
cd /home/blobt/Documents/dev/cpp/3dbase && $(MAKE) -f CMakeFiles/Makefile2 src/preinstall |
||||
|
.PHONY : preinstall |
||||
|
|
||||
|
# Prepare targets for installation.
|
||||
|
preinstall/fast: |
||||
|
cd /home/blobt/Documents/dev/cpp/3dbase && $(MAKE) -f CMakeFiles/Makefile2 src/preinstall |
||||
|
.PHONY : preinstall/fast |
||||
|
|
||||
|
# clear depends
|
||||
|
depend: |
||||
|
cd /home/blobt/Documents/dev/cpp/3dbase && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 |
||||
|
.PHONY : depend |
||||
|
|
||||
|
# Convenience name for target.
|
||||
|
src/CMakeFiles/test.dir/rule: |
||||
|
cd /home/blobt/Documents/dev/cpp/3dbase && $(MAKE) -f CMakeFiles/Makefile2 src/CMakeFiles/test.dir/rule |
||||
|
.PHONY : src/CMakeFiles/test.dir/rule |
||||
|
|
||||
|
# Convenience name for target.
|
||||
|
test: src/CMakeFiles/test.dir/rule |
||||
|
|
||||
|
.PHONY : test |
||||
|
|
||||
|
# fast build rule for target.
|
||||
|
test/fast: |
||||
|
cd /home/blobt/Documents/dev/cpp/3dbase && $(MAKE) -f src/CMakeFiles/test.dir/build.make src/CMakeFiles/test.dir/build |
||||
|
.PHONY : test/fast |
||||
|
|
||||
|
test.o: test.cc.o |
||||
|
|
||||
|
.PHONY : test.o |
||||
|
|
||||
|
# target to build an object file
|
||||
|
test.cc.o: |
||||
|
cd /home/blobt/Documents/dev/cpp/3dbase && $(MAKE) -f src/CMakeFiles/test.dir/build.make src/CMakeFiles/test.dir/test.cc.o |
||||
|
.PHONY : test.cc.o |
||||
|
|
||||
|
test.i: test.cc.i |
||||
|
|
||||
|
.PHONY : test.i |
||||
|
|
||||
|
# target to preprocess a source file
|
||||
|
test.cc.i: |
||||
|
cd /home/blobt/Documents/dev/cpp/3dbase && $(MAKE) -f src/CMakeFiles/test.dir/build.make src/CMakeFiles/test.dir/test.cc.i |
||||
|
.PHONY : test.cc.i |
||||
|
|
||||
|
test.s: test.cc.s |
||||
|
|
||||
|
.PHONY : test.s |
||||
|
|
||||
|
# target to generate assembly for a file
|
||||
|
test.cc.s: |
||||
|
cd /home/blobt/Documents/dev/cpp/3dbase && $(MAKE) -f src/CMakeFiles/test.dir/build.make src/CMakeFiles/test.dir/test.cc.s |
||||
|
.PHONY : test.cc.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 "... rebuild_cache" |
||||
|
@echo "... test" |
||||
|
@echo "... edit_cache" |
||||
|
@echo "... test.o" |
||||
|
@echo "... test.i" |
||||
|
@echo "... 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/blobt/Documents/dev/cpp/3dbase && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 |
||||
|
.PHONY : cmake_check_build_system |
||||
|
|
@ -0,0 +1,39 @@ |
|||||
|
# Install script for directory: /home/blobt/Documents/dev/cpp/3dbase/src |
||||
|
|
||||
|
# Set the install prefix |
||||
|
if(NOT DEFINED CMAKE_INSTALL_PREFIX) |
||||
|
set(CMAKE_INSTALL_PREFIX "/home/blobt/Documents/dev/cpp/3dbase/build/release-install") |
||||
|
endif() |
||||
|
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() |
||||
|
set(CMAKE_INSTALL_CONFIG_NAME "release") |
||||
|
endif() |
||||
|
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") |
||||
|
endif() |
||||
|
|
||||
|
# Set the component getting installed. |
||||
|
if(NOT CMAKE_INSTALL_COMPONENT) |
||||
|
if(COMPONENT) |
||||
|
message(STATUS "Install component: \"${COMPONENT}\"") |
||||
|
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") |
||||
|
else() |
||||
|
set(CMAKE_INSTALL_COMPONENT) |
||||
|
endif() |
||||
|
endif() |
||||
|
|
||||
|
# Install shared libraries without execute permission? |
||||
|
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) |
||||
|
set(CMAKE_INSTALL_SO_NO_EXE "1") |
||||
|
endif() |
||||
|
|
||||
|
# Is this installation the result of a crosscompile? |
||||
|
if(NOT DEFINED CMAKE_CROSSCOMPILING) |
||||
|
set(CMAKE_CROSSCOMPILING "FALSE") |
||||
|
endif() |
||||
|
|
@ -0,0 +1,9 @@ |
|||||
|
#include <iostream>
|
||||
|
|
||||
|
using namespace std; |
||||
|
|
||||
|
int main(){ |
||||
|
|
||||
|
cout << "Hello" << endl; |
||||
|
return 0; |
||||
|
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue