1
0
mirror of synced 2024-11-12 02:00:52 +01:00

build: Disable network tests in offline builds

This commit is contained in:
Nik 2023-12-04 20:01:58 +01:00 committed by GitHub
parent f71fa2f704
commit eae3cd99ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,11 +11,6 @@ set(AVAILABLE_TESTS
TestProvider_read
TestProvider_write
# Net
StoreAPI
TipsAPI
ContentAPI
# File
FileAccess
@ -25,6 +20,15 @@ set(AVAILABLE_TESTS
ExtractBits
)
if (NOT IMHEX_OFFLINE_BUILD)
set(AVAILABLE_TESTS ${AVAILABLE_TESTS}
# Net
StoreAPI
TipsAPI
ContentAPI
)
endif ()
add_executable(${PROJECT_NAME}
source/common.cpp