for debug linux

This commit is contained in:
lsv 2026-03-18 15:07:06 +05:00
parent 15e2fb00ad
commit a0fe84b11f
2 changed files with 5 additions and 1 deletions

3
.vscode/launch.json vendored
View file

@ -20,6 +20,9 @@
"ignoreFailures": true
}
]
,"env": {
"LD_LIBRARY_PATH": "${workspaceFolder}/build"
}
}
]
}

View file

@ -77,7 +77,8 @@ file(GLOB_RECURSE SOURCES
)
##########################################################
set(RPATH ".")
list(APPEND CMAKE_BUILD_RPATH ${RPATH})
add_executable(${PROJECT_NAME} )
# После сборки — разделить символы и приложение
add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD