Fix OPEN_FOR_IDE option for cmake

This commit is contained in:
Edwin Zhang 2021-05-07 17:54:59 -04:00
parent 5ca3b671d1
commit 3d9619790d
2 changed files with 7 additions and 5 deletions

View File

@ -1,6 +1,6 @@
add_subdirectory(c)
if(NOT OPEN_FOR_IDE)
# flow bindings currently doesn't support that
add_subdirectory(c)
add_subdirectory(flow)
endif()
add_subdirectory(python)

View File

@ -263,10 +263,12 @@ if(WITH_PYTHON)
add_fdb_test(TEST_FILES status/separate_not_enough_servers.txt)
add_fdb_test(TEST_FILES status/single_process_too_many_config_params.txt)
add_test(
NAME multiversion_client/unit_tests
COMMAND $<TARGET_FILE:fdbserver> -r unittests -f /fdbclient/multiversionclient/
)
if(NOT OPEN_FOR_IDE)
add_test(
NAME multiversion_client/unit_tests
COMMAND $<TARGET_FILE:fdbserver> -r unittests -f /fdbclient/multiversionclient/
)
endif()
verify_testing()
if (NOT OPEN_FOR_IDE AND NOT WIN32)