mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 16:41:02 +02:00
Do not include nitpick in production builds.
This commit is contained in:
parent
8ecaf958f6
commit
4727123e5f
1 changed files with 30 additions and 14 deletions
|
@ -19,20 +19,36 @@ function(check_test name)
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
if (BUILD_TOOLS)
|
if (BUILD_TOOLS)
|
||||||
set(ALL_TOOLS
|
# Allow different tools for production builds
|
||||||
udt-test
|
if (RELEASE_TYPE STREQUAL "PRODUCTION")
|
||||||
vhacd-util
|
set(ALL_TOOLS
|
||||||
frame-optimizer
|
udt-test
|
||||||
gpu-frame-player
|
vhacd-util
|
||||||
ice-client
|
frame-optimizer
|
||||||
ktx-tool
|
gpu-frame-player
|
||||||
ac-client
|
ice-client
|
||||||
skeleton-dump
|
ktx-tool
|
||||||
atp-client
|
ac-client
|
||||||
oven
|
skeleton-dump
|
||||||
nitpick
|
atp-client
|
||||||
)
|
oven
|
||||||
|
)
|
||||||
|
else()
|
||||||
|
set(ALL_TOOLS
|
||||||
|
udt-test
|
||||||
|
vhacd-util
|
||||||
|
frame-optimizer
|
||||||
|
gpu-frame-player
|
||||||
|
ice-client
|
||||||
|
ktx-tool
|
||||||
|
ac-client
|
||||||
|
skeleton-dump
|
||||||
|
atp-client
|
||||||
|
oven
|
||||||
|
####nitpick
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
foreach(TOOL ${ALL_TOOLS})
|
foreach(TOOL ${ALL_TOOLS})
|
||||||
check_test(${TOOL})
|
check_test(${TOOL})
|
||||||
if (${BUILD_TOOL_RESULT})
|
if (${BUILD_TOOL_RESULT})
|
||||||
|
|
Loading…
Reference in a new issue