DynamoRIO/dynamorio
make/modules/FindMFCUnicode.cmake
:139
try_compile(MFC_HAVE_MFC
${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckIncludeFile.cxx
CMAKE_FLAGS
# XXX(bruening): this requests shared libs while we build DRstats with
# static. But, this try_compile() appends some default flags with /MDd
# *after* what I put here so I can't pass 1 here and /MT (grrr).
-DCMAKE_MFC_FLAG:STRING=2
# XXX(bruening): we have our own variant of the standard FindMFC.cmake
# so we can pass -D_UNICODE, as MBCS MFC support is not part of VS2013.
COMPILE_DEFINITIONS -D_AFXDLL -D_UNICODE
OUTPUT_VARIABLE OUTPUT)