mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00

The UPM Cordova binding generator creates Cordova plugs for each Java package when BUILDCORDOVA=ON and BUILDSWIGJAVA=ON. This requires an NPM install of the UPM Cordova plugin generator. Cordova bindings are built under <build-dir>/cordova. Signed-off-by: Noel Eck <noel.eck@intel.com>
8 lines
340 B
CMake
8 lines
340 B
CMake
find_program(UPM_CORDOVA_BINDING NAMES upm-cordova-binding
|
|
)
|
|
|
|
if(UPM_CORDOVA_BINDING)
|
|
message(STATUS "The npm package to build cordova bindings found at ${UPM_CORDOVA_BINDING}")
|
|
else()
|
|
message(FATAL_ERROR "Unable to find the npm package for building cordova bindings, please install by 'npm install -g upm-cordova-binding'")
|
|
endif() |