1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
SOURCE_FILES(SRCS CMakeSetup.cpp CMakeSetup.rc CMakeSetupDialog.cpp PathDialog.cpp PropertyList.cpp StdAfx.cpp res/CMakeSetupDialog.ico res/CMakeSetupDialog.rc2 ) # add stuff to use MFC in this executable ADD_DEFINITIONS(-D_AFXDLL) SET(CMAKE_MFC_FLAG 6) ADD_EXECUTABLE(CMakeSetup WIN32 SRCS)