Merge pull request #4786 from sfc-gh-ezhang/master

Fix OPEN_FOR_IDE option for cmake
This commit is contained in:
Andrew Noyes 2021-05-07 15:49:56 -07:00 committed by GitHub
commit 2fdadc8e97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)