File: compile.bat

package info (click to toggle)
fuzzylite 6.0%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,420 kB
  • sloc: cpp: 25,880; java: 1,370; sh: 85; xml: 12; makefile: 10
file content (24 lines) | stat: -rw-r--r-- 791 bytes parent folder | download | duplicates (4)
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