summaryrefslogtreecommitdiffstats
path: root/Source/MFCDialog/CMakeLists.txt
blob: c23a3bb53a268cb666b847e9f07786a7298fc98f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SET( SRCS 
  CMakeSetup.cpp
  MakeHelp.cpp
  CMakeSetup.rc
  CMakeSetupDialog.cpp
  PathDialog.cpp
  PropertyList.cpp
  StdAfx.cpp
  CMakeCommandLineInfo.cpp
)

# add stuff to use MFC in this executable
ADD_DEFINITIONS(-D_AFXDLL)
SET(CMAKE_MFC_FLAG 6)

ADD_EXECUTABLE(CMakeSetup WIN32 ${SRCS})
TARGET_LINK_LIBRARIES(CMakeSetup CMakeLib)
ADD_DEPENDENCIES(CMakeSetup cmake)
INSTALL_TARGETS(/bin CMakeSetup)