2002-04-22 19:49:40 +04:00
|
|
|
SET( SRCS
|
2004-01-27 20:37:30 +03:00
|
|
|
CMakeSetup.cpp
|
|
|
|
MakeHelp.cpp
|
|
|
|
CMakeSetup.rc
|
|
|
|
CMakeSetupDialog.cpp
|
|
|
|
PathDialog.cpp
|
|
|
|
PropertyList.cpp
|
|
|
|
StdAfx.cpp
|
|
|
|
CMakeCommandLineInfo.cpp
|
2001-06-21 01:03:54 +04:00
|
|
|
)
|
|
|
|
|
|
|
|
# add stuff to use MFC in this executable
|
|
|
|
ADD_DEFINITIONS(-D_AFXDLL)
|
2004-04-28 21:40:58 +04:00
|
|
|
|
|
|
|
# Use of CMAKE_MFC_FLAG
|
|
|
|
# Values:
|
|
|
|
# 0: Use Standard Windows Libraries
|
|
|
|
# 1: Use MFC in a Static Library
|
|
|
|
# 2: Use MFC in a Shared DLL
|
|
|
|
SET(CMAKE_MFC_FLAG 2)
|
2001-06-21 01:03:54 +04:00
|
|
|
|
2002-04-22 19:49:40 +04:00
|
|
|
ADD_EXECUTABLE(CMakeSetup WIN32 ${SRCS})
|
2002-08-21 20:02:32 +04:00
|
|
|
TARGET_LINK_LIBRARIES(CMakeSetup CMakeLib)
|
2001-06-26 21:23:55 +04:00
|
|
|
ADD_DEPENDENCIES(CMakeSetup cmake)
|
2004-01-27 20:37:30 +03:00
|
|
|
INSTALL_TARGETS(/bin CMakeSetup)
|