Skip to content

Commit

Permalink
Build tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
tuokri committed Jan 29, 2025
1 parent 9286f4c commit dfc7972
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions build_commands_bot/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ project(build_commands_bot)
set(CMAKE_CXX_STANDARD 23)

include(CheckIPOSupported)
# TODO: this is disabled temporarily!
set(BO_IPO_SUPPORTED 0)
# check_ipo_supported(RESULT BO_IPO_SUPPORTED OUTPUT BO_IPO_ERROR)
check_ipo_supported(RESULT BO_IPO_SUPPORTED OUTPUT BO_IPO_ERROR)

if (BO_IPO_SUPPORTED)
message(STATUS "IPO / LTO enabled: ${BO_IPO_SUPPORTED}")
Expand All @@ -21,7 +19,7 @@ find_package(
)

if (WIN32)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
# set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
endif ()
Expand Down
2 changes: 1 addition & 1 deletion build_commands_bot/cmake/dpp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ set(DPP_CORO ON)
set(DPP_FORMATTERS ON)
set(DPP_NO_CONAN ON)
set(DPP_USE_PCH ON)
set(BUILD_SHARED_LIBS OFF)
set(BUILD_SHARED_LIBS ON)

add_subdirectory("${CMAKE_SOURCE_DIR}/submodules/dpp")

0 comments on commit dfc7972

Please sign in to comment.