-
-
Notifications
You must be signed in to change notification settings - Fork 396
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
88a84bb
commit 4f9711b
Showing
2 changed files
with
58 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
option("version", {default = "2.6.0"}) | ||
|
||
add_rules("mode.debug", "mode.release") | ||
|
||
if not is_plat("windows") then | ||
add_defines("HAVE_STRNDUP") | ||
end | ||
|
||
if has_config("version") then | ||
add_defines("PACKAGE_VERSION=\"" .. get_config("version") .. "\"") | ||
end | ||
|
||
target("plist") | ||
set_kind("$(kind)") | ||
add_files("libcnary/*.c", "src/*.c") | ||
add_includedirs("src", "include", "libcnary/include") | ||
add_headerfiles("include/(plist/*.h)") | ||
if is_plat("windows") and is_kind("shared") then | ||
add_rules("utils.symbols.export_all") | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters