|
|
@ -19,7 +19,7 @@ package("ftxui") |
|
|
|
|
|
|
|
|
|
|
|
add_links("ftxui-component", "ftxui-dom", "ftxui-screen") |
|
|
|
add_links("ftxui-component", "ftxui-dom", "ftxui-screen") |
|
|
|
|
|
|
|
|
|
|
|
on_install("linux", "windows", "macosx", "bsd", "mingw", function (package) |
|
|
|
on_install("linux", "windows", "macosx", "bsd", "mingw", "cross", function (package) |
|
|
|
local configs = {"-DFTXUI_BUILD_DOCS=OFF", "-DFTXUI_BUILD_EXAMPLES=OFF"} |
|
|
|
local configs = {"-DFTXUI_BUILD_DOCS=OFF", "-DFTXUI_BUILD_EXAMPLES=OFF"} |
|
|
|
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release")) |
|
|
|
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")) |
|
|
|
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF")) |
|
|
|