Sha256: 2d394f12a48a0cfb8626fd275c7f6bcddaf48bbb6f62822fe3a4930fe929900b

Contents?: true

Size: 1.07 KB

Versions: 8

Compression:

Stored size: 1.07 KB

Contents

INCLUDE(CheckFunctionExists)

CHECK_FUNCTION_EXISTS(vsnprintf PDC_HAVE_VSNPRINTF)
CHECK_FUNCTION_EXISTS(vsscanf PDC_HAVE_VSSCANF)

IF(PDC_HAVE_VSNPRINTF)
    ADD_DEFINITIONS(-DHAVE_VSNPRINTF)
ENDIF(PDC_HAVE_VSNPRINTF)
IF(PDC_HAVE_VSSCANF)
    ADD_DEFINITIONS(-DHAVE_VSSCANF)
ENDIF(PDC_HAVE_VSSCANF)

if (PDC_BUILD_SHARED)
    if(MSVC)
        add_definitions(-DPDC_DLL_BUILD)
    endif()
endif (PDC_BUILD_SHARED)
IF (PDC_WIDE)
    ADD_DEFINITIONS(-DPDC_WIDE)
ENDIF(PDC_WIDE)
IF (PDC_UTF8)
    ADD_DEFINITIONS(-DPDC_FORCE_UTF8)
ENDIF (PDC_UTF8)
IF (PDC_CHTYPE_16)
    ADD_DEFINITIONS(-DCHTYPE_16)
ENDIF (PDC_CHTYPE_16)
IF (PDC_CHTYPE_32)
    ADD_DEFINITIONS(-DCHTYPE_32)
ENDIF (PDC_CHTYPE_32)
IF(PDCDEBUG)
    ADD_DEFINITIONS(-DPDCDEBUG)
ENDIF(PDCDEBUG)

IF ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
    ADD_DEFINITIONS(-D_DEBUG)
ENDIF ()

#################################
# Target Arch                   #
#################################
include (target_arch)
get_target_arch(TARGET_ARCH)
message(STATUS "Target ................. ${TARGET_ARCH}")

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
curses-1.4.7 vendor/PDCurses/cmake/gen_config_header.cmake
curses-1.4.5 vendor/PDCurses/cmake/gen_config_header.cmake
curses-1.4.4 vendor/PDCurses/cmake/gen_config_header.cmake
curses-1.4.4.beta.1 vendor/PDCurses/cmake/gen_config_header.cmake
curses-1.4.3 vendor/PDCurses/cmake/gen_config_header.cmake
curses-1.4.2 vendor/PDCurses/cmake/gen_config_header.cmake
curses-1.4.1 vendor/PDCurses/cmake/gen_config_header.cmake
curses-1.4.0 vendor/PDCurses/cmake/gen_config_header.cmake