Merge pull request #6 from sigonasr2/set-visual-studio-working-directory-to-project-root,-for-easy-development

set working directory to project root
main
sigonasr2, Sig, Sigo 3 months ago committed by GitHub
commit ae6a74e6ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      CMakeLists.txt

@ -169,7 +169,7 @@ if(WIN32 AND MSVC)
# set working directory for Visual Studio Debugger
set_target_properties(
${OutputExecutable} PROPERTIES
VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
)
# set subsytem, console if HAS_TERMINAL is true. windows if not

Loading…
Cancel
Save