File tree 3 files changed +12
-0
lines changed
3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ add_subdirectory(goto-cc-goto-analyzer)
34
34
add_subdirectory (goto-diff)
35
35
add_subdirectory (goto-instrument)
36
36
add_subdirectory (goto-instrument-typedef)
37
+ if (NOT WIN32 )
38
+ add_subdirectory (goto-gcc)
39
+ endif ()
37
40
add_subdirectory (invariants)
38
41
add_subdirectory (jbmc-strings )
39
42
add_subdirectory (strings )
Original file line number Diff line number Diff line change
1
+ # TARGET_FILE (as used in other directories) can't be used with goto-gcc as it
2
+ # isn't marked as an executable (target), which CMake requires. Thus construct a
3
+ # path in the same way the symbolic link is created in the goto-cc directory.
4
+ add_test_pl_tests("$<TARGET_FILE_DIR:goto-cc>/goto-gcc" )
Original file line number Diff line number Diff line change @@ -29,4 +29,9 @@ target_link_libraries(goto-cc goto-cc-lib)
29
29
30
30
if (WIN32 )
31
31
set_target_properties (goto-cc PROPERTIES OUTPUT_NAME goto-cl)
32
+ else ()
33
+ add_custom_command (TARGET goto-cc
34
+ POST_BUILD
35
+ COMMAND "${CMAKE_COMMAND} " -E create_symlink
36
+ goto-cc $<TARGET_FILE_DIR:goto-cc>/goto-gcc)
32
37
endif ()
You can’t perform that action at this time.
0 commit comments