File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4
4
set MYPROG = OCTLib_64
5
5
set EXCLUDE.1 = lin_regr
6
6
set EXCLUDE.2 = peak_width
7
+ set VS160COMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\
7
8
8
- @ call " %VS90COMNTOOLS % \..\..\VC\vcvarsall.bat" amd64
9
+ @ call " %VS160COMNTOOLS % \..\..\VC\Auxiliary\Build \vcvarsall.bat" amd64
9
10
10
11
echo .
11
12
12
13
@ for %%A in (*.cpp) do cl /O2 /favor:INTEL64 /EHsc /GL /GS- /fp:fast /Fo" ../bin/" /I" ../include/" /D " WIN64" /D " NDEBUG" /c /W4 /nologo /MT /openmp %%A
13
14
@ for /f " usebackq delims==. tokens=1-3" %%i in (`set EXCLUDE`) do del " ../bin/%%k .obj"
14
15
rc /i " ../include/" /d " NDEBUG" /d " WIN64" /l 0x409 /fo" ../bin/%MYPROG% .res" OCTLib.rc
15
16
link /DLL /NOASSEMBLY /LIBPATH:../lib libfftw3-3-x64.lib /OPT:REF /MACHINE:X64 /NOLOGO /LTCG /OUT:../bin/%MYPROG% .dll ../bin/*.obj ../bin/%MYPROG% .res
16
- mt -nologo -manifest " ../bin/%MYPROG% .dll.manifest" -outputresource:" ../bin/%MYPROG% .dll" ;2
17
- del " ../bin/*.obj" " ../bin/%MYPROG% .exp" " ../bin/%MYPROG% .res" " ../bin/%MYPROG% .dll.manifest"
17
+ del " ../bin/*.obj" " ../bin/%MYPROG% .exp" " ../bin/%MYPROG% .res"
18
18
19
19
echo %MYPROG% is compiled
You can’t perform that action at this time.
0 commit comments