From 6ce553563bc795f389f639a3a8cdfe356de71441 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Sun, 27 Jan 2019 13:56:24 +0100 Subject: new upstream version 6.0 --- examples/application/compile.bat | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 examples/application/compile.bat (limited to 'examples/application/compile.bat') diff --git a/examples/application/compile.bat b/examples/application/compile.bat new file mode 100644 index 0000000..8baf5a3 --- /dev/null +++ b/examples/application/compile.bat @@ -0,0 +1,24 @@ +FL_HOME="../../fuzzylite/" + +rem Static Linking +rem -------------- +rem For C++11 +cl.exe src/main.cpp %FL_HOME%/release/bin/fuzzylite-static.lib /I%FL_HOME% /EHsc /MD + +rem For C++98 +cl.exe src/main.cpp %FL_HOME%/release/bin/fuzzylite-static.lib /I%FL_HOME% /DFL_CPP98=ON /EHsc /MD + + +rem Dynamic Linking +rem --------------- +rem For C++11 +rem For C++11 +cl.exe src/main.cpp %FL_HOME%/release/bin/fuzzylite-static.lib /I%FL_HOME% /DFL_IMPORT_LIBRARY /EHsc /MD + +rem For C++98 +cl.exe src/main.cpp %FL_HOME%/release/bin/fuzzylite-static.lib /I%FL_HOME% /DFL_CPP98=ON /DFL_IMPORT_LIBRARY /EHsc /MD + +rem Note: when using dynamic linking, the path to fuzzylite libraries must be specified. For example, run from console the following: + +set PATH="%FL_HOME%\release\bin;%PATH%" +example-dynamic-11.exe -- cgit v1.2.3