From 924e58aac3dcf69916daad41e38c5625d142e9be Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 20 Jun 2001 17:03:54 -0400 Subject: ENH: add CMakeSetup as a target --- Source/FLTKDialog/CMakeLists.txt | 2 +- Source/MFCDialog/CMakeLists.txt | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 Source/MFCDialog/CMakeLists.txt diff --git a/Source/FLTKDialog/CMakeLists.txt b/Source/FLTKDialog/CMakeLists.txt index 1c5e8c9..62bc6c9 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 0000000..e0a9938 --- /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) -- cgit v0.12