Skip to content

Commit

Permalink
remove shared defines
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxwellGengYF committed Apr 29, 2024
1 parent 6324ec9 commit 00e3af4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ on_load(function(target)
target:add("includedirs", rela("include"), {
public = true
})
target:add("defines", "SPDLOG_NO_EXCEPTIONS", "SPDLOG_NO_THREAD_ID", "SPDLOG_DISABLE_DEFAULT_LOGGER", "FMT_SHARED", "FMT_CONSTEVAL=constexpr", "FMT_USE_CONSTEXPR=1", "FMT_EXCEPTIONS=0", {
target:add("defines", "SPDLOG_NO_EXCEPTIONS", "SPDLOG_NO_THREAD_ID", "SPDLOG_DISABLE_DEFAULT_LOGGER", "FMT_CONSTEVAL=constexpr", "FMT_USE_CONSTEXPR=1", "FMT_EXCEPTIONS=0", {
public = true
})
target:add("defines", "FMT_EXPORT", "spdlog_EXPORTS", "SPDLOG_COMPILED_LIB")
target:add("defines", "SPDLOG_COMPILED_LIB")
end)
add_headerfiles("include/**.h")
add_files("src/*.cpp")
Expand Down

0 comments on commit 00e3af4

Please sign in to comment.