mirror of
https://github.com/reactos/CMake.git
synced 2024-11-29 06:20:23 +00:00
26 lines
543 B
CMake
26 lines
543 B
CMake
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)
|
|
|
|
# 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)
|
|
|
|
ADD_EXECUTABLE(CMakeSetup WIN32 ${SRCS})
|
|
TARGET_LINK_LIBRARIES(CMakeSetup CMakeLib)
|
|
ADD_DEPENDENCIES(CMakeSetup cmake)
|
|
INSTALL_TARGETS(/bin CMakeSetup)
|