env

CC=g++
CFLAG=-c\ -O2\ -W\ -fPIC\ -g

LNK=g++
EXFLAG=-fno-pie
DLFLAG=-shared

LB=ar
LBFLAG=rcs

L=-L
l=-l
o=-o




set path=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build;%path%
set path=%VS120COMNTOOLS%..\..\vc;%path%
call vcvarsall.bat

rem amd64
set CC=cl
set CFLAG=-c -O2 -W3 -Zi -GR -EHsc -nologo -MDd

set LNK=link
set EXFLAG=-nologo
set DLFLAG=-dll -nologo -debug

set LB=lib
set LBFLAG=-nologo

set L=-libpath:
set l=
set o=-out:

posted @ 2022-08-12 10:49  zJanly  阅读(86)  评论(0编辑  收藏  举报