Cloned SEACAS for EXODUS library with extra build files for internal package management.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
660 B

2 years ago
TRIBITS_SUBPACKAGE(SuplibC)
SET(SUPLIBC_VERSION_MAJOR "3")
SET(SUPLIBC_VERSION_MINOR "08")
SET(SUPLIBC_VERSION_PATCH "0")
SET(SUPLIBC_VERSION "${SUPLIBC_VERSION_MAJOR}.${SUPLIBC_VERSION_MINOR}")
SET(SUPLIBC_VERSION_FULL "${SUPLIBC_VERSION}.${SUPLIBC_VERSION_PATCH}")
TRIBITS_INCLUDE_DIRECTORIES(
"${CMAKE_CURRENT_SOURCE_DIR}"
)
SET(SOURCES
add_to_log.c
adler.c
copy_string.c
open_file_limit.c
term_width.c
)
IF (CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows")
IF (NOT MINGW)
APPEND_GLOB(SOURCES XGetopt.c)
ENDIF()
ENDIF()
TRIBITS_ADD_LIBRARY(
suplib_c
NOINSTALLHEADERS
SOURCES ${SOURCES}
)
TRIBITS_SUBPACKAGE_POSTPROCESS()