Commit 021414d4 authored by Martin Beseda's avatar Martin Beseda

ENH: Modified building with CMake to make it more transparent.

parent 9d572e07
cmake_minimum_required(VERSION 3.0)
project(4neuro)
project(lib4neuro)
#-------------------------------#
# Default installation location #
......@@ -31,22 +31,6 @@ if(CMAKE_BUILD_TYPE MATCHES DEBUG)
set(CMAKE_VERBOSE_MAKEFILE ON)
endif()
# C & CXX compilers
if (WIN32)
set (CMAKE_C_COMPILER gcc)
set (CMAKE_CXX_COMPILER g++)
endif()
# Write compiler variables to the file - to pass them to test script
file(APPEND compilers.env "export CXX=${CMAKE_CXX_COMPILER}\n")
file(APPEND compilers.env "export CC=${CMAKE_C_COMPILER}\n")
#----------------#
# User variables #
#----------------#
set(SRC_DIR src)
set(PROJECT_BINARY_DIR build)
#-------------------------#
# Find external libraries #
#-------------------------#
......@@ -60,28 +44,10 @@ endif()
#find_package(exprt) #TODO write FindExprt.cmake script
#--------------------#
# Building libraries #
#--------------------#
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY lib)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY bin)
add_subdirectory(${SRC_DIR} ${PROJECT_BINARY_DIR})
message ("Current directory:" ${CMAKE_CURRENT_SOURCE_DIR})
message ("SRC_DIR: " ${SRC_DIR})
message ("BUILD_DIR:" ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
if (WIN32)
message ("Windows")
else ()
message ("Not Windows")
endif ()
#TODO implement to utilize a maximum number of threads for OpenMP
#------------------------------------------#
# Detect maximum available number of cores #
# and set corresponding build options #
#------------------------------------------#
include(ProcessorCount)
ProcessorCount(n_cores)
if(NOT n_cores EQUAL 0)
......@@ -91,3 +57,17 @@ if(NOT n_cores EQUAL 0)
set(ctest_test_args ${ctest_test_args} PARALLEL_LEVEL ${N})
endif()
#---------------#
# Set variables #
#---------------#
set(SRC_DIR src)
set(PROJECT_BINARY_DIR build)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY lib)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY lib)
include_directories(include ${SRC_DIR})
add_subdirectory(${SRC_DIR} ${PROJECT_BINARY_DIR})
message ("Current directory:" ${CMAKE_CURRENT_SOURCE_DIR})
message ("SRC_DIR: " ${SRC_DIR})
......@@ -11,8 +11,9 @@
BUILD_TYPE=Debug
CXX_COMPILER="g++-8"
rm -rf build CMakeCache.txt;
rm -rf build CMakeCache.txt cmake_install.cmake CMakeFiles;
#cmake -G "${MAKEFILE_TYPE}" -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_CXX_COMPILER=g++-8 .
cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_CXX_COMPILER=${CXX_COMPILER} .
make VERBOSE=1 -j ${N_CORES} && echo "Build complete." || exit -1;
#make VERBOSE=1 -j ${N_CORES} && echo "Build complete." || exit -1;
cmake --build . --config ${BUILD_TYPE} -- -j${N_CORES}
#make install;
......@@ -5,3 +5,6 @@ rm -rf docs/*
rm -f src/*TestRunner*
rm -f src/*.o src/*.mod
rm -f src/funit.tmp src/*_fun.f90
rm -f CMakeCache.txt
rm -f cmake_install.cmake
rm -rf CMakeFiles
add_subdirectory(tests bin/unit-tests)
add_subdirectory(examples bin/examples)
add_library(4neuro SHARED
Neuron/Neuron.cpp
Neuron/NeuronBinary.cpp
......@@ -15,76 +18,6 @@ add_library(4neuro SHARED
target_link_libraries(4neuro boost_serialization)
add_library(boost_unit_test SHARED tests/boost_test_lib_dummy.cpp)
add_library(boost_unit_test SHARED boost_test_lib_dummy.cpp)
add_library(exprtk SHARED exprtk.cpp)
############
# EXAMPLES #
############
add_executable(test_cases main.cpp)
target_link_libraries(test_cases 4neuro exprtk)
add_executable(neuron_serialization_example neuron_serialization_example.cpp)
target_link_libraries(neuron_serialization_example 4neuro)
add_executable(net_test_1 net_test_1.cpp settings.h)
target_link_libraries(net_test_1 4neuro)
add_executable(net_test_2 net_test_2.cpp)
target_link_libraries(net_test_2 4neuro)
add_executable(net_test_3 net_test_3.cpp)
target_link_libraries(net_test_3 4neuro)
add_executable(net_test_ode_1 net_test_ode_1.cpp)
target_link_libraries(net_test_ode_1 4neuro)
##############
# UNIT TESTS #
##############
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/unit-tests)
add_executable(neuron_test tests/neuron_test.cpp)
target_link_libraries(neuron_test boost_unit_test 4neuro)
add_executable(linear_neuron_test tests/NeuronLinear_test.cpp)
target_link_libraries(linear_neuron_test boost_unit_test 4neuro)
add_executable(binary_neuron_test tests/NeuronBinary_test.cpp)
target_link_libraries(binary_neuron_test boost_unit_test 4neuro)
add_executable(logistic_neuron_test tests/NeuronLogistic_test.cpp)
target_link_libraries(logistic_neuron_test boost_unit_test 4neuro)
add_executable(tanh_neuron_test tests/NeuronTanh.cpp)
target_link_libraries(tanh_neuron_test boost_unit_test 4neuro)
add_executable(connection_weight_test tests/ConnectionWeight_test.cpp)
target_link_libraries(connection_weight_test boost_unit_test 4neuro)
add_executable(connection_test tests/Connection_test.cpp)
target_link_libraries(connection_test boost_unit_test 4neuro)
add_executable(neural_network_test tests/NeuralNetwork_test.cpp)
target_link_libraries(neural_network_test boost_unit_test 4neuro)
add_executable(connection_weight_identity_test tests/ConnectionWeightIdentity_test.cpp)
target_link_libraries(connection_weight_identity_test boost_unit_test 4neuro)
add_executable(dataset_test tests/DataSet_test.cpp)
target_link_libraries(dataset_test boost_unit_test 4neuro)
add_executable(errorfunction_test tests/ErrorFunctions_test.cpp)
target_link_libraries(errorfunction_test boost_unit_test 4neuro)
add_executable(particle_swarm_test tests/ParticleSwarm_test.cpp)
target_link_libraries(particle_swarm_test boost_unit_test 4neuro)
add_executable(particle_test tests/Particle_test.cpp)
target_link_libraries(particle_test boost_unit_test 4neuro)
add_executable(NeuralNetworkSum_test tests/NeuralNetworkSum_test.cpp)
target_link_libraries(NeuralNetworkSum_test boost_unit_test 4neuro)
# 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/martin/4Neuro")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/martin/4Neuro")
# 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})
#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
#IncludeRegexScan: ^.*$
#IncludeRegexComplain: ^$
#IncludeRegexTransform:
/home/martin/4Neuro/src/NetConnection/Connection.h
../Neuron/Neuron.h
/home/martin/4Neuro/src/Neuron/Neuron.h
ConnectionWeight.h
/home/martin/4Neuro/src/NetConnection/ConnectionWeight.h
../settings.h
/home/martin/4Neuro/src/settings.h
/home/martin/4Neuro/src/NetConnection/ConnectionWeight.h
functional
-
vector
-
/home/martin/4Neuro/src/Network/NeuralNetwork.h
vector
-
../Neuron/Neuron.h
/home/martin/4Neuro/src/Neuron/Neuron.h
../settings.h
/home/martin/4Neuro/src/settings.h
/home/martin/4Neuro/src/Network/NeuralNetworkSum.h
NeuralNetwork.h
/home/martin/4Neuro/src/Network/NeuralNetwork.h
/home/martin/4Neuro/src/Neuron/Neuron.h
boost/serialization/base_object.hpp
-
vector
-
../NetConnection/Connection.h
/home/martin/4Neuro/src/NetConnection/Connection.h
/home/martin/4Neuro/src/Neuron/NeuronLinear.h
Neuron.h
/home/martin/4Neuro/src/Neuron/Neuron.h
/home/martin/4Neuro/src/settings.h
/home/martin/4Neuro/src/tests/NeuralNetworkSum_test.cpp
boost/test/unit_test.hpp
-
../Network/NeuralNetworkSum.h
/home/martin/4Neuro/src/Network/NeuralNetworkSum.h
../Neuron/NeuronLinear.h
/home/martin/4Neuro/src/Neuron/NeuronLinear.h
# 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/martin/4Neuro/src/tests/NeuralNetworkSum_test.cpp" "/home/martin/4Neuro/src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.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
"/home/martin/4Neuro/src/CMakeFiles/boost_unit_test.dir/DependInfo.cmake"
"/home/martin/4Neuro/src/CMakeFiles/4neuro.dir/DependInfo.cmake"
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
# 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/martin/4Neuro
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/martin/4Neuro
# Include any dependencies generated for this target.
include src/examples/CMakeFiles/NeuralNetworkSum_test.dir/depend.make
# Include the progress variables for this target.
include src/examples/CMakeFiles/NeuralNetworkSum_test.dir/progress.make
# Include the compile flags for this target's objects.
include src/examples/CMakeFiles/NeuralNetworkSum_test.dir/flags.make
src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o: src/examples/CMakeFiles/NeuralNetworkSum_test.dir/flags.make
src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o: src/tests/NeuralNetworkSum_test.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/martin/4Neuro/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o"
cd /home/martin/4Neuro/src/examples && /usr/bin/g++-8 $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o -c /home/martin/4Neuro/src/tests/NeuralNetworkSum_test.cpp
src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.i"
cd /home/martin/4Neuro/src/examples && /usr/bin/g++-8 $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/martin/4Neuro/src/tests/NeuralNetworkSum_test.cpp > CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.i
src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.s"
cd /home/martin/4Neuro/src/examples && /usr/bin/g++-8 $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/martin/4Neuro/src/tests/NeuralNetworkSum_test.cpp -o CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.s
src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o.requires:
.PHONY : src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o.requires
src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o.provides: src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o.requires
$(MAKE) -f src/examples/CMakeFiles/NeuralNetworkSum_test.dir/build.make src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o.provides.build
.PHONY : src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o.provides
src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o.provides.build: src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o
# Object files for target NeuralNetworkSum_test
NeuralNetworkSum_test_OBJECTS = \
"CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o"
# External object files for target NeuralNetworkSum_test
NeuralNetworkSum_test_EXTERNAL_OBJECTS =
src/examples/bin/unit-tests/NeuralNetworkSum_test: src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o
src/examples/bin/unit-tests/NeuralNetworkSum_test: src/examples/CMakeFiles/NeuralNetworkSum_test.dir/build.make
src/examples/bin/unit-tests/NeuralNetworkSum_test: src/lib/libboost_unit_test.so
src/examples/bin/unit-tests/NeuralNetworkSum_test: src/lib/lib4neuro.so
src/examples/bin/unit-tests/NeuralNetworkSum_test: src/examples/CMakeFiles/NeuralNetworkSum_test.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/martin/4Neuro/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable bin/unit-tests/NeuralNetworkSum_test"
cd /home/martin/4Neuro/src/examples && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/NeuralNetworkSum_test.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
src/examples/CMakeFiles/NeuralNetworkSum_test.dir/build: src/examples/bin/unit-tests/NeuralNetworkSum_test
.PHONY : src/examples/CMakeFiles/NeuralNetworkSum_test.dir/build
src/examples/CMakeFiles/NeuralNetworkSum_test.dir/requires: src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o.requires
.PHONY : src/examples/CMakeFiles/NeuralNetworkSum_test.dir/requires
src/examples/CMakeFiles/NeuralNetworkSum_test.dir/clean:
cd /home/martin/4Neuro/src/examples && $(CMAKE_COMMAND) -P CMakeFiles/NeuralNetworkSum_test.dir/cmake_clean.cmake
.PHONY : src/examples/CMakeFiles/NeuralNetworkSum_test.dir/clean
src/examples/CMakeFiles/NeuralNetworkSum_test.dir/depend:
cd /home/martin/4Neuro && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/martin/4Neuro /home/martin/4Neuro/src/tests /home/martin/4Neuro /home/martin/4Neuro/src/examples /home/martin/4Neuro/src/examples/CMakeFiles/NeuralNetworkSum_test.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : src/examples/CMakeFiles/NeuralNetworkSum_test.dir/depend
file(REMOVE_RECURSE
"CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o"
"bin/unit-tests/NeuralNetworkSum_test.pdb"
"bin/unit-tests/NeuralNetworkSum_test"
)
# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/NeuralNetworkSum_test.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o
/home/martin/4Neuro/src/NetConnection/Connection.h
/home/martin/4Neuro/src/NetConnection/ConnectionWeight.h
/home/martin/4Neuro/src/Network/NeuralNetwork.h
/home/martin/4Neuro/src/Network/NeuralNetworkSum.h
/home/martin/4Neuro/src/Neuron/Neuron.h
/home/martin/4Neuro/src/Neuron/NeuronLinear.h
/home/martin/4Neuro/src/settings.h
/home/martin/4Neuro/src/tests/NeuralNetworkSum_test.cpp
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o: src/NetConnection/Connection.h
src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o: src/NetConnection/ConnectionWeight.h
src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o: src/Network/NeuralNetwork.h
src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o: src/Network/NeuralNetworkSum.h
src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o: src/Neuron/Neuron.h
src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o: src/Neuron/NeuronLinear.h
src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o: src/settings.h
src/examples/CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o: src/tests/NeuralNetworkSum_test.cpp
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
# compile CXX with /usr/bin/g++-8
CXX_FLAGS = -Wall -g -std=gnu++1z
CXX_DEFINES =
CXX_INCLUDES =
/usr/bin/g++-8 -Wall -g -rdynamic CMakeFiles/NeuralNetworkSum_test.dir/NeuralNetworkSum_test.cpp.o -o bin/unit-tests/NeuralNetworkSum_test -Wl,-rpath,/home/martin/4Neuro/src/lib ../lib/libboost_unit_test.so ../lib/lib4neuro.so -lboost_serialization
#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
#IncludeRegexScan: ^.*$
#IncludeRegexComplain: ^$
#IncludeRegexTransform:
/home/martin/4Neuro/src/NetConnection/Connection.h
../Neuron/Neuron.h
/home/martin/4Neuro/src/Neuron/Neuron.h
ConnectionWeight.h
/home/martin/4Neuro/src/NetConnection/ConnectionWeight.h
../settings.h
/home/martin/4Neuro/src/settings.h
/home/martin/4Neuro/src/NetConnection/ConnectionWeight.h
functional
-
vector
-
/home/martin/4Neuro/src/Neuron/Neuron.h
boost/serialization/base_object.hpp
-
vector
-
../NetConnection/Connection.h
/home/martin/4Neuro/src/NetConnection/Connection.h
/home/martin/4Neuro/src/Neuron/NeuronBinary.h
Neuron.h
/home/martin/4Neuro/src/Neuron/Neuron.h
/home/martin/4Neuro/src/settings.h
/home/martin/4Neuro/src/tests/NeuronBinary_test.cpp
boost/test/unit_test.hpp
-
../Neuron/NeuronBinary.h
/home/martin/4Neuro/src/Neuron/NeuronBinary.h
# 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/martin/4Neuro/src/tests/NeuronBinary_test.cpp" "/home/martin/4Neuro/src/examples/CMakeFiles/binary_neuron_test.dir/NeuronBinary_test.cpp.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
"/home/martin/4Neuro/src/CMakeFiles/boost_unit_test.dir/DependInfo.cmake"
"/home/martin/4Neuro/src/CMakeFiles/4neuro.dir/DependInfo.cmake"
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
# 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/martin/4Neuro
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/martin/4Neuro
# Include any dependencies generated for this target.
include src/examples/CMakeFiles/binary_neuron_test.dir/depend.make
# Include the progress variables for this target.
include src/examples/CMakeFiles/binary_neuron_test.dir/progress.make
# Include the compile flags for this target's objects.
include src/examples/CMakeFiles/binary_neuron_test.dir/flags.make
src/examples/CMakeFiles/binary_neuron_test.dir/NeuronBinary_test.cpp.o: src/examples/CMakeFiles/binary_neuron_test.dir/flags.make
src/examples/CMakeFiles/binary_neuron_test.dir/NeuronBinary_test.cpp.o: src/tests/NeuronBinary_test.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/martin/4Neuro/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object src/examples/CMakeFiles/binary_neuron_test.dir/NeuronBinary_test.cpp.o"
cd /home/martin/4Neuro/src/examples && /usr/bin/g++-8 $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/binary_neuron_test.dir/NeuronBinary_test.cpp.o -c /home/martin/4Neuro/src/tests/NeuronBinary_test.cpp
src/examples/CMakeFiles/binary_neuron_test.dir/NeuronBinary_test.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/binary_neuron_test.dir/NeuronBinary_test.cpp.i"
cd /home/martin/4Neuro/src/examples && /usr/bin/g++-8 $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/martin/4Neuro/src/tests/NeuronBinary_test.cpp > CMakeFiles/binary_neuron_test.dir/NeuronBinary_test.cpp.i
src/examples/CMakeFiles/binary_neuron_test.dir/NeuronBinary_test.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/binary_neuron_test.dir/NeuronBinary_test.cpp.s"
cd /home/martin/4Neuro/src/examples && /usr/bin/g++-8 $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/martin/4Neuro/src/tests/NeuronBinary_test.cpp -o CMakeFiles/binary_neuron_test.dir/NeuronBinary_test.cpp.s
src/examples/CMakeFiles/binary_neuron_test.dir/NeuronBinary_test.cpp.o.requires:
.PHONY : src/examples/CMakeFiles/binary_neuron_test.dir/NeuronBinary_test.cpp.o.requires
src/examples/CMakeFiles/binary_neuron_test.dir/NeuronBinary_test.cpp.o.provides: src/examples/CMakeFiles/binary_neuron_test.dir/NeuronBinary_test.cpp.o.requires
$(MAKE) -f src/examples/CMakeFiles/binary_neuron_test.dir/build.make src/examples/CMakeFiles/binary_neuron_test.dir/NeuronBinary_test.cpp.o.provides.build
.PHONY : src/examples/CMakeFiles/binary_neuron_test.dir/NeuronBinary_test.cpp.o.provides
src/examples/CMakeFiles/binary_neuron_test.dir/NeuronBinary_test.cpp.o.provides.build: src/examples/CMakeFiles/binary_neuron_test.dir/NeuronBinary_test.cpp.o
# Object files for target binary_neuron_test
binary_neuron_test_OBJECTS = \
"CMakeFiles/binary_neuron_test.dir/NeuronBinary_test.cpp.o"
# External object files for target binary_neuron_test
binary_neuron_test_EXTERNAL_OBJECTS =
src/examples/bin/unit-tests/binary_neuron_test: src/examples/CMakeFiles/binary_neuron_test.dir/NeuronBinary_test.cpp.o
src/examples/bin/unit-tests/binary_neuron_test: src/examples/CMakeFiles/binary_neuron_test.dir/build.make
src/examples/bin/unit-tests/binary_neuron_test: src/lib/libboost_unit_test.so
src/examples/bin/unit-tests/binary_neuron_test: src/lib/lib4neuro.so
src/examples/bin/unit-tests/binary_neuron_test: src/examples/CMakeFiles/binary_neuron_test.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/martin/4Neuro/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable bin/unit-tests/binary_neuron_test"
cd /home/martin/4Neuro/src/examples && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/binary_neuron_test.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
src/examples/CMakeFiles/binary_neuron_test.dir/build: src/examples/bin/unit-tests/binary_neuron_test
.PHONY : src/examples/CMakeFiles/binary_neuron_test.dir/build
src/examples/CMakeFiles/binary_neuron_test.dir/requires: src/examples/CMakeFiles/binary_neuron_test.dir/NeuronBinary_test.cpp.o.requires
.PHONY : src/examples/CMakeFiles/binary_neuron_test.dir/requires
src/examples/CMakeFiles/binary_neuron_test.dir/clean:
cd /home/martin/4Neuro/src/examples && $(CMAKE_COMMAND) -P CMakeFiles/binary_neuron_test.dir/cmake_clean.cmake
.PHONY : src/examples/CMakeFiles/binary_neuron_test.dir/clean
src/examples/CMakeFiles/binary_neuron_test.dir/depend:
cd /home/martin/4Neuro && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/martin/4Neuro /home/martin/4Neuro/src/tests /home/martin/4Neuro /home/martin/4Neuro/src/examples /home/martin/4Neuro/src/examples/CMakeFiles/binary_neuron_test.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : src/examples/CMakeFiles/binary_neuron_test.dir/depend
file(REMOVE_RECURSE
"CMakeFiles/binary_neuron