cmake+msvc: set debugger working directory to directory of binary
This commit is contained in:
parent
81beca3975
commit
5eba9b3092
@ -17,4 +17,8 @@ function(librw_platform_target TARGET)
|
||||
target_link_options(${TARGET} INTERFACE -Wl,--undefined,WinMain)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set_target_properties(${TARGET} PROPERTIES
|
||||
VS_DEBUGGER_WORKING_DIRECTORY "$<TARGET_FILE_DIR:${TARGET}>"
|
||||
)
|
||||
endfunction()
|
||||
|
Loading…
x
Reference in New Issue
Block a user