summaryrefslogtreecommitdiff
path: root/examples/application/compile.bat
diff options
context:
space:
mode:
authorJohannes 'josch' Schauer <josch@debian.org>2019-01-27 13:56:24 +0100
committerJohannes 'josch' Schauer <josch@debian.org>2019-01-27 13:56:33 +0100
commit6ce553563bc795f389f639a3a8cdfe356de71441 (patch)
treeda4c9ede3087ca534d93bc1ac5a14f044f036600 /examples/application/compile.bat
parentbbefa170378553e5a6e0d72e4d52328b61f3e8ac (diff)
new upstream version 6.0
Diffstat (limited to 'examples/application/compile.bat')
-rw-r--r--examples/application/compile.bat24
1 files changed, 24 insertions, 0 deletions
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