diff --git a/Source/FLTKDialog/CMakeLists.txt b/Source/FLTKDialog/CMakeLists.txt index 1c5e8c9b7..62bc6c910 100644 --- a/Source/FLTKDialog/CMakeLists.txt +++ b/Source/FLTKDialog/CMakeLists.txt @@ -23,5 +23,5 @@ ENDIF(UNIX) INCLUDE_DIRECTORIES(${FLTK_INCLUDE_PATH}) -ADD_EXECUTABLE(CMakeSetupDialog SRCS) +ADD_EXECUTABLE(CMakeSetup SRCS) diff --git a/Source/MFCDialog/CMakeLists.txt b/Source/MFCDialog/CMakeLists.txt new file mode 100644 index 000000000..e0a99388b --- /dev/null +++ b/Source/MFCDialog/CMakeLists.txt @@ -0,0 +1,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)