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

24 lines
489 B
CMake
Raw Normal View History

2017-05-08 18:51:29 +01:00
#
# SWIG_FOUND - set to true if SWIG is found
# SWIG_DIR - the directory where swig is installed
# SWIG_EXECUTABLE - the path to the swig executable
# SWIG_VERSION - the version number of the swig executable
#
2016-12-10 07:01:10 +00:00
2017-05-08 18:51:29 +01:00
# This is a CMake example for Python and Java
2016-12-10 07:01:10 +00:00
2017-07-25 01:10:44 +01:00
set (SOURCES yap.i)
2017-05-08 18:51:29 +01:00
INCLUDE(${SWIG_USE_FILE})
2015-06-19 01:22:23 +01:00
2016-04-05 08:11:05 +01:00
if (ANDROID)
2017-05-08 18:51:29 +01:00
add_subdirectory(android)
2016-04-05 08:11:05 +01:00
else(ANDROID)
2017-09-06 01:09:46 +01:00
# add_subdirectory(java)
2016-04-05 08:11:05 +01:00
endif(ANDROID)
2015-06-19 01:22:23 +01:00
2017-05-08 18:51:29 +01:00
set_property( DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS SWIGYAP=1)
2016-12-10 07:01:10 +00:00