XhstormR


On a dark desert highway Cool wind in my hair


构建 cmark

Updated on 2017-08-31

gcc

cmake

cmark

Step

D:\Work\Download\cmark-master>

type nul > PreLoad.cmake
echo set(CMAKE_GENERATOR "MinGW Makefiles" CACHE INTERNAL "" FORCE) > PreLoad.cmake
echo set(CMAKE_INSTALL_PREFIX "456" CACHE PATH "" FORCE) >> PreLoad.cmake

md 123 && cd 123 && cmake .. && mingw32-make && mingw32-make install

strip -sv -o 123.exe cmark.exe   #清除所有标记
objdump -p cmark.exe | more      #查看程序信息

Reference

TOP