FindWeka.cmake File Reference
Find Weka (http://www.cs.waikato.ac.nz/ml/weka/) package. More...
#include "FindPackageHandleStandardArgs.cmake"
Include dependency graph for FindWeka.cmake:
Go to the source code of this file.
Functions | |
function | weka_get_version (out VERSION, out MAJOR, out MINOR, out PATCH) |
Get Weka version. | |
macro | weka_has_package_manager () |
function | weka_list_packages (out PACKAGES, in WHICH) |
Get list of Weka packages. | |
Variables | |
cmake | Weka_DIR |
cmake | Weka_PACKAGES_DIR |
Detailed Description
Find Weka (http://www.cs.waikato.ac.nz/ml/weka/) package.
- Input variables:
Weka_DIR The Weka package files are searched under the specified root directory. If they are not found there, the default search paths are considered. This variable can also be set as environment variable. WEKA_DIR Alternative environment variable for Weka_DIR
.Weka_PACKAGES_DIR Directory where additional Weka packages are installed. If they are not found there or if this variable is not set, this module will look in the standard installation directories. This variable can also be set as environment variable. WEKA_PACKAGES_DIR Alternative environment variable for Weka_PACKAGES_DIR
.Weka_<package>_DIR The path of the given Weka package, i.e., the directory containing the <package>.jar
file or a subdirectory namedweka
with the uncompressed.class
files of the package.Weka_FIND_COMPONENTS The COMPONENTS
argument(s) of the find_package() command can be used to also look for additionally installed Weka packages.Weka_FIND_OPTIONAL_COMPONENTS The OPTIONAL_COMPONENTS
argument(s) of the find_package() command can be used to also look for additionally installed Weka packages.Weka_ADDITIONAL_VERSIONS List of version numbers that should be taken into account when searching for Weka.
- Output variables:
Weka_FOUND Whether the package was found and the following CMake variables are valid. Weka_HAS_PACKAGE_MANAGER Whether the found version of Weka has a package manager. Weka_CLASSPATH The path of the found weka.jar
file.Weka_PACKAGES_CLASSPATH The CLASSPATH
of all found additional Weka packages (non-cached).Weka_CLASSPATHS Combination of both Weka_CLASSPATH
andWeka_PACKAGES_CLASSPATH
.
Copyright (c) 2012 University of Pennsylvania. All rights reserved.
See https://www.cbica.upenn.edu/sbia/software/license.html or COPYING file.
Contact: SBIA Group <sbia-software at uphs.upenn.edu>
Definition in file FindWeka.cmake.
Function Documentation
function weka_get_version | ( | out | VERSION, |
out | MAJOR, | ||
out | MINOR, | ||
out | PATCH | ||
) |
Get Weka version.
- Parameters:
-
[out] VERSION Version string of Weka or 0.0.0. [out] MAJOR Major version of Weka or 0. [out] MINOR Minor version of Weka or 0. [out] PATCH Patch number of Weka or 0.
- Returns:
- Nothing.
macro weka_has_package_manager | ( | ) |
- Returns:
- Nothing.
function weka_list_packages | ( | out | PACKAGES, |
in | WHICH | ||
) |
Get list of Weka packages.
- Parameters:
-
[out] PACKAGES Name of variable storing the list of packages. [in] WHICH Argument to -list-packages option of Weka package manager, i.e., "all", "available", or "installed".
- Returns:
- Nothing.
Variable Documentation
cmake Weka_DIR |
Definition at line 214 of file FindWeka.cmake.
cmake Weka_PACKAGES_DIR |
Definition at line 286 of file FindWeka.cmake.