[Cmake] Bootstrapping cmake and MFC

Bill Hoffman bill . hoffman at kitware . com
Wed, 20 Jun 2001 16:41:53 -0400


You can now bootstrap cmake for all builds including the MFC GUI.
As a side effect, you can now build MFC applications.
To support MFC, add the following into a CMakeLists.txt file:

ADD_DEFINITIONS(-D_AFXDLL)
SET(CMAKE_MFC_FLAG 6)


-Bill