chore: remove .clangd config, update CMakeLists, Dockerfile, and code

This commit is contained in:
Arthur K. 2025-01-19 14:20:26 +03:00
parent 87a758ecd8
commit d735a356b3
Signed by: wzray
GPG key ID: B97F30FDC4636357
15 changed files with 76 additions and 58 deletions

View file

@ -9,10 +9,8 @@ add_executable(${PROJECT_NAME}
${sources}
)
if(UNIX)
set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++")
target_link_libraries(${PROJECT_NAME} ole32 ws2_32 oleaut32 uuid)
target_link_libraries(${PROJECT_NAME} winpthread -static)
endif()
set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++")
target_link_libraries(${PROJECT_NAME} ole32 ws2_32 oleaut32 uuid)
target_link_libraries(${PROJECT_NAME} winpthread -static)
target_include_directories(${PROJECT_NAME} PUBLIC include)