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

27 lines
606 B
CMake
Raw Normal View History

#CHECK: SWIG
2016-04-05 08:11:05 +01:00
find_host_package (SWIG)
2015-06-19 01:22:23 +01:00
macro_log_feature (SWIG_FOUND "Swig"
"Use SWIG Documentation System "
2016-04-12 16:05:20 +01:00
"http://www.swig.org" ON)
if (SWIG_FOUND)
#
# SWIG_FOUND - set to true if SWIG is found
2016-08-30 00:07:22 +01:00
# SWIG_DIR - t he directory where swig is installed
# SWIG_EXECUTABLE - the path to the swig executable
# SWIG_VERSION - the version number of the swig executable
#
2015-08-07 22:57:53 +01:00
# This is a CMake example for Python and Java
2015-06-19 01:22:23 +01:00
INCLUDE(${SWIG_USE_FILE})
2016-04-05 08:11:05 +01:00
if (ANDROID)
add_subdirectory(android)
else(ANDROID)
2015-08-07 22:57:53 +01:00
add_subdirectory(python)
add_subdirectory(java)
2016-04-05 08:11:05 +01:00
endif(ANDROID)
2015-06-19 01:22:23 +01:00
endif (SWIG_FOUND)