Functions | Variables
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. More...
 
macro weka_has_package_manager ()
 
function weka_list_packages (out PACKAGES, in WHICH)
 Get list of Weka packages. More...
 

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 named weka 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 and Weka_PACKAGES_CLASSPATH.

Definition in file FindWeka.cmake.

Function Documentation

§ weka_get_version()

function weka_get_version ( out  VERSION,
out  MAJOR,
out  MINOR,
out  PATCH 
)

Get Weka version.

Parameters
[out]VERSIONVersion string of Weka or 0.0.0.
[out]MAJORMajor version of Weka or 0.
[out]MINORMinor version of Weka or 0.
[out]PATCHPatch number of Weka or 0.
Returns
Nothing.

§ weka_has_package_manager()

macro weka_has_package_manager ( )
Returns
Nothing.

§ weka_list_packages()

function weka_list_packages ( out  PACKAGES,
in  WHICH 
)

Get list of Weka packages.

Parameters
[out]PACKAGESName of variable storing the list of packages.
[in]WHICHArgument to -list-packages option of Weka package manager, i.e., "all", "available", or "installed".
Returns
Nothing.

Variable Documentation

§ Weka_DIR

cmake Weka_DIR

Definition at line 223 of file FindWeka.cmake.

§ Weka_PACKAGES_DIR

cmake Weka_PACKAGES_DIR

Definition at line 295 of file FindWeka.cmake.