Skip to content

Commit

Permalink
Merge branch 'develop' for release v3.51.1
Browse files Browse the repository at this point in the history
  • Loading branch information
epoupon committed Mar 19, 2024
2 parents 14c4ac6 + 717f712 commit 4e5a742
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ HeaderFilterRegex: ''
AnalyzeTemporaryDtors: false
FormatStyle: none
User: ''
CheckOptions:
CheckOptions:
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: '1'
- key: readability-identifier-naming.IgnoreClassesWithAllMemberVariablesBeingPublic
value: '1'
- key: cppcoreguidelines-avoid-do-while.IgnoreMacros
Expand Down
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ if (BUILD_BENCHMARKS)
message(STATUS "Building benchmarks")
endif()

if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
add_definitions(-DNDEBUG)
endif()

add_subdirectory(src)

install(DIRECTORY approot DESTINATION share/lms)
Expand Down
2 changes: 1 addition & 1 deletion src/libs/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ target_link_libraries(lmscore PUBLIC
Wt::Wt
)

install(TARGETS lmscore DESTINATION lib ${CMAKE_INSTALL_LIBDIR})
install(TARGETS lmscore DESTINATION ${CMAKE_INSTALL_LIBDIR})

if(BUILD_TESTING)
add_subdirectory(test)
Expand Down
4 changes: 2 additions & 2 deletions src/libs/database/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ add_library(lmsdatabase SHARED
impl/Utils.cpp
)

if (CMAKE_BUILD_TYPE MATCHES "Debug")
target_sources(lmsdatabase PRIVATE impl/TransactionChecker.cpp)
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
target_sources(lmsdatabase PRIVATE impl/TransactionChecker.cpp)
endif()

target_include_directories(lmsdatabase INTERFACE
Expand Down

0 comments on commit 4e5a742

Please sign in to comment.