mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Updated build for MSVS. Some compile fixes to FuzzyLite source.
This commit is contained in:
parent
8bf413e0c5
commit
c87f2cdaaf
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<ItemGroup Label="ProjectConfigurations">
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
<ProjectConfiguration Include="Debug|Win32">
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
@ -19,44 +19,172 @@
|
|||||||
</ProjectConfiguration>
|
</ProjectConfiguration>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="AreaCentroidAlgorithm.cpp" />
|
<ClInclude Include="fuzzylite\fl\Console.h" />
|
||||||
<ClCompile Include="CompoundTerm.cpp" />
|
<ClInclude Include="fuzzylite\fl\defuzzifier\Bisector.h" />
|
||||||
<ClCompile Include="DescriptiveAntecedent.cpp" />
|
<ClInclude Include="fuzzylite\fl\defuzzifier\Centroid.h" />
|
||||||
<ClCompile Include="DiscreteTerm.cpp" />
|
<ClInclude Include="fuzzylite\fl\defuzzifier\Defuzzifier.h" />
|
||||||
<ClCompile Include="FunctionTerm.cpp" />
|
<ClInclude Include="fuzzylite\fl\defuzzifier\IntegralDefuzzifier.h" />
|
||||||
<ClCompile Include="FuzzyAnd.cpp" />
|
<ClInclude Include="fuzzylite\fl\defuzzifier\LargestOfMaximum.h" />
|
||||||
<ClCompile Include="FuzzyAntecedent.cpp" />
|
<ClInclude Include="fuzzylite\fl\defuzzifier\MeanOfMaximum.h" />
|
||||||
<ClCompile Include="FuzzyConsequent.cpp" />
|
<ClInclude Include="fuzzylite\fl\defuzzifier\SmallestOfMaximum.h" />
|
||||||
<ClCompile Include="FuzzyDefuzzifier.cpp" />
|
<ClInclude Include="fuzzylite\fl\defuzzifier\WeightedAverage.h" />
|
||||||
<ClCompile Include="FuzzyEngine.cpp" />
|
<ClInclude Include="fuzzylite\fl\defuzzifier\WeightedDefuzzifier.h" />
|
||||||
<ClCompile Include="FuzzyException.cpp" />
|
<ClInclude Include="fuzzylite\fl\defuzzifier\WeightedSum.h" />
|
||||||
<ClCompile Include="FuzzyExceptions.cpp" />
|
<ClInclude Include="fuzzylite\fl\Engine.h" />
|
||||||
<ClCompile Include="FuzzyModulation.cpp" />
|
<ClInclude Include="fuzzylite\fl\Exception.h" />
|
||||||
<ClCompile Include="FuzzyOperation.cpp" />
|
<ClInclude Include="fuzzylite\fl\factory\CloningFactory.h" />
|
||||||
<ClCompile Include="FuzzyOperator.cpp" />
|
<ClInclude Include="fuzzylite\fl\factory\ConstructionFactory.h" />
|
||||||
<ClCompile Include="FuzzyOr.cpp" />
|
<ClInclude Include="fuzzylite\fl\factory\DefuzzifierFactory.h" />
|
||||||
<ClCompile Include="FuzzyRule.cpp" />
|
<ClInclude Include="fuzzylite\fl\factory\FactoryManager.h" />
|
||||||
<ClCompile Include="Hedge.cpp" />
|
<ClInclude Include="fuzzylite\fl\factory\FunctionFactory.h" />
|
||||||
<ClCompile Include="HedgeSet.cpp" />
|
<ClInclude Include="fuzzylite\fl\factory\HedgeFactory.h" />
|
||||||
<ClCompile Include="InfixToPostfix.cpp" />
|
<ClInclude Include="fuzzylite\fl\factory\SNormFactory.h" />
|
||||||
<ClCompile Include="InputLVar.cpp" />
|
<ClInclude Include="fuzzylite\fl\factory\TermFactory.h" />
|
||||||
<ClCompile Include="LinguisticTerm.cpp" />
|
<ClInclude Include="fuzzylite\fl\factory\TNormFactory.h" />
|
||||||
<ClCompile Include="LinguisticVariable.cpp" />
|
<ClInclude Include="fuzzylite\fl\fuzzylite.h" />
|
||||||
<ClCompile Include="main.cpp" />
|
<ClInclude Include="fuzzylite\fl\Headers.h" />
|
||||||
<ClCompile Include="MamdaniConsequent.cpp" />
|
<ClInclude Include="fuzzylite\fl\hedge\Any.h" />
|
||||||
<ClCompile Include="MamdaniRule.cpp" />
|
<ClInclude Include="fuzzylite\fl\hedge\Extremely.h" />
|
||||||
<ClCompile Include="OutputLVar.cpp" />
|
<ClInclude Include="fuzzylite\fl\hedge\Hedge.h" />
|
||||||
<ClCompile Include="RectangularTerm.cpp" />
|
<ClInclude Include="fuzzylite\fl\hedge\Not.h" />
|
||||||
<ClCompile Include="RuleBlock.cpp" />
|
<ClInclude Include="fuzzylite\fl\hedge\Seldom.h" />
|
||||||
<ClCompile Include="ShoulderTerm.cpp" />
|
<ClInclude Include="fuzzylite\fl\hedge\Somewhat.h" />
|
||||||
<ClCompile Include="SingletonTerm.cpp" />
|
<ClInclude Include="fuzzylite\fl\hedge\Very.h" />
|
||||||
<ClCompile Include="StrOp.cpp" />
|
<ClInclude Include="fuzzylite\fl\imex\CppExporter.h" />
|
||||||
<ClCompile Include="TakagiSugenoConsequent.cpp" />
|
<ClInclude Include="fuzzylite\fl\imex\Exporter.h" />
|
||||||
<ClCompile Include="TakagiSugenoRule.cpp" />
|
<ClInclude Include="fuzzylite\fl\imex\FclExporter.h" />
|
||||||
<ClCompile Include="TakagiSugenoTerm.cpp" />
|
<ClInclude Include="fuzzylite\fl\imex\FclImporter.h" />
|
||||||
<ClCompile Include="test.cpp" />
|
<ClInclude Include="fuzzylite\fl\imex\FisExporter.h" />
|
||||||
<ClCompile Include="TrapezoidalTerm.cpp" />
|
<ClInclude Include="fuzzylite\fl\imex\FisImporter.h" />
|
||||||
<ClCompile Include="TriangularTerm.cpp" />
|
<ClInclude Include="fuzzylite\fl\imex\FldExporter.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\imex\FllExporter.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\imex\FllImporter.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\imex\Importer.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\imex\JavaExporter.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\norm\SNorm.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\norm\TNorm.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\Operation.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\rule\Antecedent.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\rule\Consequent.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\rule\Expression.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\rule\Rule.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\rule\RuleBlock.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\term\Accumulated.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\term\Activated.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\term\Bell.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\term\Concave.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\term\Constant.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\term\Cosine.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\term\Discrete.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\term\Function.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\term\Gaussian.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\term\GaussianProduct.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\term\Linear.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\term\PiShape.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\term\Ramp.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\term\Rectangle.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\term\Sigmoid.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\term\SigmoidDifference.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\term\SigmoidProduct.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\term\Spike.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\term\SShape.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\term\Term.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\term\Trapezoid.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\term\Triangle.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\term\ZShape.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\variable\InputVariable.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\variable\OutputVariable.h" />
|
||||||
|
<ClInclude Include="fuzzylite\fl\variable\Variable.h" />
|
||||||
|
<ClInclude Include="StdInc.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="fuzzylite\src\Console.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\defuzzifier\Bisector.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\defuzzifier\Centroid.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\defuzzifier\IntegralDefuzzifier.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\defuzzifier\LargestOfMaximum.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\defuzzifier\MeanOfMaximum.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\defuzzifier\SmallestOfMaximum.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\defuzzifier\WeightedAverage.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\defuzzifier\WeightedDefuzzifier.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\defuzzifier\WeightedSum.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\Engine.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\Exception.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\factory\CloningFactory.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\factory\ConstructionFactory.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\factory\DefuzzifierFactory.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\factory\FactoryManager.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\factory\FunctionFactory.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\factory\HedgeFactory.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\factory\SNormFactory.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\factory\TermFactory.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\factory\TNormFactory.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\fuzzylite.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\hedge\Any.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\hedge\Extremely.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\hedge\Not.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\hedge\Seldom.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\hedge\Somewhat.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\hedge\Very.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\imex\CppExporter.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\imex\Exporter.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\imex\FclExporter.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\imex\FclImporter.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\imex\FisExporter.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\imex\FisImporter.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\imex\FldExporter.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\imex\FllExporter.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\imex\FllImporter.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\imex\Importer.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\imex\JavaExporter.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\main.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\norm\s\AlgebraicSum.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\norm\s\BoundedSum.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\norm\s\DrasticSum.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\norm\s\EinsteinSum.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\norm\s\HamacherSum.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\norm\s\Maximum.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\norm\s\NilpotentMaximum.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\norm\s\NormalizedSum.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\norm\t\AlgebraicProduct.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\norm\t\BoundedDifference.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\norm\t\DrasticProduct.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\norm\t\EinsteinProduct.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\norm\t\HamacherProduct.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\norm\t\Minimum.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\norm\t\NilpotentMinimum.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\Operation.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\rule\Antecedent.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\rule\Consequent.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\rule\Expression.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\rule\Rule.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\rule\RuleBlock.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\term\Accumulated.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\term\Activated.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\term\Bell.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\term\Concave.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\term\Constant.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\term\Cosine.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\term\Discrete.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\term\Function.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\term\Gaussian.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\term\GaussianProduct.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\term\Linear.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\term\PiShape.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\term\Ramp.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\term\Rectangle.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\term\Sigmoid.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\term\SigmoidDifference.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\term\SigmoidProduct.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\term\Spike.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\term\SShape.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\term\Term.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\term\Trapezoid.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\term\Triangle.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\term\ZShape.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\variable\InputVariable.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\variable\OutputVariable.cpp" />
|
||||||
|
<ClCompile Include="fuzzylite\src\variable\Variable.cpp" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<PropertyGroup Label="Globals">
|
<PropertyGroup Label="Globals">
|
||||||
<ProjectGuid>{D15B34EC-A32C-4968-9B0B-66998B579364}</ProjectGuid>
|
<ProjectGuid>{D15B34EC-A32C-4968-9B0B-66998B579364}</ProjectGuid>
|
||||||
@ -141,6 +269,9 @@
|
|||||||
<AdditionalLibraryDirectories>$(OutDir)..;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>$(OutDir)..;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
<OutputFile>$(OutDir)FuzzyLite.dll</OutputFile>
|
<OutputFile>$(OutDir)FuzzyLite.dll</OutputFile>
|
||||||
</Link>
|
</Link>
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>./fuzzylite;.</AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<ClCompile />
|
<ClCompile />
|
||||||
@ -161,6 +292,11 @@
|
|||||||
<AdditionalLibraryDirectories>$(OutDir)..;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>$(OutDir)..;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
<OutputFile>$(OutDir)FuzzyLite.dll</OutputFile>
|
<OutputFile>$(OutDir)FuzzyLite.dll</OutputFile>
|
||||||
</Link>
|
</Link>
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>./fuzzylite;.</AdditionalIncludeDirectories>
|
||||||
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
|
<PrecompiledHeaderFile>StdInc.h</PrecompiledHeaderFile>
|
||||||
|
</ClCompile>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='RD|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='RD|x64'">
|
||||||
<ClCompile />
|
<ClCompile />
|
||||||
|
@ -14,7 +14,7 @@ add_definitions(-DFL_BUILD_PATH="${CMAKE_SOURCE_DIR}") #used to determine FL__FI
|
|||||||
|
|
||||||
option(FL_USE_FLOAT "Use fl::scalar as float" OFF)
|
option(FL_USE_FLOAT "Use fl::scalar as float" OFF)
|
||||||
option(FL_BACKTRACE "Provide backtrace information in case of errors" OFF)
|
option(FL_BACKTRACE "Provide backtrace information in case of errors" OFF)
|
||||||
option(FL_CPP11 "Builds utilizing C++11, i.e., passing -std=c++11" ON)
|
option(FL_CPP11 "Builds utilizing C++11, i.e., passing -std=c++11" OFF)
|
||||||
|
|
||||||
if(FL_USE_FLOAT)
|
if(FL_USE_FLOAT)
|
||||||
add_definitions(-DFL_USE_FLOAT)
|
add_definitions(-DFL_USE_FLOAT)
|
||||||
@ -104,17 +104,11 @@ add_library(fl-shared SHARED ${fl-headers} ${fl-sources})
|
|||||||
set_target_properties(fl-shared PROPERTIES OUTPUT_NAME fuzzylite)
|
set_target_properties(fl-shared PROPERTIES OUTPUT_NAME fuzzylite)
|
||||||
set_target_properties(fl-shared PROPERTIES DEBUG_POSTFIX d)
|
set_target_properties(fl-shared PROPERTIES DEBUG_POSTFIX d)
|
||||||
set_target_properties(fl-shared PROPERTIES COMPILE_DEFINITIONS "FL_EXPORT_LIBRARY")
|
set_target_properties(fl-shared PROPERTIES COMPILE_DEFINITIONS "FL_EXPORT_LIBRARY")
|
||||||
if (UNIX)
|
|
||||||
set_target_properties(fl-shared PROPERTIES COMPILE_FLAGS "-fPIC")
|
|
||||||
endif()
|
|
||||||
target_link_libraries(fl-shared ${FL_LIBS})
|
target_link_libraries(fl-shared ${FL_LIBS})
|
||||||
|
|
||||||
add_library(fl-static STATIC ${fl-headers} ${fl-sources})
|
add_library(fl-static STATIC ${fl-headers} ${fl-sources})
|
||||||
set_target_properties(fl-static PROPERTIES OUTPUT_NAME fuzzylite-static)
|
set_target_properties(fl-static PROPERTIES OUTPUT_NAME fuzzylite-static)
|
||||||
set_target_properties(fl-static PROPERTIES DEBUG_POSTFIX d)
|
set_target_properties(fl-static PROPERTIES DEBUG_POSTFIX d)
|
||||||
if (UNIX)
|
|
||||||
set_target_properties(fl-static PROPERTIES COMPILE_FLAGS "-fPIC")
|
|
||||||
endif()
|
|
||||||
target_link_libraries(fl-static ${FL_LIBS})
|
target_link_libraries(fl-static ${FL_LIBS})
|
||||||
|
|
||||||
add_executable(fl-bin src/main.cpp)
|
add_executable(fl-bin src/main.cpp)
|
||||||
|
@ -30,6 +30,8 @@
|
|||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
#include "../../Global.h"
|
||||||
|
#include <iso646.h>
|
||||||
|
|
||||||
#ifndef FL_VERSION
|
#ifndef FL_VERSION
|
||||||
#define FL_VERSION "?"
|
#define FL_VERSION "?"
|
||||||
|
@ -531,7 +531,7 @@ namespace fl {
|
|||||||
if (token.size() != 2) {
|
if (token.size() != 2) {
|
||||||
std::ostringstream ex;
|
std::ostringstream ex;
|
||||||
ex << "[syntax error] expected property of type 'start .. end', "
|
ex << "[syntax error] expected property of type 'start .. end', "
|
||||||
<< "but found <" << range << "> in line: " << line;
|
<< "but found <" << range.str() << "> in line: " << line;
|
||||||
throw fl::Exception(ex.str(), FL_AT);
|
throw fl::Exception(ex.str(), FL_AT);
|
||||||
}
|
}
|
||||||
scalar minimum, maximum;
|
scalar minimum, maximum;
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#include "StdInc.h"
|
#include "StdInc.h"
|
||||||
#include "Fuzzy.h"
|
#include "Fuzzy.h"
|
||||||
|
#include "src/Engine.cpp"
|
||||||
|
#include "src/Operation.cpp"
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
|
||||||
#include "../../lib/mapObjects/MapObjects.h"
|
#include "../../lib/mapObjects/MapObjects.h"
|
||||||
|
@ -87,8 +87,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(FUZZYLITEDIR)</AdditionalIncludeDirectories>
|
||||||
</AdditionalIncludeDirectories>
|
|
||||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
<PrecompiledHeaderFile>StdInc.h</PrecompiledHeaderFile>
|
<PrecompiledHeaderFile>StdInc.h</PrecompiledHeaderFile>
|
||||||
<AdditionalOptions>/Zm210 %(AdditionalOptions)</AdditionalOptions>
|
<AdditionalOptions>/Zm210 %(AdditionalOptions)</AdditionalOptions>
|
||||||
@ -113,8 +112,7 @@
|
|||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='RD|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='RD|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(FUZZYLITEDIR)</AdditionalIncludeDirectories>
|
||||||
</AdditionalIncludeDirectories>
|
|
||||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
<PrecompiledHeaderFile>StdInc.h</PrecompiledHeaderFile>
|
<PrecompiledHeaderFile>StdInc.h</PrecompiledHeaderFile>
|
||||||
<AdditionalOptions>/Zm199 %(AdditionalOptions)</AdditionalOptions>
|
<AdditionalOptions>/Zm199 %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
Loading…
Reference in New Issue
Block a user