summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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)