xo-cmake: + --enable/disable testing arg to reconfigure.in
This commit is contained in:
parent
1b185a3680
commit
70c43e0fe5
1 changed files with 8 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
|||
# Generated by cmake - rerun to reconfigure
|
||||
|
||||
dry_run_flag=false
|
||||
testing=@ENABLE_TESTING@
|
||||
|
||||
# Parse arguments
|
||||
while [[ $# -gt 0 ]]; do
|
||||
|
|
@ -10,6 +11,12 @@ while [[ $# -gt 0 ]]; do
|
|||
-n|--dry-run)
|
||||
dry_run_flag=true
|
||||
;;
|
||||
--enable-testing)
|
||||
testing=1
|
||||
;;
|
||||
--disable-testing)
|
||||
testing=0
|
||||
;;
|
||||
--)
|
||||
break;
|
||||
;;
|
||||
|
|
@ -35,7 +42,7 @@ CMAKE_CMD=(
|
|||
-DCMAKE_PREFIX_PATH=@CMAKE_PREFIX_PATH@
|
||||
-DCMAKE_CXX_STANDARD=@CMAKE_CXX_STANDARD@
|
||||
-DXO_CMAKE_CONFIG_EXECUTABLE=@XO_CMAKE_CONFIG_EXECUTABLE@
|
||||
-DENABLE_TESTING=@ENABLE_TESTING@
|
||||
-DENABLE_TESTING=$testing
|
||||
-DXO_ENABLE_DOCS=@XO_ENABLE_DOCS@
|
||||
-DXO_ENABLE_ASM=@XO_ENABLE_ASM@
|
||||
-DXO_ENABLE_EXAMPLES=@XO_ENABLE_EXAMPLES@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue