File tree 3 files changed +7
-5
lines changed
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}")
46
46
47
47
project (CBMC VERSION ${CBMC_VERSION} )
48
48
49
+ set (CBMC_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR} )
50
+
49
51
# when config.inc changes we’ll need to reconfigure to check if the version changed
50
52
set_property (DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR} /src/config.inc" )
51
53
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ Contributing to the code base
107
107
6 . Create a Pull Request targeting the ` develop ` branch
108
108
109
109
New 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 )
111
111
page for small, focussed feature ideas.
112
112
113
113
License
Original file line number Diff line number Diff line change @@ -58,15 +58,15 @@ endif()
58
58
59
59
# bash completion
60
60
if (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"
63
63
DEPENDS $<TARGET_FILE:cbmc>
64
64
)
65
65
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"
67
67
)
68
68
install (
69
- FILES ${CMAKE_SOURCE_DIR } /scripts/bash-autocomplete/cbmc.sh
69
+ FILES ${CBMC_ROOT_DIR } /scripts/bash-autocomplete/cbmc.sh
70
70
DESTINATION etc/bash_completion.d
71
71
RENAME cbmc
72
72
)
You can’t perform that action at this time.
0 commit comments