mirror of
https://github.com/kevinbentley/Descent3.git
synced 2026-04-07 20:00:07 -04:00
13 lines
590 B
CMake
13 lines
590 B
CMake
include_directories("include" "source" "scriptany" "scriptarray" "scriptdictionary" "scriptfile" "scriptstring")
|
|
|
|
file(GLOB_RECURSE HEADERS "*.h")
|
|
file(GLOB_RECURSE CPPS "*.cpp")
|
|
|
|
SOURCE_GROUP(Main REGULAR_EXPRESSION .*)
|
|
SOURCE_GROUP(ScriptAny REGULAR_EXPRESSION scriptany?.*)
|
|
SOURCE_GROUP(ScriptArray REGULAR_EXPRESSION scriptarray?.*)
|
|
SOURCE_GROUP(ScriptDictionary REGULAR_EXPRESSION scriptdictionary?.*)
|
|
SOURCE_GROUP(ScriptFile REGULAR_EXPRESSION scriptfile?.*)
|
|
SOURCE_GROUP(ScriptString REGULAR_EXPRESSION scriptstring?.*)
|
|
|
|
ADD_LIBRARY(AngelScript STATIC ${HEADERS} ${CPPS}) |