summaryrefslogtreecommitdiff
path: root/indra/lscript/lscript_execute/CMakeLists.txt
blob: 49605982a825fbe7347a42944421b1b9d4243752 (plain)
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
40
41
42
43
# -*- cmake -*-

include(00-Common)
include(LLCommon)
include(LLMath)
include(LScript)

include_directories(
    ${LLCOMMON_INCLUDE_DIRS}
    ${LLMATH_INCLUDE_DIRS}
    ${LSCRIPT_INCLUDE_DIRS}
    )
include_directories(SYSTEM
    ${LLCOMMON_SYSTEM_INCLUDE_DIRS}
    )

set(lscript_execute_SOURCE_FILES
    llscriptresource.cpp
    llscriptresourceconsumer.cpp
    llscriptresourcepool.cpp
    lscript_execute.cpp
    lscript_heapruntime.cpp
    lscript_readlso.cpp
    )

set(lscript_execute_HEADER_FILES
    CMakeLists.txt

    ../llscriptresource.h
    ../llscriptresourceconsumer.h
    ../llscriptresourcepool.h
    ../lscript_execute.h
    ../lscript_rt_interface.h
    lscript_heapruntime.h
    lscript_readlso.h
    )

set_source_files_properties(${lscript_execute_HEADER_FILES}
                            PROPERTIES HEADER_FILE_ONLY TRUE)

list(APPEND lscript_execute_SOURCE_FILES ${lscript_execute_HEADER_FILES})

add_library (lscript_execute ${lscript_execute_SOURCE_FILES})