File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 61
61
"terminal.integrated.env.windows" : {
62
62
"PATH" : " ${workspaceFolder}/buildtools/bin/zig-0.15.1;${workspaceFolder}/buildtools/llvm-21.1.0/bin;${env:PATH}"
63
63
},
64
+ "lldb.verboseLogging" : true ,
64
65
},
65
66
"extensions" : {
66
67
// See http://go.microsoft.com/fwlink/?LinkId=827846
Original file line number Diff line number Diff line change @@ -37,6 +37,10 @@ endif()
37
37
# Clang-specific flags
38
38
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
39
39
target_compile_options (cesium PRIVATE -Wno-unused-parameter)
40
+ # Fix lld-link warning about multiple entry points
41
+ if (WIN32 )
42
+ target_link_options (cesium PRIVATE -Xlinker /ENTRY:wWinMainCRTStartup)
43
+ endif ()
40
44
endif ()
41
45
42
46
target_link_libraries (cesium
@@ -49,6 +53,17 @@ target_link_libraries(cesium
49
53
tree -sitter-cpp
50
54
)
51
55
56
+ # Deploy Qt libraries after build (for debug/development)
57
+ if (WIN32 )
58
+ find_program (WINDEPLOYQT_EXECUTABLE windeployqt HINTS ${QT6_INSTALL_PREFIX} /bin)
59
+ if (WINDEPLOYQT_EXECUTABLE)
60
+ add_custom_command (TARGET cesium POST_BUILD
61
+ COMMAND ${WINDEPLOYQT_EXECUTABLE} --debug --no -translations --no -system -d3d-compiler $<TARGET_FILE:cesium>
62
+ COMMENT "Deploying Qt libraries"
63
+ )
64
+ endif ()
65
+ endif ()
66
+
52
67
# Installation rules
53
68
install (TARGETS cesium
54
69
RUNTIME DESTINATION bin
You can’t perform that action at this time.
0 commit comments