summaryrefslogtreecommitdiff
path: root/indra/lscript/lscript_library/CMakeLists.txt
blob: f6bc67a994a3ec83cd4309839602f4c3ba3380b4 (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
# -*- cmake -*-

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

set(lscript_library_SOURCE_FILES
    lscript_alloc.cpp
    lscript_export.cpp
    lscript_library.cpp
    )

set(lscript_library_HEADER_FILES
    CMakeLists.txt

    ../lscript_library.h
    ../lscript_export.h
    )

set_source_files_properties(${lscript_library_HEADER_FILES}
                            PROPERTIES HEADER_FILE_ONLY TRUE)

list(APPEND lscript_library_SOURCE_FILES ${lscript_library_HEADER_FILES})

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

add_library (lscript_library ${lscript_library_SOURCE_FILES})