Skip to content

Commit

Permalink
bugfix: add_opp_run: ${name} is not (always) a valid target
Browse files Browse the repository at this point in the history
  • Loading branch information
riebl committed Aug 3, 2021
1 parent dc22d2d commit 40d348f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AddOppRun.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function(add_opp_run name)
# Generate debug-configuration in launch.json
# Adds file-level dependency to omnetpp-debug-setup-commands.json to rerun python script if setup-commands are changed
add_custom_command(
TARGET ${name} POST_BUILD
TARGET debug_${name} PRE_BUILD
COMMAND ${PYTHON_EXECUTABLE} ${THIS_MODULE_BASE_DIR}/opp_vscode_debug_config.py
${VSCODE_DEBUG_CONFIG}
${name}
Expand Down

0 comments on commit 40d348f

Please sign in to comment.