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
Vitor Santos Costa 70a43ece1d jupyter
2019-03-18 14:47:29 +00:00

23 lines
482 B
CMake

#
# 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
#
# This is a CMake example for Python and Java
set (SOURCES yap.i)
if (ANDROID)
add_subdirectory(android)
else(ANDROID)
add_subdirectory(R)
add_subdirectory(java)
endif(ANDROID)
set_property( DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS SWIGYAP=1)