Do not include nitpick in production builds.

This commit is contained in:
NissimHadar 2019-02-08 10:25:18 -08:00
parent 8ecaf958f6
commit 4727123e5f

View file

@ -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})