1 Star 0 Fork 0

Accelerator/mexopts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
mingw64.xml 3.96 KB
一键复制 编辑 原始数据 按行查看 历史
ligen 提交于 2021-01-18 10:25 . Add files via upload
<?xml version="1.0" encoding="UTF-8" ?>
<config
Name="MinGW64 Compiler (C)"
ShortName = "mingw64"
Manufacturer="GNU"
Version="6.3.0"
Language="C"
Priority="E"
Location="$MINGWROOT" >
<Details
CompilerExecutable="$CC"
CompilerDefines="$DEFINES"
CompilerFlags="$CFLAGS"
OptimizationFlags="$COPTIMFLAGS"
DebugFlags="$CDEBUGFLAGS"
IncludeFlags="$INCLUDE"
LinkerExecutable="$LD"
LinkerFlags="$LDFLAGS"
LinkerLibraries="$LINKLIBS"
LinkerOptimizationFlags="$LDOPTIMFLAGS"
LinkerDebugFlags="$LDDEBUGFLAGS"
CommandLineShell="set MINGW_ROOT_PATH=$MINGWROOT"
CommandLineShellArg=""
CompilerDefineFormatter="-D%s"
LinkerLibrarySwitchFormatter="-l%s;-llib%s"
LinkerPathFormatter="-L%s"
LibrarySearchPath="$$LIB;$$LIBPATH;$$PATH;$$INCLUDE;$MATLABROOT\extern\lib\$ARCH\mingw64"
/>
<vars
CMDLINE1="$CC -c $DEFINES $INCLUDE $CFLAGS $OPTIM $SRC -o $OBJ"
CMDLINE2="$LD $LDFLAGS $LDTYPE $LINKOPTIM $LINKEXPORTVER $OBJS $CLIBS $LINKLIBS -o $EXE"
CC="$MINGWROOT\bin\gcc"
COMPILER="$CC"
DEFINES="-m64 $MATLABMEX"
MATLABMEX="-DMATLAB_MEX_FILE "
CFLAGS="-fexceptions -fno-omit-frame-pointer"
INCLUDE="-I&quot;$MATLABROOT/extern/include&quot; -I&quot;$MATLABROOT/simulink/include&quot; -I&quot;$MATLABROOT/extern\lib\win64\mingw64&quot;"
COPTIMFLAGS="-O2 -fwrapv -DNDEBUG"
CDEBUGFLAGS="-g"
LD="$CC"
LINKER="$LD"
LDTYPE="-shared -static"
LDFLAGS="-m64 -Wl,--no-undefined"
LINKEXPORT="-Wl,&quot;$MATLABROOT/extern/lib/win64/mingw64/mexFunction.def&quot;"
LINKEXPORTVER="-Wl,&quot;$MATLABROOT/extern/lib/win64/mingw64/exportsmexfileversion.def&quot;"
LIBLOC="$MATLABROOT\extern\lib\win64\mingw64"
LINKLIBS="-L&quot;$MATLABROOT\extern\lib\$ARCH\mingw64&quot; -llibmx -llibmex -llibmat -lm -llibmwlapack -llibmwblas"
LDOPTIMFLAGS="-s"
LDDEBUGFLAGS="-g"
OBJEXT=".obj"
LDEXT=".mexw64"
SETENV="set COMPILER=$CC
set CXXCOMPILER=$MINGWROOT\bin\g++
set COMPFLAGS=-c $CFLAGS $DEFINES $MATLABMEX
set CXXCOMPFLAGS=-c $CFLAGS -std=c++11 $DEFINES $MATLABMEX
set OPTIMFLAGS=$COPTIMFLAGS
set DEBUGFLAGS=$CDEBUGFLAGS
set LINKER=$LD
set CXXLINKER=$MINGWROOT\bin\g++
set LINKFLAGS=$LDFLAGS $LDTYPE $LINKLIBS $LINKEXPORT
set LINKDEBUGFLAGS=$LDDEBUGFLAGS
set NAME_OUTPUT=-o &quot;%OUTDIR%%MEX_NAME%%MEX_EXT%&quot;"
/>
<client>
<engine
LINKLIBS="$LINKLIBS -llibeng"
LINKEXPORT=""
LINKEXPORTVER=""
LDEXT=".exe"
LINKTYPE=""
MATLABMEX=""
LDTYPE="-static"
/>
<mbuild
LINKLIBS="-L&quot;$MATLABROOT\extern\lib\$ARCH\mingw64&quot; -lmclmcrrt -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32"
LINKEXPORT=""
LINKEXPORTVER=""
LDEXT=".exe"
LDFLAGS="-m64 -Wl,--no-undefined,--out-implib,$LIB"
LINKTYPE=""
MATLABMEX=""
LDTYPE=""
INCLUDE="$INCLUDE -I&quot;$MATLABROOT\extern\include\$ARCH&quot;"
/>
</client>
<locationFinder>
<MINGWROOT>
<and>
<envVarExists name="MW_MINGW64_LOC" />
<fileExists name="$$\bin\gcc.exe" />
<dirExists name="$$\..\" />
</and>
</MINGWROOT>
</locationFinder>
<env
PATH = "$MINGWROOT\bin;$MATLABROOT\extern\include\$ARCH;$MATLABROOT\extern\include;$MATLABROOT\simulink\include;$MATLABROOT\lib\$ARCH"
INCLUDE = "$MINGWROOT\include;"
LIB = "$MINGWROOT\lib;"
MW_TARGET_ARCH = "win64"
LIBPATH="$MATLABROOT\extern\lib\win64"
/>
</config>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/accelerator_v8/mexopts.git
git@gitee.com:accelerator_v8/mexopts.git
accelerator_v8
mexopts
mexopts
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385