diff options
author | Nikita Nemkin <nikita@nemkin.ru> | 2020-11-12 09:07:32 (GMT) |
---|---|---|
committer | Nikita Nemkin <nikita@nemkin.ru> | 2020-11-12 15:14:05 (GMT) |
commit | cb28d9af1ff3f01c7b1e63f819cbe67723110fe2 (patch) | |
tree | 61fd7bbff7783d8d47ab960362272b524bcd8846 /Modules/javaTargets.cmake.in | |
parent | 8705f9116e5257c52746d6e1aadd28d1c9357e00 (diff) | |
download | CMake-cb28d9af1ff3f01c7b1e63f819cbe67723110fe2.zip CMake-cb28d9af1ff3f01c7b1e63f819cbe67723110fe2.tar.gz CMake-cb28d9af1ff3f01c7b1e63f819cbe67723110fe2.tar.bz2 |
UseJava: Move helper scripts to subdirectory
Also, exclude them from the help module index.
Diffstat (limited to 'Modules/javaTargets.cmake.in')
-rw-r--r-- | Modules/javaTargets.cmake.in | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/Modules/javaTargets.cmake.in b/Modules/javaTargets.cmake.in deleted file mode 100644 index c5f9c78..0000000 --- a/Modules/javaTargets.cmake.in +++ /dev/null @@ -1,39 +0,0 @@ -cmake_minimum_required(VERSION 2.8) -cmake_policy(PUSH) -cmake_policy(VERSION 2.8) - -#---------------------------------------------------------------- -# Generated CMake Java target import file. -#---------------------------------------------------------------- - -# Protect against multiple inclusion, which would fail when already imported targets are added once more. -set(_targetsDefined) -set(_targetsNotDefined) -set(_expectedTargets) -foreach(_expectedTarget @__targets__@) - list(APPEND _expectedTargets ${_expectedTarget}) - if(TARGET ${_expectedTarget}) - list(APPEND _targetsDefined ${_expectedTarget}) - else() - list(APPEND _targetsNotDefined ${_expectedTarget}) - endif() -endforeach() -if("%${_targetsDefined}" STREQUAL "%${_expectedTargets}") - unset(_targetsDefined) - unset(_targetsNotDefined) - unset(_expectedTargets) - cmake_policy(POP) - return() -endif() -if(NOT "${_targetsDefined}" STREQUAL "") - message(FATAL_ERROR - "Some (but not all) targets in this export set were already defined.\n" - "Targets Defined: ${_targetsDefined}\n" - "Targets not yet defined: ${_targetsNotDefined}\n") -endif() -unset(_targetsDefined) -unset(_targetsNotDefined) -unset(_expectedTargets) - -@__targetdefs__@ -cmake_policy(POP) |