BASIS  r3148
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 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.

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]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.
macro weka_has_package_manager ( )
Returns:
Nothing.
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

cmake Weka_DIR

Definition at line 214 of file FindWeka.cmake.

Definition at line 286 of file FindWeka.cmake.