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 6161 "terminal.integrated.env.windows" : {
6262 "PATH" : " ${workspaceFolder}/buildtools/bin/zig-0.15.1;${workspaceFolder}/buildtools/llvm-21.1.0/bin;${env:PATH}"
6363 },
64+ "lldb.verboseLogging" : true ,
6465 },
6566 "extensions" : {
6667 // See http://go.microsoft.com/fwlink/?LinkId=827846
Original file line number Diff line number Diff line change @@ -37,6 +37,10 @@ endif()
3737# Clang-specific flags
3838if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
3939 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 ()
4044endif ()
4145
4246target_link_libraries (cesium
@@ -49,6 +53,17 @@ target_link_libraries(cesium
4953 tree -sitter-cpp
5054)
5155
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+
5267# Installation rules
5368install (TARGETS cesium
5469 RUNTIME DESTINATION bin
You can’t perform that action at this time.
0 commit comments