summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-06-20 17:03:54 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2001-06-20 17:03:54 -0400
commit924e58aac3dcf69916daad41e38c5625d142e9be (patch)
tree21ceff6db479d3edeecdd9b61e2564ad51976f63 /Source
parent339bdd47b584a7e273bd488e21d95d241be3baaa (diff)
downloadcmake-924e58aac3dcf69916daad41e38c5625d142e9be.tar.gz
ENH: add CMakeSetup as a target
Diffstat (limited to 'Source')
-rw-r--r--Source/FLTKDialog/CMakeLists.txt2
-rw-r--r--Source/MFCDialog/CMakeLists.txt16
2 files changed, 17 insertions, 1 deletions
diff --git a/Source/FLTKDialog/CMakeLists.txt b/Source/FLTKDialog/CMakeLists.txt
index 1c5e8c9b75..62bc6c9102 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 0000000000..e0a99388b3
--- /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)