diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-04-28 17:40:58 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-04-28 17:40:58 (GMT) |
commit | e34c83540dd324c42c5627e96b8f05b2f79aadb3 (patch) | |
tree | 4da5089ac6dcf776a0284acbc1746ab3f0ba25e3 /Source/MFCDialog | |
parent | a6b60841dbc56b896380435e4e190cbdc6e1a25a (diff) | |
download | CMake-e34c83540dd324c42c5627e96b8f05b2f79aadb3.zip CMake-e34c83540dd324c42c5627e96b8f05b2f79aadb3.tar.gz CMake-e34c83540dd324c42c5627e96b8f05b2f79aadb3.tar.bz2 |
BUG: fix for bug 121 add some docs for MFC flag
Diffstat (limited to 'Source/MFCDialog')
-rw-r--r-- | Source/MFCDialog/CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/MFCDialog/CMakeLists.txt b/Source/MFCDialog/CMakeLists.txt index c23a3bb..35609f3 100644 --- a/Source/MFCDialog/CMakeLists.txt +++ b/Source/MFCDialog/CMakeLists.txt @@ -11,7 +11,13 @@ SET( SRCS # add stuff to use MFC in this executable ADD_DEFINITIONS(-D_AFXDLL) -SET(CMAKE_MFC_FLAG 6) + +# 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) |