blob: 8baf5a3f11c7e003cd609183f627a8536215f41d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
|