This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/library/dialect/swi/os/CMakeLists.txt

69 lines
1.1 KiB
CMake
Raw Normal View History

2015-09-21 23:05:36 +01:00
# Sources Section
#
set(LIBSWI_OS_MAJOR_VERSION 0)
set(LIBSWI_OS_MINOR_VERSION 60)
set(LIBSWI_OS_PATCH_VERSION 0)
set(LIBSWI_OS_FULL_VERSION
${LIBSWI_OS_MAJOR_VERSION}.${LIBSWI_OS_MINOR_VERSION}.${LIBSWI_OS_PATCH_VERSION})
set(LIBSWI_OS_SOURCES
pl-buffer.c
pl-codelist.c
pl-ctype.c
pl-dtoa.c
pl-error.c
pl-file.c
pl-files.c
pl-fmt.c
pl-glob.c
pl-option.c
pl-nt.c
pl-os.c
pl-privitf.c
pl-prologflag.c
pl-read.c
pl-rl.c
pl-stream.c
pl-string.c
pl-table.c
pl-tai.c
pl-text.c
pl-utf8.c
pl-write.c
)
if (WIN32)
set(LIBSWI_OS_SOURCES
${LIBSWI_OS_SOURCES}
os/windows/uxnt.c
)
endif (WIN32)
#
# include libtai package as an independent library
#
add_subdirectory (libtai)
# ugh
set (POSITION_INDEPENDENT_CODE TRUE)
2016-07-31 10:56:54 +01:00
add_component (libswi_os
2015-09-21 23:05:36 +01:00
${LIBSWI_OS_SOURCES}
$<TARGET_OBJECTS:libyaptai>
)
set_target_properties(libswi_os
PROPERTIES
2018-11-16 14:02:56 +00:00
# RPATH ${CMAKE_INSTALL_LIBDIR} VERSION ${LIBSWI_OS_FULL_VERSION}
2015-09-21 23:05:36 +01:00
# SOVERSION ${LIBSWI_OS_MAJOR_VERSION}.${LIBSWI_OS_MINOR_VERSION}
POSITION_INDEPENDENT_CODE TRUE
OUTPUT_NAME swi_os
)