generated from qudix/commonlibsse-ng-template
-
Notifications
You must be signed in to change notification settings - Fork 6
/
xmake.lua
39 lines (31 loc) · 940 Bytes
/
xmake.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
-- set minimum xmake version
set_xmakever("2.8.2")
-- includes
includes ("lib/commonlibsse-ng")
-- set project
set_project("OpenAnimationReplacer-ExamplePlugin")
set_version("1.0.0")
set_license("GPL-3.0")
-- set defaults
set_languages("c++23")
set_warnings("allextra")
-- set policies
set_policy("package.requires_lock", true)
-- add rules
add_rules("mode.debug", "mode.releasedbg")
add_rules("plugin.vsxmake.autoupdate")
-- targets
target("OpenAnimationReplacer-ExamplePlugin")
-- add dependencies to target
add_deps("commonlibsse-ng")
-- add commonlibsse-ng plugin
add_rules("commonlibsse-ng.plugin", {
name = "OpenAnimationReplacer-ExamplePlugin",
author = "Ersh",
description = "SKSE64 plugin example utilizing OpenAnimationReplacer's API"
})
-- add src files
add_files("src/**.cpp")
add_headerfiles("src/**.h")
add_includedirs("src")
set_pcxxheader("src/pch.h")