mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-23 21:29:13 +02:00
add vcmiLua headers to CMake
This commit is contained in:
parent
f115a49926
commit
cd88f3fa9e
@ -39,7 +39,50 @@ set(lib_SRCS
|
|||||||
api/StackInstance.cpp
|
api/StackInstance.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
add_library(vcmiLua SHARED ${lib_SRCS})
|
set(lib_HDRS
|
||||||
|
StdInc.h
|
||||||
|
LuaCallWrapper.h
|
||||||
|
LuaFunctor.h
|
||||||
|
LuaReference.h
|
||||||
|
LuaScriptModule.h
|
||||||
|
LuaScriptingContext.h
|
||||||
|
LuaSpellEffect.h
|
||||||
|
LuaStack.h
|
||||||
|
LuaWrapper.h
|
||||||
|
|
||||||
|
api/battle/UnitProxy.h
|
||||||
|
|
||||||
|
api/events/BattleEvents.h
|
||||||
|
api/events/EventBusProxy.h
|
||||||
|
api/events/GenericEvents.h
|
||||||
|
api/events/SubscriptionRegistryProxy.h
|
||||||
|
|
||||||
|
api/netpacks/BattleLogMessage.h
|
||||||
|
api/netpacks/BattleStackMoved.h
|
||||||
|
api/netpacks/BattleUnitsChanged.h
|
||||||
|
api/netpacks/EntitiesChanged.h
|
||||||
|
api/netpacks/InfoWindow.h
|
||||||
|
api/netpacks/PackForClient.h
|
||||||
|
api/netpacks/SetResources.h
|
||||||
|
|
||||||
|
api/Artifact.h
|
||||||
|
api/BattleCb.h
|
||||||
|
api/BonusSystem.h
|
||||||
|
api/Creature.h
|
||||||
|
api/Faction.h
|
||||||
|
api/GameCb.h
|
||||||
|
api/HeroClass.h
|
||||||
|
api/HeroInstance.h
|
||||||
|
api/HeroType.h
|
||||||
|
api/Registry.h
|
||||||
|
api/ServerCb.h
|
||||||
|
api/Services.h
|
||||||
|
api/Skill.h
|
||||||
|
api/Spell.h
|
||||||
|
api/StackInstance.h
|
||||||
|
)
|
||||||
|
|
||||||
|
add_library(vcmiLua SHARED ${lib_SRCS} ${lib_HDRS})
|
||||||
target_link_libraries(vcmiLua Boost::boost luajit::luajit vcmi)
|
target_link_libraries(vcmiLua Boost::boost luajit::luajit vcmi)
|
||||||
|
|
||||||
vcmi_set_output_dir(vcmiLua "scripting")
|
vcmi_set_output_dir(vcmiLua "scripting")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user