We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdb5149 commit b18ff27Copy full SHA for b18ff27
CMakeLists.txt
@@ -17,6 +17,11 @@ enable_testing()
17
# Cache the variable to allow the user to alter the configuration.
18
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL" CACHE
19
STRING "MSVC Runtime Library")
20
+
21
+# NOTE(compnerd) this is to help LLDB identify where the binaries reside.
22
+set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
23
+set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
24
25
if(CMAKE_VERSION VERSION_LESS 3.16.0)
26
if(NOT (CMAKE_SYSTEM_NAME STREQUAL Windows OR CMAKE_SYSTEM_NAME STREQUAL Darwin))
27
set(CMAKE_SHARED_LIBRARY_RUNTIME_Swift_FLAG "-Xlinker -rpath -Xlinker ")
0 commit comments