summaryrefslogtreecommitdiff
path: root/indra/lscript/lscript_library/CMakeLists.txt
blob: 5af850c41bc2df07b7b125fd0a5020d141cc6539 (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
# -*- 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}
    )
include_directories(SYSTEM
    ${LLCOMMON_SYSTEM_INCLUDE_DIRS}
    )

add_library (lscript_library ${lscript_library_SOURCE_FILES})