Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
enable symbols export
Browse files Browse the repository at this point in the history
  • Loading branch information
Prevter committed Apr 3, 2024
1 parent 9d3222d commit c4b4d02
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_VISIBILITY_PRESET hidden)

# Export symbols for better debugging
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)

# Enable C++ exceptions for Clang-cl
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Xclang -fcxx-exceptions)
Expand Down

0 comments on commit c4b4d02

Please sign in to comment.