Find Weka (http://www.cs.waikato.ac.nz/ml/weka/) package.
More...
#include "FindPackageHandleStandardArgs.cmake"
Go to the source code of this file.
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.
§ weka_get_version()
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.
§ weka_has_package_manager()
macro weka_has_package_manager |
( |
| ) |
|
§ weka_list_packages()
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.
§ Weka_DIR
§ Weka_PACKAGES_DIR