File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed
Expand file tree Collapse file tree 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)
3434add_subdirectory (goto-diff)
3535add_subdirectory (goto-instrument)
3636add_subdirectory (goto-instrument-typedef)
37+ if (NOT WIN32 )
38+ add_subdirectory (goto-gcc)
39+ endif ()
3740add_subdirectory (invariants)
3841add_subdirectory (jbmc-strings )
3942add_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)
2929
3030if (WIN32 )
3131 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)
3237endif ()
You can’t perform that action at this time.
0 commit comments