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/os/CMakeLists.txt

70 lines
1.3 KiB
CMake
Raw Permalink Normal View History

2018-01-18 14:47:27 +00:00
set (YAPOS_HEADERS
getw.h
2019-01-09 09:32:09 +00:00
2018-01-18 14:47:27 +00:00
iopreds.h
yapio.h
2018-11-22 10:23:35 +00:00
YapEncoding.h
2018-01-18 14:47:27 +00:00
)
2016-04-10 14:21:17 +01:00
set (YAPOS_SOURCES
alias.c
2016-07-31 10:56:54 +01:00
assets.c
2016-04-10 14:21:17 +01:00
charsio.c
chartypes.c
console.c
files.c
2016-09-28 01:32:27 +01:00
fmem.c
2017-11-29 13:47:57 +00:00
# fmemopen.c
#android/fmemopen.c
# android/fopencookie.c
# android/open_memstream.c
2016-04-10 14:21:17 +01:00
format.c
iopreds.c
mem.c
open_memstream.c
pipes.c
readline.c
random.c
readterm.c
readutil.c
sig.c
sockets.c
streams.c
sysbits.c
time.c
writeterm.c
ypsocks.c
ypstdio.c
)
2017-10-06 13:05:12 +01:00
include_directories (../H ../include ../OPTYap . ${GMP_INCLUDE_DIR} ${PROJECT_BINARY_DIR} PARENT_SCOPE)
2016-04-10 14:21:17 +01:00
SET_PROPERTY(DIRECTORY PROPERTY COMPILE_DEFINITIONS YAP_KERNEL=1 )
set (POSITION_INDEPENDENT_CODE TRUE)
2016-07-31 10:56:54 +01:00
add_component (libYAPOs
${YAPOS_SOURCES}
)
MY_set_target_properties(libYAPOs
PROPERTIES
2018-11-16 14:02:56 +00:00
# RPATH ${CMAKE_INSTALL_LIBDIR} VERSION ${LIBYAPTAI_FULL_VERSION}
2016-07-31 10:56:54 +01:00
# SOVERSION ${LIBYAPTAI_MAJOR_VERSION}.${LIBYAPTAI_MINOR_VERSION}
POSITION_INDEPENDENT_CODE TRUE
)
#set( CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${GMP_LIBRARIES} )
set (YAPOS_PL_SOURCES
edio.yap
chartypes.yap
2017-10-11 02:24:15 +01:00
yio.yap
2016-07-31 10:56:54 +01:00
)
2019-01-09 09:32:09 +00:00
add_to_dir(YAPOS PL_SOURCES ${YAP_INSTALL_DATADIR}/os)
2017-05-02 07:42:21 +01:00
2019-01-09 09:32:09 +00:00
install (FILES ${YAPOS_PL_SOURCES}
2018-11-16 14:02:56 +00:00
DESTINATION ${YAP_INSTALL_DATADIR}/os )