Skip to content

Commit

Permalink
svf_tools: fix test dependencies in CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
tempname11 committed Oct 25, 2023
1 parent bf81f23 commit 086c63f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions svf_tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ add_test(NAME example_hello COMMAND example_hello)
function(add_our_read_test NAME)
add_executable(test_read_${NAME} src/test/read/${NAME}.cpp)
target_link_libraries(test_read_${NAME} PRIVATE svf_runtime platform)
add_dependencies(test_read_${NAME} schema_A0_hpp)

# target_compile_options(test_read_${NAME} PRIVATE -fprofile-instr-generate -fcoverage-mapping)
# target_link_options(test_read_${NAME} PRIVATE -fprofile-instr-generate)
Expand All @@ -356,6 +357,7 @@ endfunction(add_our_read_test)
function(add_our_write_test NAME)
add_executable(test_write_${NAME} src/test/write/${NAME}.cpp)
target_link_libraries(test_write_${NAME} PRIVATE svf_runtime platform)
add_dependencies(test_write_${NAME} schema_A0_hpp)

# target_compile_options(test_write_${NAME} PRIVATE -fprofile-instr-generate -fcoverage-mapping)
# target_link_options(test_write_${NAME} PRIVATE -fprofile-instr-generate)
Expand Down

0 comments on commit 086c63f

Please sign in to comment.