-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated mono repo CMake version for out-of-the-box operation with new…
…er IDEs
- Loading branch information
1 parent
2f24399
commit a5a9eef
Showing
6,212 changed files
with
175,478 additions
and
210,230 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
CALL CMakeCommon.bat | ||
|
||
ECHO *** Set VS2022 specifics and run CMake *** | ||
|
||
SET MAINCMAKE=%SRCROOTDIR%\projects\CMake\targets\GUCEF_tag_services | ||
SET VS19_OUTPUTDIR="%OUTPUTDIR%\VS2022_x64_Services" | ||
|
||
CMake.exe -DBUILD_SHARED_LIBS=ON -G"Visual Studio 17 2022" -A x64 -H"%MAINCMAKE%" -B%VS19_OUTPUTDIR% | ||
PAUSE |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
202 changes: 202 additions & 0 deletions
202
projects/CMake/cmake/share/bash-completion/completions/cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,202 @@ | ||
# bash completion for cmake(1) -*- shell-script -*- | ||
|
||
_cmake() | ||
{ | ||
local cur prev words cword split=false | ||
if type -t _init_completion >/dev/null; then | ||
_init_completion -n = || return | ||
else | ||
# manual initialization for older bash completion versions | ||
COMPREPLY=() | ||
cur="${COMP_WORDS[COMP_CWORD]}" | ||
prev="${COMP_WORDS[COMP_CWORD-1]}" | ||
fi | ||
|
||
# Workaround for options like -DCMAKE_BUILD_TYPE=Release | ||
local prefix= | ||
if [[ $cur == -D* ]]; then | ||
prev=-D | ||
prefix=-D | ||
cur="${cur#-D}" | ||
elif [[ $cur == -U* ]]; then | ||
prev=-U | ||
prefix=-U | ||
cur="${cur#-U}" | ||
fi | ||
|
||
case "$prev" in | ||
-D) | ||
if [[ $cur == *=* ]]; then | ||
# complete values for variables | ||
local var type value | ||
var="${cur%%[:=]*}" | ||
value="${cur#*=}" | ||
|
||
if [[ $cur == CMAKE_BUILD_TYPE* ]]; then # most widely used case | ||
COMPREPLY=( $( compgen -W 'Debug Release RelWithDebInfo | ||
MinSizeRel' -- "$value" ) ) | ||
return | ||
fi | ||
|
||
if [[ $cur == *:* ]]; then | ||
type="${cur#*:}" | ||
type="${type%%=*}" | ||
else # get type from cache if it's not set explicitly | ||
type=$( cmake -LA -N 2>/dev/null | grep "$var:" \ | ||
2>/dev/null ) | ||
type="${type#*:}" | ||
type="${type%%=*}" | ||
fi | ||
case "$type" in | ||
FILEPATH) | ||
cur="$value" | ||
_filedir | ||
return | ||
;; | ||
PATH) | ||
cur="$value" | ||
_filedir -d | ||
return | ||
;; | ||
BOOL) | ||
COMPREPLY=( $( compgen -W 'ON OFF TRUE FALSE' -- \ | ||
"$value" ) ) | ||
return | ||
;; | ||
STRING|INTERNAL) | ||
# no completion available | ||
return | ||
;; | ||
esac | ||
elif [[ $cur == *:* ]]; then | ||
# complete types | ||
local type="${cur#*:}" | ||
COMPREPLY=( $( compgen -W 'FILEPATH PATH STRING BOOL INTERNAL'\ | ||
-S = -- "$type" ) ) | ||
compopt -o nospace | ||
else | ||
# complete variable names | ||
COMPREPLY=( $( compgen -W '$( cmake -LA -N 2>/dev/null | | ||
tail -n +2 | cut -f1 -d: )' -P "$prefix" -- "$cur" ) ) | ||
compopt -o nospace | ||
fi | ||
return | ||
;; | ||
-U) | ||
COMPREPLY=( $( compgen -W '$( cmake -LA -N | tail -n +2 | | ||
cut -f1 -d: )' -P "$prefix" -- "$cur" ) ) | ||
return | ||
;; | ||
esac | ||
|
||
_split_longopt && split=true | ||
|
||
case "$prev" in | ||
-C|-P|--graphviz|--system-information) | ||
_filedir | ||
return | ||
;; | ||
--build) | ||
# Seed the reply with non-directory arguments that we know are | ||
# allowed to follow --build. _filedir will then prepend any valid | ||
# directory matches to these. | ||
COMPREPLY=( $( compgen -W "--preset --list-presets" -- "$cur" ) ) | ||
_filedir -d | ||
return | ||
;; | ||
--install|--open) | ||
_filedir -d | ||
return | ||
;; | ||
-E) | ||
COMPREPLY=( $( compgen -W "$( cmake -E help |& sed -n \ | ||
'/^ [^ ]/{s|^ \([^ ]\{1,\}\) .*$|\1|;p}' 2>/dev/null )" \ | ||
-- "$cur" ) ) | ||
return | ||
;; | ||
-G) | ||
local IFS=$'\n' | ||
local quoted | ||
printf -v quoted %q "$cur" | ||
COMPREPLY=( $( compgen -W '$( cmake --help 2>/dev/null | sed -n \ | ||
-e "1,/^Generators/d" \ | ||
-e "/^ *[^ =]/{s|^ *\([^=]*[^ =]\).*$|\1|;s| |\\\\ |g;p}" \ | ||
2>/dev/null )' -- "$quoted" ) ) | ||
return | ||
;; | ||
--loglevel) | ||
COMPREPLY=( $(compgen -W 'error warning notice status verbose debug trace' -- $cur ) ) | ||
;; | ||
--help-command) | ||
COMPREPLY=( $( compgen -W '$( cmake --help-command-list 2>/dev/null| | ||
grep -v "^cmake version " )' -- "$cur" ) ) | ||
return | ||
;; | ||
--help-manual) | ||
COMPREPLY=( $( compgen -W '$( cmake --help-manual-list 2>/dev/null| | ||
grep -v "^cmake version " | sed -e "s/([0-9])$//" )' -- "$cur" ) ) | ||
return | ||
;; | ||
--help-module) | ||
COMPREPLY=( $( compgen -W '$( cmake --help-module-list 2>/dev/null| | ||
grep -v "^cmake version " )' -- "$cur" ) ) | ||
return | ||
;; | ||
--help-policy) | ||
COMPREPLY=( $( compgen -W '$( cmake --help-policy-list 2>/dev/null | | ||
grep -v "^cmake version " )' -- "$cur" ) ) | ||
return | ||
;; | ||
--help-property) | ||
COMPREPLY=( $( compgen -W '$( cmake --help-property-list \ | ||
2>/dev/null | grep -v "^cmake version " )' -- "$cur" ) ) | ||
return | ||
;; | ||
--help-variable) | ||
COMPREPLY=( $( compgen -W '$( cmake --help-variable-list \ | ||
2>/dev/null | grep -v "^cmake version " )' -- "$cur" ) ) | ||
return | ||
;; | ||
--list-presets) | ||
local IFS=$'\n' | ||
local quoted | ||
printf -v quoted %q "$cur" | ||
|
||
if [[ ! "${IFS}${COMP_WORDS[*]}${IFS}" =~ "${IFS}--build${IFS}" ]]; then | ||
COMPREPLY=( $( compgen -W "configure${IFS}build${IFS}test${IFS}all" -- "$quoted" ) ) | ||
fi | ||
return | ||
;; | ||
--preset) | ||
local IFS=$'\n' | ||
local quoted | ||
printf -v quoted %q "$cur" | ||
|
||
local build_or_configure="configure" | ||
if [[ "${IFS}${COMP_WORDS[*]}${IFS}" =~ "${IFS}--build${IFS}" ]]; then | ||
build_or_configure="build" | ||
fi | ||
|
||
local presets=$( cmake --list-presets="$build_or_configure" 2>/dev/null | | ||
grep -o "^ \".*\"" | sed \ | ||
-e "s/^ //g" \ | ||
-e "s/\"//g" \ | ||
-e 's/ /\\\\ /g' ) | ||
COMPREPLY=( $( compgen -W "$presets" -- "$quoted" ) ) | ||
return | ||
;; | ||
esac | ||
|
||
$split && return | ||
|
||
if [[ "$cur" == -* ]]; then | ||
COMPREPLY=( $(compgen -W '$( _parse_help "$1" --help )' -- ${cur}) ) | ||
[[ $COMPREPLY == *= ]] && compopt -o nospace | ||
[[ $COMPREPLY ]] && return | ||
fi | ||
|
||
_filedir | ||
} && | ||
complete -F _cmake cmake | ||
|
||
# ex: ts=4 sw=4 et filetype=sh |
File renamed without changes.
129 changes: 129 additions & 0 deletions
129
projects/CMake/cmake/share/bash-completion/completions/ctest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
# bash completion for ctest(1) -*- shell-script -*- | ||
|
||
_ctest() | ||
{ | ||
local cur prev words cword | ||
if type -t _init_completion >/dev/null; then | ||
_init_completion -n = || return | ||
else | ||
# manual initialization for older bash completion versions | ||
COMPREPLY=() | ||
cur="${COMP_WORDS[COMP_CWORD]}" | ||
prev="${COMP_WORDS[COMP_CWORD-1]}" | ||
fi | ||
|
||
case "$prev" in | ||
-C|--build-config) | ||
COMPREPLY=( $( compgen -W 'Debug Release RelWithDebInfo | ||
MinSizeRel' -- "$cur" ) ) | ||
return | ||
;; | ||
-j|--parallel) | ||
COMPREPLY=( $( compgen -W "{1..$(( $(_ncpus)*2 ))}" -- "$cur" ) ) | ||
return | ||
;; | ||
-O|--output-log|-A|--add-notes|--extra-submit) | ||
_filedir | ||
return | ||
;; | ||
-L|--label-regex|-LE|--label-exclude) | ||
COMPREPLY=( $( compgen -W '$( ctest --print-labels 2>/dev/null | | ||
grep "^ " 2>/dev/null | cut -d" " -f 3 )' -- "$cur" ) ) | ||
return | ||
;; | ||
--track|-I|--tests-information|--max-width|--timeout|--stop-time) | ||
# argument required but no completions available | ||
return | ||
;; | ||
-R|--tests-regex|-E|--exclude-regex) | ||
COMPREPLY=( $( compgen -W '$( ctest -N 2>/dev/null | | ||
grep "^ Test" 2>/dev/null | cut -d: -f 2 )' -- "$cur" ) ) | ||
return | ||
;; | ||
-D|--dashboard) | ||
if [[ $cur == @(Experimental|Nightly|Continuous)* ]]; then | ||
local model action | ||
action=${cur#@(Experimental|Nightly|Continuous)} | ||
model=${cur%"$action"} | ||
COMPREPLY=( $( compgen -W 'Start Update Configure Build Test | ||
Coverage Submit MemCheck' -P "$model" -- "$action" ) ) | ||
else | ||
COMPREPLY=( $( compgen -W 'Experimental Nightly Continuous' \ | ||
-- "$cur" ) ) | ||
compopt -o nospace | ||
fi | ||
return | ||
;; | ||
-M|--test-model) | ||
COMPREPLY=( $( compgen -W 'Experimental Nightly Continuous' -- \ | ||
"$cur" ) ) | ||
return | ||
;; | ||
-T|--test-action) | ||
COMPREPLY=( $( compgen -W 'Start Update Configure Build Test | ||
Coverage Submit MemCheck' -- "$cur" ) ) | ||
return | ||
;; | ||
-S|--script|-SP|--script-new-process) | ||
_filedir '@(cmake|ctest)' | ||
return | ||
;; | ||
--interactive-debug-mode) | ||
COMPREPLY=( $( compgen -W '0 1' -- "$cur" ) ) | ||
return | ||
;; | ||
|
||
--help-command) | ||
COMPREPLY=( $( compgen -W '$( ctest --help-command-list 2>/dev/null| | ||
grep -v "^ctest version " )' -- "$cur" ) ) | ||
return | ||
;; | ||
--help-manual) | ||
COMPREPLY=( $( compgen -W '$( ctest --help-manual-list 2>/dev/null| | ||
grep -v "^ctest version " | sed -e "s/([0-9])$//" )' -- "$cur" ) ) | ||
return | ||
;; | ||
--help-module) | ||
COMPREPLY=( $( compgen -W '$( ctest --help-module-list 2>/dev/null| | ||
grep -v "^ctest version " )' -- "$cur" ) ) | ||
return | ||
;; | ||
--help-policy) | ||
COMPREPLY=( $( compgen -W '$( ctest --help-policy-list 2>/dev/null | | ||
grep -v "^ctest version " )' -- "$cur" ) ) | ||
return | ||
;; | ||
--help-property) | ||
COMPREPLY=( $( compgen -W '$( ctest --help-property-list \ | ||
2>/dev/null | grep -v "^ctest version " )' -- "$cur" ) ) | ||
return | ||
;; | ||
--help-variable) | ||
COMPREPLY=( $( compgen -W '$( ctest --help-variable-list \ | ||
2>/dev/null | grep -v "^ctest version " )' -- "$cur" ) ) | ||
return | ||
;; | ||
--preset) | ||
local IFS=$'\n' | ||
local quoted | ||
printf -v quoted %q "$cur" | ||
COMPREPLY=( $( compgen -W '$( ctest --list-presets 2>/dev/null | | ||
grep -o "^ \".*\"" | sed \ | ||
-e "s/^ //g" \ | ||
-e "s/\"//g" \ | ||
-e "s/ /\\\\ /g" )' -- "$quoted" ) ) | ||
return | ||
;; | ||
esac | ||
|
||
if [[ "$cur" == -* ]]; then | ||
COMPREPLY=( $(compgen -W '$( _parse_help "$1" --help )' -- ${cur}) ) | ||
[[ $COMPREPLY == *= ]] && compopt -o nospace | ||
[[ $COMPREPLY ]] && return | ||
fi | ||
|
||
_filedir | ||
} && | ||
complete -F _ctest ctest | ||
|
||
# ex: ts=4 sw=4 et filetype=sh |
Oops, something went wrong.