Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

abseil: make cxx17 optional #2818

Merged
merged 2 commits into from
Nov 11, 2023
Merged

Conversation

Chi-EEE
Copy link
Contributor

@Chi-EEE Chi-EEE commented Nov 10, 2023

No description provided.

table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
import("package.tools.cmake").install(package, configs, {buildir = os.tmpfile() .. ".dir"})
end)

on_test(function (package)
local configs = {}
if package:config("cxx17") then
configs["languages"] = "cxx17"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

configs.languages

@waruqi waruqi merged commit 38bc1df into xmake-io:dev Nov 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants