1FL_HOME="../../fuzzylite/"
2
3rem Static Linking
4rem --------------
5rem For C++11
6cl.exe src/main.cpp %FL_HOME%/release/bin/fuzzylite-static.lib /I%FL_HOME% /EHsc /MD
7
8rem For C++98
9cl.exe src/main.cpp %FL_HOME%/release/bin/fuzzylite-static.lib /I%FL_HOME% /DFL_CPP98=ON /EHsc /MD
10
11
12rem Dynamic Linking
13rem ---------------
14rem For C++11
15rem For C++11
16cl.exe src/main.cpp %FL_HOME%/release/bin/fuzzylite-static.lib /I%FL_HOME% /DFL_IMPORT_LIBRARY /EHsc /MD
17
18rem For C++98
19cl.exe src/main.cpp %FL_HOME%/release/bin/fuzzylite-static.lib /I%FL_HOME% /DFL_CPP98=ON /DFL_IMPORT_LIBRARY /EHsc /MD
20
21rem Note: when using dynamic linking, the path to fuzzylite libraries must be specified. For example, run from console the following:
22
23set PATH="%FL_HOME%\release\bin;%PATH%"
24example-dynamic-11.exe
25