https://github.com/Kitware/CMake
Revision 6cd02f08c730449a4275830cb321a14ea51051ab authored by Brad King on 24 October 2016, 14:31:14 UTC, committed by Brad King on 24 October 2016, 14:31:14 UTC
2 parent s 22ef704 + 42db2eb
Raw File
Tip revision: 6cd02f08c730449a4275830cb321a14ea51051ab authored by Brad King on 24 October 2016, 14:31:14 UTC
Merge branch 'backport-ninja-subdir-binary-dir' into release
Tip revision: 6cd02f0
exportheader.cmake.in

#ifndef @INCLUDE_GUARD_NAME@
#define @INCLUDE_GUARD_NAME@

#ifdef @STATIC_DEFINE@
#  define @EXPORT_MACRO_NAME@
#  define @NO_EXPORT_MACRO_NAME@
#else
#  ifndef @EXPORT_MACRO_NAME@
#    ifdef @EXPORT_IMPORT_CONDITION@
        /* We are building this library */
#      define @EXPORT_MACRO_NAME@ @DEFINE_EXPORT@
#    else
        /* We are using this library */
#      define @EXPORT_MACRO_NAME@ @DEFINE_IMPORT@
#    endif
#  endif

#  ifndef @NO_EXPORT_MACRO_NAME@
#    define @NO_EXPORT_MACRO_NAME@ @DEFINE_NO_EXPORT@
#  endif
#endif

#ifndef @DEPRECATED_MACRO_NAME@
#  define @DEPRECATED_MACRO_NAME@ @DEFINE_DEPRECATED@
#endif

#ifndef @DEPRECATED_MACRO_NAME@_EXPORT
#  define @DEPRECATED_MACRO_NAME@_EXPORT @EXPORT_MACRO_NAME@ @DEPRECATED_MACRO_NAME@
#endif

#ifndef @DEPRECATED_MACRO_NAME@_NO_EXPORT
#  define @DEPRECATED_MACRO_NAME@_NO_EXPORT @NO_EXPORT_MACRO_NAME@ @DEPRECATED_MACRO_NAME@
#endif

#if @DEFINE_NO_DEPRECATED@ /* DEFINE_NO_DEPRECATED */
#  ifndef @NO_DEPRECATED_MACRO_NAME@
#    define @NO_DEPRECATED_MACRO_NAME@
#  endif
#endif
@CUSTOM_CONTENT@
#endif
back to top