mirror of
https://github.com/AtomUI/AtomUI.git
synced 2026-10-25 02:30:32 +08:00
32 lines
874 B
Lua
32 lines
874 B
Lua
-- This source file is part of the atomui project
|
|
--
|
|
-- Copyright (c) 2017 - 2022 qinware, All rights reserved.
|
|
-- Copyright (c) 2017 - 2022 chinboy <chinware@163.com>
|
|
--
|
|
-- See https://qinware.com/LICENSE.txt for license information
|
|
--
|
|
-- Created by chinboy on 2025/05/19.
|
|
|
|
target("AtomUINative", function()
|
|
set_kind("shared")
|
|
|
|
add_defines("ATOMUI_LIBRARY")
|
|
add_files("Global.cpp")
|
|
add_files("bridge/WindowUtils.cpp")
|
|
add_files("WindowUtils.cpp")
|
|
|
|
set_prefixdir("$(arch)")
|
|
|
|
if is_os("macosx") then
|
|
add_frameworks("Foundation", "AppKit")
|
|
add_files("macos/WindowUtils.mm")
|
|
elseif is_os("windows") then
|
|
set_prefixname("")
|
|
add_files("windows/WindowUtils.cpp")
|
|
elseif is_os("linux") then
|
|
add_syslinks("xcb")
|
|
add_syslinks("xcb-shape")
|
|
add_files("linux/WindowUtils.cpp")
|
|
end
|
|
end)
|