-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
7 lines (5 loc) · 4.27 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
cmake_minimum_required(VERSION 3.1)
project(EvANN)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -static -static-libgcc -static-libstdc++ -o")
set(SOURCE_FILES main.cpp NN/neuron.cpp NN/neuron.h GA/population.cpp GA/population.h Distributions/i_distribution.h Distributions/exponentialDistribution.cpp Distributions/exponentialDistribution.h NN/neuralNet.cpp NN/neuralNet.h "NN/Activation Functions/i_activationFunction.h" "NN/Activation Functions/sigmoidFunction.h" "NN/Activation Functions/linearFunction.h" FA/firefly.h FA/Strategies/i_fireflyStrategy.h FA/swarm.h FA/Strategies/neuralFireflyStrategy.cpp FA/Strategies/neuralFireflyStrategy.h ObjectiveFunctions/i_objectiveFunction.h FA/Strategies/strategies.h FA/fireflyFactory.cpp FA/fireflyFactory.h FA/firefly.cpp FA/swarm.cpp ObjectiveFunctions/neuralWessingerEvaluator.cpp ObjectiveFunctions/neuralWessingerEvaluator.h ObjectiveFunctions/objectiveFunctions.h GA/individual.h GA/Selectors/ScalingFunctions/i_scalingFunction.h GA/Selectors/i_selector.h GA/Selectors/ScalingFunctions/normalizedSimpleMaximizationScalingFunction.cpp GA/Selectors/ScalingFunctions/normalizedSimpleMaximizationScalingFunction.h GA/Selectors/rouletteWheelSelector.cpp GA/Selectors/rouletteWheelSelector.h GA/Selectors/ScalingFunctions/scalingFunctions.h GA/Selectors/selectors.h GA/individualsFactory.cpp GA/individualsFactory.h GA/Strategies/i_strategy.h GA/Strategies/neuralIndividualStrategy.cpp GA/Strategies/neuralIndividualStrategy.h GA/Strategies/strategies.h Distributions/distributions.h GA/individual.cpp GA/Selectors/ScalingFunctions/errorBasedProgressingScalingFunction.cpp GA/Selectors/ScalingFunctions/errorBasedProgressingScalingFunction.h GA/Selectors/elitismSelector.h GA/Selectors/elitismSelector.cpp ObjectiveFunctions/alternativeNeuralWessingerEvaluator.cpp ObjectiveFunctions/alternativeNeuralWessingerEvaluator.h ObjectiveFunctions/Normalizers/i_normalizer.h ObjectiveFunctions/Normalizers/basicNormalizer.cpp ObjectiveFunctions/Normalizers/basicNormalizer.h ObjectiveFunctions/Normalizers/boundedNormalizer.cpp ObjectiveFunctions/Normalizers/boundedNormalizer.h ObjectiveFunctions/Normalizers/logNormalizer.cpp ObjectiveFunctions/Normalizers/logNormalizer.h ObjectiveFunctions/Normalizers/boundedLogNormalizer.cpp ObjectiveFunctions/Normalizers/boundedLogNormalizer.h FA/Strategies/rssRollFireflyStrategy.cpp FA/Strategies/rssRollFireflyStrategy.h GA/Strategies/rssBounceIndividualStrategy.cpp GA/Strategies/rssBounceIndividualStrategy.h GA/Strategies/rssRollIndividualStrategy.cpp GA/Strategies/rssRollIndividualStrategy.h FA/Strategies/rssBounceFireflyStrategy.h FA/Strategies/rssBounceFireflyStrategy.cpp)
add_executable(GenEvANN ${SOURCE_FILES} NN/neuron.cpp NN/neuron.h GA/population.cpp GA/population.h Distributions/i_distribution.h Distributions/exponentialDistribution.cpp Distributions/exponentialDistribution.h NN/neuralNet.cpp NN/neuralNet.h "NN/Activation Functions/i_activationFunction.h" "NN/Activation Functions/sigmoidFunction.h" "NN/Activation Functions/linearFunction.h" FA/firefly.h FA/Strategies/i_fireflyStrategy.h FA/swarm.h FA/Strategies/neuralFireflyStrategy.cpp FA/Strategies/neuralFireflyStrategy.h ObjectiveFunctions/i_objectiveFunction.h FA/Strategies/strategies.h FA/fireflyFactory.cpp FA/fireflyFactory.h FA/firefly.cpp FA/swarm.cpp ObjectiveFunctions/neuralWessingerEvaluator.cpp ObjectiveFunctions/neuralWessingerEvaluator.h ObjectiveFunctions/objectiveFunctions.h GA/individual.h GA/Selectors/ScalingFunctions/i_scalingFunction.h GA/Selectors/i_selector.h GA/Selectors/ScalingFunctions/normalizedSimpleMaximizationScalingFunction.cpp GA/Selectors/ScalingFunctions/normalizedSimpleMaximizationScalingFunction.h GA/Selectors/rouletteWheelSelector.cpp GA/Selectors/rouletteWheelSelector.h GA/Selectors/ScalingFunctions/scalingFunctions.h GA/Selectors/selectors.h GA/individualsFactory.cpp GA/individualsFactory.h GA/Strategies/i_strategy.h GA/Strategies/neuralIndividualStrategy.cpp GA/Strategies/neuralIndividualStrategy.h Distributions/distributions.h GA/Selectors/ScalingFunctions/errorBasedProgressingScalingFunction.cpp GA/Selectors/ScalingFunctions/errorBasedProgressingScalingFunction.h GA/Selectors/elitismSelector.h GA/Selectors/elitismSelector.cpp ObjectiveFunctions/alternativeNeuralWessingerEvaluator.cpp ObjectiveFunctions/alternativeNeuralWessingerEvaluator.h)