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

24 lines
674 B
CMake
Raw Normal View History

2015-09-21 23:05:36 +01:00
2016-02-03 09:22:23 +00:00
set (LIBSWI_SOURCES
2016-07-31 10:56:54 +01:00
swi.c blobs.c )
2015-09-21 23:05:36 +01:00
2017-10-11 02:24:15 +01:00
add_component (libswi
2016-02-03 09:22:23 +00:00
${LIBSWI_SOURCES})
2015-09-21 23:05:36 +01:00
2017-10-11 02:24:15 +01:00
2016-07-31 10:56:54 +01:00
MY_set_target_properties(libswi
2015-09-21 23:05:36 +01:00
PROPERTIES
2018-11-16 14:02:56 +00:00
# RPATH ${CMAKE_INSTALL_LIBDIR} VERSION ${LIBYAPTAI_FULL_VERSION}
2015-09-21 23:05:36 +01:00
# SOVERSION ${LIBYAPTAI_MAJOR_VERSION}.${LIBYAPTAI_MINOR_VERSION}
2016-02-03 09:22:23 +00:00
POSITION_INDEPENDENT_CODE ON
2015-09-21 23:05:36 +01:00
)
SET_PROPERTY(DIRECTORY PROPERTY COMPILE_DEFINITIONS YAP_KERNEL=1 )
2017-10-11 02:24:15 +01:00
include_directories (../../../H ../.../../include ../os ${CMAKE_BINARY_DIR} ${GMP_INCLUDE_DIRS})
2015-09-21 23:05:36 +01:00
2016-02-03 09:22:23 +00:00
set (YAP_SWILIB $<TARGET_FILE_NAME:libswi> )
2017-10-11 02:24:15 +01:00
set( CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${GMP_INCLUDE_DIRS} )
2015-09-21 23:05:36 +01:00
#set( CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${GMP_LIBRARIES} )