From 544edb66c64624c8ea80ece307586c81bb6b2041 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 11 Nov 2018 10:41:54 +0100 Subject: [PATCH] add signal handler for detecting status of child process (grapher) --- CMakeCache.txt | 307 +++++++++++++++++++++++ CMakeFiles/Makefile.cmake | 69 ----- CMakeFiles/Progress/1 | 1 + CMakeFiles/Progress/10 | 1 + CMakeFiles/Progress/11 | 1 + CMakeFiles/Progress/12 | 1 + CMakeFiles/Progress/13 | 1 + CMakeFiles/Progress/14 | 1 + CMakeFiles/Progress/15 | 1 + CMakeFiles/Progress/16 | 1 + CMakeFiles/Progress/17 | 1 + CMakeFiles/Progress/18 | 1 + CMakeFiles/Progress/19 | 1 + CMakeFiles/Progress/2 | 1 + CMakeFiles/Progress/20 | 1 + CMakeFiles/Progress/21 | 1 + CMakeFiles/Progress/22 | 1 + CMakeFiles/Progress/23 | 1 + CMakeFiles/Progress/24 | 1 + CMakeFiles/Progress/25 | 1 + CMakeFiles/Progress/26 | 1 + CMakeFiles/Progress/27 | 1 + CMakeFiles/Progress/28 | 1 + CMakeFiles/Progress/29 | 1 + CMakeFiles/Progress/3 | 1 + CMakeFiles/Progress/8 | 1 + CMakeFiles/Progress/9 | 1 + CMakeFiles/Progress/count.txt | 1 + CMakeFiles/TargetDirectories.txt | 7 +- CMakeFiles/easea.dir/CXX.includecache | 62 ----- CMakeFiles/easea.dir/depend.internal | 13 - CMakeFiles/easea.dir/depend.make | 13 - CMakeFiles/libeasea.dir/CXX.includecache | 16 ++ CMakeFiles/libeasea.dir/depend.internal | 1 + CMakeFiles/libeasea.dir/depend.make | 1 + Makefile | 40 ++- cmake_install.cmake | 12 - libeasea/CEvolutionaryAlgorithm.cpp | 43 +++- 38 files changed, 409 insertions(+), 201 deletions(-) create mode 100644 CMakeCache.txt create mode 100644 CMakeFiles/Progress/1 create mode 100644 CMakeFiles/Progress/10 create mode 100644 CMakeFiles/Progress/11 create mode 100644 CMakeFiles/Progress/12 create mode 100644 CMakeFiles/Progress/13 create mode 100644 CMakeFiles/Progress/14 create mode 100644 CMakeFiles/Progress/15 create mode 100644 CMakeFiles/Progress/16 create mode 100644 CMakeFiles/Progress/17 create mode 100644 CMakeFiles/Progress/18 create mode 100644 CMakeFiles/Progress/19 create mode 100644 CMakeFiles/Progress/2 create mode 100644 CMakeFiles/Progress/20 create mode 100644 CMakeFiles/Progress/21 create mode 100644 CMakeFiles/Progress/22 create mode 100644 CMakeFiles/Progress/23 create mode 100644 CMakeFiles/Progress/24 create mode 100644 CMakeFiles/Progress/25 create mode 100644 CMakeFiles/Progress/26 create mode 100644 CMakeFiles/Progress/27 create mode 100644 CMakeFiles/Progress/28 create mode 100644 CMakeFiles/Progress/29 create mode 100644 CMakeFiles/Progress/3 create mode 100644 CMakeFiles/Progress/8 create mode 100644 CMakeFiles/Progress/9 create mode 100644 CMakeFiles/Progress/count.txt diff --git a/CMakeCache.txt b/CMakeCache.txt new file mode 100644 index 0000000..6c5657e --- /dev/null +++ b/CMakeCache.txt @@ -0,0 +1,307 @@ +# This is the CMakeCache file. +# For build in directory: /home/anna/Documents/EASEA/GITHUB/easea +# 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 GUIs for the type of VALUE, DO NOT EDIT TYPE!. +# VALUE is the current value for the KEY. + +######################## +# EXTERNAL cache entries +######################## + +//path to the bison executable +BISON_EXECUTABLE:FILEPATH=/usr/bin/bison + +//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 + +//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 builds for minimum +// size. +CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG + +//Flags used by the compiler during release builds. +CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG + +//Flags used by the compiler during release builds with debug info. +CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG + +//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 builds for minimum +// size. +CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG + +//Flags used by the compiler during release builds. +CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG + +//Flags used by the compiler during release builds with debug info. +CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG + +//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= + +//Enable/Disable output of compile commands during generation. +CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF + +//Install path prefix, prepended onto install directories. +CMAKE_INSTALL_PREFIX:PATH=/usr/local + +//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= + +//Value Computed by CMake +CMAKE_PROJECT_NAME:STATIC=EASEA + +//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 installing shared libraries, +// but are added when building. +CMAKE_SKIP_INSTALL_RPATH:BOOL=NO + +//If set, runtime paths are not added when using shared libraries. +CMAKE_SKIP_RPATH:BOOL=NO + +//Flags used by the linker during the creation of static libraries. +CMAKE_STATIC_LINKER_FLAGS:STRING= + +//Flags used by the linker during debug builds. +CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during release minsize builds. +CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during release builds. +CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during Release with Debug Info builds. +CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//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 + +//Enable to build TBZ2 source packages +CPACK_SOURCE_TBZ2:BOOL=ON + +//Enable to build TGZ source packages +CPACK_SOURCE_TGZ:BOOL=ON + +//Enable to build TXZ source packages +CPACK_SOURCE_TXZ:BOOL=ON + +//Enable to build TZ source packages +CPACK_SOURCE_TZ:BOOL=ON + +//Enable to build ZIP source packages +CPACK_SOURCE_ZIP:BOOL=OFF + +//Value Computed by CMake +EASEA_BINARY_DIR:STATIC=/home/anna/Documents/EASEA/GITHUB/easea + +//Value Computed by CMake +EASEA_SOURCE_DIR:STATIC=/home/anna/Documents/EASEA/GITHUB/easea + +//path to the flex executable +FLEX_EXECUTABLE:FILEPATH=/usr/bin/flex + +//Path to the flex headers +FLEX_INCLUDE_DIR:PATH=/usr/include + +//Path to the fl library +FL_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libfl.so + +//Dependencies for target +libeasea_LIB_DEPENDS:STATIC= + + +######################## +# INTERNAL cache entries +######################## + +//ADVANCED property for variable: BISON_EXECUTABLE +BISON_EXECUTABLE-ADVANCED:INTERNAL=1 +//This is the directory where this CMakeCache.txt was created +CMAKE_CACHEFILE_DIR:INTERNAL=/home/anna/Documents/EASEA/GITHUB/easea +//Major version of cmake used to create the current loaded cache +CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 +//Minor version of cmake used to create the current loaded cache +CMAKE_CACHE_MINOR_VERSION:INTERNAL=5 +//Patch version of cmake used to create the current loaded cache +CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 +//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_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_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 +//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 +//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS +CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1 +//Name of external makefile project generator. +CMAKE_EXTRA_GENERATOR:INTERNAL= +//Name of generator. +CMAKE_GENERATOR:INTERNAL=Unix Makefiles +//Name of generator platform. +CMAKE_GENERATOR_PLATFORM:INTERNAL= +//Name of generator toolset. +CMAKE_GENERATOR_TOOLSET:INTERNAL= +//Source directory with the top level CMakeLists.txt file for this +// project +CMAKE_HOME_DIRECTORY:INTERNAL=/home/anna/Documents/EASEA/GITHUB/easea +//Install .so files without execute permission. +CMAKE_INSTALL_SO_NO_EXE: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 +//number of local generators +CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 +//Path to CMake installation. +CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.5 +//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_INSTALL_RPATH +CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SKIP_RPATH +CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS +CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG +CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL +CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE +CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE +CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CPACK_SOURCE_TBZ2 +CPACK_SOURCE_TBZ2-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CPACK_SOURCE_TGZ +CPACK_SOURCE_TGZ-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CPACK_SOURCE_TXZ +CPACK_SOURCE_TXZ-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CPACK_SOURCE_TZ +CPACK_SOURCE_TZ-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CPACK_SOURCE_ZIP +CPACK_SOURCE_ZIP-ADVANCED:INTERNAL=1 +//Details about finding BISON +FIND_PACKAGE_MESSAGE_DETAILS_BISON:INTERNAL=[/usr/bin/bison][v3.0.4()] +//Details about finding FLEX +FIND_PACKAGE_MESSAGE_DETAILS_FLEX:INTERNAL=[/usr/bin/flex][v2.6.0()] +//ADVANCED property for variable: FLEX_EXECUTABLE +FLEX_EXECUTABLE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: FLEX_INCLUDE_DIR +FLEX_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: FL_LIBRARY +FL_LIBRARY-ADVANCED:INTERNAL=1 + diff --git a/CMakeFiles/Makefile.cmake b/CMakeFiles/Makefile.cmake index dfb12e1..4a6f3e8 100644 --- a/CMakeFiles/Makefile.cmake +++ b/CMakeFiles/Makefile.cmake @@ -10,89 +10,25 @@ set(CMAKE_MAKEFILE_DEPENDS "CMakeFiles/3.5.1/CMakeCCompiler.cmake" "CMakeFiles/3.5.1/CMakeCXXCompiler.cmake" "CMakeFiles/3.5.1/CMakeSystem.cmake" - "CMakeFiles/feature_tests.c" - "CMakeFiles/feature_tests.cxx" "CMakeLists.txt" - "/usr/share/cmake-3.5/Modules/CMakeCCompiler.cmake.in" - "/usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c" "/usr/share/cmake-3.5/Modules/CMakeCInformation.cmake" - "/usr/share/cmake-3.5/Modules/CMakeCXXCompiler.cmake.in" - "/usr/share/cmake-3.5/Modules/CMakeCXXCompilerABI.cpp" "/usr/share/cmake-3.5/Modules/CMakeCXXInformation.cmake" "/usr/share/cmake-3.5/Modules/CMakeCommonLanguageInclude.cmake" - "/usr/share/cmake-3.5/Modules/CMakeCompilerIdDetection.cmake" - "/usr/share/cmake-3.5/Modules/CMakeDetermineCCompiler.cmake" - "/usr/share/cmake-3.5/Modules/CMakeDetermineCXXCompiler.cmake" - "/usr/share/cmake-3.5/Modules/CMakeDetermineCompileFeatures.cmake" - "/usr/share/cmake-3.5/Modules/CMakeDetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/CMakeDetermineCompilerABI.cmake" - "/usr/share/cmake-3.5/Modules/CMakeDetermineCompilerId.cmake" - "/usr/share/cmake-3.5/Modules/CMakeDetermineSystem.cmake" - "/usr/share/cmake-3.5/Modules/CMakeFindBinUtils.cmake" "/usr/share/cmake-3.5/Modules/CMakeGenericSystem.cmake" "/usr/share/cmake-3.5/Modules/CMakeLanguageInformation.cmake" "/usr/share/cmake-3.5/Modules/CMakeParseArguments.cmake" - "/usr/share/cmake-3.5/Modules/CMakeParseImplicitLinkInfo.cmake" - "/usr/share/cmake-3.5/Modules/CMakeSystem.cmake.in" "/usr/share/cmake-3.5/Modules/CMakeSystemSpecificInformation.cmake" "/usr/share/cmake-3.5/Modules/CMakeSystemSpecificInitialize.cmake" - "/usr/share/cmake-3.5/Modules/CMakeTestCCompiler.cmake" - "/usr/share/cmake-3.5/Modules/CMakeTestCXXCompiler.cmake" - "/usr/share/cmake-3.5/Modules/CMakeTestCompilerCommon.cmake" - "/usr/share/cmake-3.5/Modules/CMakeUnixFindMake.cmake" "/usr/share/cmake-3.5/Modules/CPack.cmake" "/usr/share/cmake-3.5/Modules/CPackComponent.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/ADSP-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/ARMCC-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/AppleClang-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/Borland-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/Clang-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/Clang-DetermineCompilerInternal.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/Compaq-C-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/Cray-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/Embarcadero-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/Fujitsu-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/GHS-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/GNU-C-FeatureTests.cmake" "/usr/share/cmake-3.5/Modules/Compiler/GNU-C.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/GNU-CXX-FeatureTests.cmake" "/usr/share/cmake-3.5/Modules/Compiler/GNU-CXX.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/GNU-DetermineCompiler.cmake" "/usr/share/cmake-3.5/Modules/Compiler/GNU.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/HP-C-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/HP-CXX-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/IAR-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/Intel-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/MIPSpro-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/MSVC-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/PGI-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/PathScale-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/SCO-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/SDCC-C-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/SunPro-C-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/TI-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/Watcom-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/XL-C-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/XL-CXX-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/zOS-C-DetermineCompiler.cmake" - "/usr/share/cmake-3.5/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake" "/usr/share/cmake-3.5/Modules/FindBISON.cmake" "/usr/share/cmake-3.5/Modules/FindFLEX.cmake" "/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake" "/usr/share/cmake-3.5/Modules/FindPackageMessage.cmake" "/usr/share/cmake-3.5/Modules/InstallRequiredSystemLibraries.cmake" - "/usr/share/cmake-3.5/Modules/Internal/FeatureTesting.cmake" - "/usr/share/cmake-3.5/Modules/MultiArchCross.cmake" - "/usr/share/cmake-3.5/Modules/Platform/Linux-CXX.cmake" "/usr/share/cmake-3.5/Modules/Platform/Linux-GNU-C.cmake" "/usr/share/cmake-3.5/Modules/Platform/Linux-GNU-CXX.cmake" "/usr/share/cmake-3.5/Modules/Platform/Linux-GNU.cmake" @@ -109,11 +45,6 @@ set(CMAKE_MAKEFILE_OUTPUTS # Byproducts of CMake generate step: set(CMAKE_MAKEFILE_PRODUCTS - "CMakeFiles/3.5.1/CMakeSystem.cmake" - "CMakeFiles/3.5.1/CMakeCCompiler.cmake" - "CMakeFiles/3.5.1/CMakeCXXCompiler.cmake" - "CMakeFiles/3.5.1/CMakeCCompiler.cmake" - "CMakeFiles/3.5.1/CMakeCXXCompiler.cmake" "CPackConfig.cmake" "CPackSourceConfig.cmake" "CMakeFiles/CMakeDirectoryInformation.cmake" diff --git a/CMakeFiles/Progress/1 b/CMakeFiles/Progress/1 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/1 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/10 b/CMakeFiles/Progress/10 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/10 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/11 b/CMakeFiles/Progress/11 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/11 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/12 b/CMakeFiles/Progress/12 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/12 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/13 b/CMakeFiles/Progress/13 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/13 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/14 b/CMakeFiles/Progress/14 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/14 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/15 b/CMakeFiles/Progress/15 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/15 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/16 b/CMakeFiles/Progress/16 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/16 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/17 b/CMakeFiles/Progress/17 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/17 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/18 b/CMakeFiles/Progress/18 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/18 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/19 b/CMakeFiles/Progress/19 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/19 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/2 b/CMakeFiles/Progress/2 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/2 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/20 b/CMakeFiles/Progress/20 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/20 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/21 b/CMakeFiles/Progress/21 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/21 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/22 b/CMakeFiles/Progress/22 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/22 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/23 b/CMakeFiles/Progress/23 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/23 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/24 b/CMakeFiles/Progress/24 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/24 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/25 b/CMakeFiles/Progress/25 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/25 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/26 b/CMakeFiles/Progress/26 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/26 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/27 b/CMakeFiles/Progress/27 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/27 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/28 b/CMakeFiles/Progress/28 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/28 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/29 b/CMakeFiles/Progress/29 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/29 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/3 b/CMakeFiles/Progress/3 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/3 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/8 b/CMakeFiles/Progress/8 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/8 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/9 b/CMakeFiles/Progress/9 new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/CMakeFiles/Progress/9 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/CMakeFiles/Progress/count.txt b/CMakeFiles/Progress/count.txt new file mode 100644 index 0000000..f04c001 --- /dev/null +++ b/CMakeFiles/Progress/count.txt @@ -0,0 +1 @@ +29 diff --git a/CMakeFiles/TargetDirectories.txt b/CMakeFiles/TargetDirectories.txt index f0db8c1..9df2d63 100644 --- a/CMakeFiles/TargetDirectories.txt +++ b/CMakeFiles/TargetDirectories.txt @@ -2,9 +2,8 @@ /home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/package_source.dir /home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/rebuild_cache.dir /home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/package.dir -/home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/list_install_components.dir -/home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/install.dir +/home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/install/local.dir /home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/libeasea.dir /home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/easea.dir -/home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/install/local.dir -/home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/install/strip.dir +/home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/list_install_components.dir +/home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/install.dir diff --git a/CMakeFiles/easea.dir/CXX.includecache b/CMakeFiles/easea.dir/CXX.includecache index ed1799d..904a9b8 100644 --- a/CMakeFiles/easea.dir/CXX.includecache +++ b/CMakeFiles/easea.dir/CXX.includecache @@ -20,68 +20,6 @@ assert.h errno.h - -/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaLex.cpp -stdio.h -- -string.h -- -errno.h -- -stdlib.h -- -inttypes.h -- -Easea.h -/home/anna/Documents/EASEA/GITHUB/easea/compiler/Easea.h -EaseaParse.hpp -/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaParse.hpp -direct.h -- -unistd.h -- -debug.h -/home/anna/Documents/EASEA/GITHUB/easea/compiler/debug.h -unistd.h -- - -/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaLex.h -EaseaSym.h -/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaSym.h - -/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaParse.cpp -Easea.h -/home/anna/Documents/EASEA/GITHUB/easea/compiler/Easea.h -debug.h -/home/anna/Documents/EASEA/GITHUB/easea/compiler/debug.h -EaseaYTools.h -/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaYTools.h -EaseaParse.hpp -/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaParse.hpp -EaseaSym.h -/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaSym.h -EaseaLex.h -/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaLex.h -stddef.h -- -libintl.h -- -alloca.h -- -malloc.h -- -stdlib.h -- -stdlib.h -- -stdio.h -- - -/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaParse.hpp -EaseaSym.h -/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaSym.h -EaseaLex.h -/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaLex.h - /home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaSym.cpp stdio.h - diff --git a/CMakeFiles/easea.dir/depend.internal b/CMakeFiles/easea.dir/depend.internal index 8b812ab..9ea540a 100644 --- a/CMakeFiles/easea.dir/depend.internal +++ b/CMakeFiles/easea.dir/depend.internal @@ -2,20 +2,7 @@ # Generated by "Unix Makefiles" Generator, CMake Version 3.5 CMakeFiles/easea.dir/compiler/EaseaLex.cpp.o - /home/anna/Documents/EASEA/GITHUB/easea/compiler/Easea.h - /home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaLex.cpp - /home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaLex.h - /home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaParse.hpp - /home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaSym.h - /home/anna/Documents/EASEA/GITHUB/easea/compiler/debug.h CMakeFiles/easea.dir/compiler/EaseaParse.cpp.o - /home/anna/Documents/EASEA/GITHUB/easea/compiler/Easea.h - /home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaLex.h - /home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaParse.cpp - /home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaParse.hpp - /home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaSym.h - /home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaYTools.h - /home/anna/Documents/EASEA/GITHUB/easea/compiler/debug.h CMakeFiles/easea.dir/compiler/EaseaSym.cpp.o /home/anna/Documents/EASEA/GITHUB/easea/compiler/Easea.h /home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaSym.cpp diff --git a/CMakeFiles/easea.dir/depend.make b/CMakeFiles/easea.dir/depend.make index e209773..3ad1501 100644 --- a/CMakeFiles/easea.dir/depend.make +++ b/CMakeFiles/easea.dir/depend.make @@ -1,20 +1,7 @@ # CMAKE generated file: DO NOT EDIT! # Generated by "Unix Makefiles" Generator, CMake Version 3.5 -CMakeFiles/easea.dir/compiler/EaseaLex.cpp.o: compiler/Easea.h -CMakeFiles/easea.dir/compiler/EaseaLex.cpp.o: compiler/EaseaLex.cpp -CMakeFiles/easea.dir/compiler/EaseaLex.cpp.o: compiler/EaseaLex.h -CMakeFiles/easea.dir/compiler/EaseaLex.cpp.o: compiler/EaseaParse.hpp -CMakeFiles/easea.dir/compiler/EaseaLex.cpp.o: compiler/EaseaSym.h -CMakeFiles/easea.dir/compiler/EaseaLex.cpp.o: compiler/debug.h -CMakeFiles/easea.dir/compiler/EaseaParse.cpp.o: compiler/Easea.h -CMakeFiles/easea.dir/compiler/EaseaParse.cpp.o: compiler/EaseaLex.h -CMakeFiles/easea.dir/compiler/EaseaParse.cpp.o: compiler/EaseaParse.cpp -CMakeFiles/easea.dir/compiler/EaseaParse.cpp.o: compiler/EaseaParse.hpp -CMakeFiles/easea.dir/compiler/EaseaParse.cpp.o: compiler/EaseaSym.h -CMakeFiles/easea.dir/compiler/EaseaParse.cpp.o: compiler/EaseaYTools.h -CMakeFiles/easea.dir/compiler/EaseaParse.cpp.o: compiler/debug.h CMakeFiles/easea.dir/compiler/EaseaSym.cpp.o: compiler/Easea.h CMakeFiles/easea.dir/compiler/EaseaSym.cpp.o: compiler/EaseaSym.cpp diff --git a/CMakeFiles/libeasea.dir/CXX.includecache b/CMakeFiles/libeasea.dir/CXX.includecache index c507677..26e3021 100644 --- a/CMakeFiles/libeasea.dir/CXX.includecache +++ b/CMakeFiles/libeasea.dir/CXX.includecache @@ -87,12 +87,18 @@ include/CComUDPLayer.h /home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CComUDPLayer.h include/CRandomGenerator.h /home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CRandomGenerator.h +include/CLogger.h +/home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CLogger.h stdio.h - sstream - +iostream +- fstream - +sys/wait.h +- timing.h - @@ -338,6 +344,16 @@ iostream CVariable.h /home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CVariable.h +/home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CLogger.h +cstdio +- +stdexcept +- +string +- +vector +- + /home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/COptionParser.h /home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CPopulation.h diff --git a/CMakeFiles/libeasea.dir/depend.internal b/CMakeFiles/libeasea.dir/depend.internal index bbdd822..ed6b7e3 100644 --- a/CMakeFiles/libeasea.dir/depend.internal +++ b/CMakeFiles/libeasea.dir/depend.internal @@ -19,6 +19,7 @@ CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o /home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CEvolutionaryAlgorithm.h /home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CGrapher.h /home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CIndividual.h + /home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CLogger.h /home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CPopulation.h /home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CRandomGenerator.h /home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CSelectionOperator.h diff --git a/CMakeFiles/libeasea.dir/depend.make b/CMakeFiles/libeasea.dir/depend.make index 5f08d54..77bc3c1 100644 --- a/CMakeFiles/libeasea.dir/depend.make +++ b/CMakeFiles/libeasea.dir/depend.make @@ -18,6 +18,7 @@ CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o: libeasea/include/ CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o: libeasea/include/CEvolutionaryAlgorithm.h CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o: libeasea/include/CGrapher.h CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o: libeasea/include/CIndividual.h +CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o: libeasea/include/CLogger.h CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o: libeasea/include/CPopulation.h CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o: libeasea/include/CRandomGenerator.h CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o: libeasea/include/CSelectionOperator.h diff --git a/Makefile b/Makefile index 6f6235e..1788d6d 100644 --- a/Makefile +++ b/Makefile @@ -100,6 +100,17 @@ package/fast: package .PHONY : package/fast +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local + +.PHONY : install/local/fast + # Special rule for the target list_install_components list_install_components: @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" @@ -122,28 +133,6 @@ install/fast: preinstall/fast /usr/bin/cmake -P cmake_install.cmake .PHONY : install/fast -# Special rule for the target install/local -install/local: preinstall - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." - /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake -.PHONY : install/local - -# Special rule for the target install/local -install/local/fast: install/local - -.PHONY : install/local/fast - -# Special rule for the target install/strip -install/strip: preinstall - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." - /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake -.PHONY : install/strip - -# Special rule for the target install/strip -install/strip/fast: install/strip - -.PHONY : install/strip/fast - # The main all target all: cmake_check_build_system $(CMAKE_COMMAND) -E cmake_progress_start /home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles /home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/progress.marks @@ -887,12 +876,11 @@ help: @echo "... package_source" @echo "... rebuild_cache" @echo "... package" - @echo "... list_install_components" - @echo "... install" + @echo "... install/local" @echo "... libeasea" @echo "... easea" - @echo "... install/local" - @echo "... install/strip" + @echo "... list_install_components" + @echo "... install" @echo "... compiler/EaseaLex.o" @echo "... compiler/EaseaLex.i" @echo "... compiler/EaseaLex.s" diff --git a/cmake_install.cmake b/cmake_install.cmake index d81e600..c97b286 100644 --- a/cmake_install.cmake +++ b/cmake_install.cmake @@ -33,12 +33,6 @@ if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) endif() if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified") - if(EXISTS "$ENV{DESTDIR}/usr/local/easea/bin/easea" AND - NOT IS_SYMLINK "$ENV{DESTDIR}/usr/local/easea/bin/easea") - file(RPATH_CHECK - FILE "$ENV{DESTDIR}/usr/local/easea/bin/easea" - RPATH "") - endif() list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES "/usr/local/easea/bin/easea") if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION) @@ -48,12 +42,6 @@ if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspeci message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}") endif() file(INSTALL DESTINATION "/usr/local/easea/bin" TYPE EXECUTABLE FILES "/home/anna/Documents/EASEA/GITHUB/easea/easea") - if(EXISTS "$ENV{DESTDIR}/usr/local/easea/bin/easea" AND - NOT IS_SYMLINK "$ENV{DESTDIR}/usr/local/easea/bin/easea") - if(CMAKE_INSTALL_DO_STRIP) - execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}/usr/local/easea/bin/easea") - endif() - endif() endif() if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified") diff --git a/libeasea/CEvolutionaryAlgorithm.cpp b/libeasea/CEvolutionaryAlgorithm.cpp index cd3f279..90f79a1 100644 --- a/libeasea/CEvolutionaryAlgorithm.cpp +++ b/libeasea/CEvolutionaryAlgorithm.cpp @@ -28,9 +28,12 @@ #include "include/global.h" #include "include/CComUDPLayer.h" #include "include/CRandomGenerator.h" +#include "include/CLogger.h" #include #include +#include #include +#include //#define INSTRUMENTED #ifdef INSTRUMENTED @@ -93,10 +96,39 @@ extern bool INSTEAD_EVAL_STEP; /***** * REAL CONSTRUCTOR */ +sig_atomic_t volatile done = 1; +void childHandler(int signum) +{ + pid_t w; + int status; + ostringstream ss; + + while((w=waitpid(-1, &status, WNOHANG))>0) + { + if(WIFEXITED(status)){ + ss << "Display process catched exiting signal and was stopped" << std::endl; + LOG_MSG(msgType::WARNING, ss.str()); + done = 0; + } + else if (WIFSIGNALED(status)){ + ss << "Display process catched terminating signal and was stopped" << std::endl; + LOG_MSG(msgType::WARNING, ss.str()); + done = 0; + } + else if (WIFSTOPPED(status)){ + ss << "Display process catched stopping signal and was stopped" << std::endl; + LOG_MSG(msgType::WARNING, ss.str()); + done = 0; + } + +}//!WIFEXITED(status) && !WIFSIGNALED(status)); + +} + CEvolutionaryAlgorithm::CEvolutionaryAlgorithm(Parameters* params){ this->params = params; this->cstats = new CStats(); - +signal(SIGCHLD, childHandler); CPopulation::initPopulation(params->selectionOperator,params->replacementOperator,params->parentReductionOperator,params->offspringReductionOperator, params->selectionPressure,params->replacementPressure,params->parentReductionPressure,params->offspringReductionPressure); @@ -169,10 +201,12 @@ void CEvolutionaryAlgorithm::addStoppingCriterion(CStoppingCriterion* sc){ /* MAIN FUNCTION TO RUN THE EVOLUTIONARY LOOP */ void CEvolutionaryAlgorithm::runEvolutionaryLoop(){ CIndividual** elitistPopulation = NULL; - + #ifdef WIN32 + clock_t begin(clock()); #else + struct timeval begin; gettimeofday(&begin,0); #endif @@ -229,6 +263,11 @@ void CEvolutionaryAlgorithm::runEvolutionaryLoop(){ while( this->allCriteria() == false){ EASEABeginningGenerationFunction(this); + if (done == 0){ + delete this->grapher; + this->params->plotStats = 0; + done = 1; + } // Sending individuals if remote island model if(params->remoteIslandModel && this->numberOfClients>0) -- GitLab