File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ message(STATUS "Building CBMC version ${CBMC_VERSION}")
4646
4747project (CBMC VERSION ${CBMC_VERSION} )
4848
49+ set (CBMC_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR} )
50+
4951# when config.inc changes we’ll need to reconfigure to check if the version changed
5052set_property (DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR} /src/config.inc" )
5153
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ Contributing to the code base
1071076 . Create a Pull Request targeting the ` develop ` branch
108108
109109New contributors can look through the [ mini
110- projects] ( https://github.com/diffblue/cbmc/blob/develop/MINI-PROJECTS .md )
110+ projects] ( https://github.com/diffblue/cbmc/blob/develop/FEATURE_IDEAS .md )
111111page for small, focussed feature ideas.
112112
113113License
Original file line number Diff line number Diff line change @@ -58,15 +58,15 @@ endif()
5858
5959# bash completion
6060if (NOT WIN32 )
61- add_custom_command (OUTPUT "${CMAKE_SOURCE_DIR } /scripts/bash-autocomplete/cbmc.sh"
62- COMMAND "${CMAKE_SOURCE_DIR } /scripts/bash-autocomplete/extract_switches.sh"
61+ add_custom_command (OUTPUT "${CBMC_ROOT_DIR } /scripts/bash-autocomplete/cbmc.sh"
62+ COMMAND "${CBMC_ROOT_DIR } /scripts/bash-autocomplete/extract_switches.sh"
6363 DEPENDS $<TARGET_FILE:cbmc>
6464 )
6565 add_custom_target (cbmc.sh ALL
66- DEPENDS "${CMAKE_SOURCE_DIR } /scripts/bash-autocomplete/cbmc.sh"
66+ DEPENDS "${CBMC_ROOT_DIR } /scripts/bash-autocomplete/cbmc.sh"
6767 )
6868 install (
69- FILES ${CMAKE_SOURCE_DIR } /scripts/bash-autocomplete/cbmc.sh
69+ FILES ${CBMC_ROOT_DIR } /scripts/bash-autocomplete/cbmc.sh
7070 DESTINATION etc/bash_completion.d
7171 RENAME cbmc
7272 )
You can’t perform that action at this time.
0 commit comments