Skip to content

Commit

Permalink
chore: disable Debug builds for c++ plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed Jul 28, 2024
1 parent c175001 commit ec181dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/EndstoneHeaders.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ else ()
message(FATAL_ERROR "${CMAKE_SYSTEM_NAME} (${CMAKE_SYSTEM_PROCESSOR}) is not supported")
endif ()

if (CMAKE_BUILD_TYPE STREQUAL "Debug")
message(FATAL_ERROR "Debug builds are disabled. Please build in 'Release' or 'RelWithDebInfo' mode.")
endif ()


# ===============
# Dependencies
Expand Down

0 comments on commit ec181dd

Please sign in to comment.