--------------------Configuration: test - Win32 Debug--------------------
Compiling...
math.cpp
d:\develop\test\math.cpp(94) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Error executing cl.exe.test.dll - 1 error(s), 0 warning(s)
谢谢
Compiling...
math.cpp
d:\develop\test\math.cpp(94) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Error executing cl.exe.test.dll - 1 error(s), 0 warning(s)
谢谢
使用自定义build,选中之后出现custom build选项卡
Exclude file from build
选中之后,该文件不参加编译楼主的问题可能是没在math.cpp中加include "stdafx.h"