package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
539 B
19 lines
539 B
add_rules("mode.debug", "mode.release") |
|
|
|
add_requires("nlopt", "polyclipping", "boost") |
|
|
|
target("libnest2d") |
|
set_kind("$(kind)") |
|
set_languages("cxx14") |
|
add_packages("nlopt", "polyclipping", "boost") |
|
|
|
add_files("src/*.cpp") |
|
add_headerfiles("include/(**.hpp)") |
|
|
|
add_defines("LIBNEST2D_GEOMETRIES_clipper", "LIBNEST2D_OPTIMIZER_nlopt") |
|
|
|
add_includedirs("include", {public = true}) |
|
|
|
if is_plat("windows") and is_kind("shared") then |
|
add_rules("utils.symbols.export_all", {export_classes = true}) |
|
end
|
|
|