File: FindMFC.cmake

package info (click to toggle)
cmake 2.4.5-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 16,804 kB
  • ctags: 18,861
  • sloc: cpp: 84,497; ansic: 84,379; yacc: 3,136; sh: 1,970; lex: 1,004; lisp: 119; makefile: 89; xml: 88; perl: 60; tcl: 55; python: 25; php: 25; ruby: 22; java: 20; f90: 19; fortran: 3
file content (19 lines) | stat: -rw-r--r-- 487 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# - Find MFC on Windows
# Find the native MFC - i.e. decide if this is an MS VC box.
#  MFC_FOUND - Was MFC support found
# You don't need to include anything or link anything to use it.

# Assume no MFC support
SET( MFC_FOUND "NO" )
# Add MFC support if win32 and not cygwin and not borland
IF( WIN32 )
  IF( NOT CYGWIN )
    IF( NOT BORLAND )
      IF( NOT MINGW )
        SET( MFC_FOUND "YES" )
      ENDIF( NOT MINGW )
    ENDIF( NOT BORLAND )
  ENDIF( NOT CYGWIN )
ENDIF( WIN32 )