CMake/Source/MFCDialog/CMakeLists.txt

26 lines
543 B
CMake
Raw Normal View History

2002-04-22 19:49:40 +04:00
SET( SRCS
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)
# 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)
ADD_DEPENDENCIES(CMakeSetup cmake)
INSTALL_TARGETS(/bin CMakeSetup)