summaryrefslogtreecommitdiff
path: root/indra/integration_tests/llimage_libtest/CMakeLists.txt
blob: 84d1feb75888201f9558b7c2cdce351f7f4a85f3 (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 -*-

# Integration tests of the llimage library (JPEG2000, PNG, jpeg, etc... images reading and writing)
if (LL_TESTS)

project (llimage_libtest)

include(00-Common)
include(LLCommon)
include(LLImage)
include(LLMath)
include(LLKDU)

set(llimage_libtest_SOURCE_FILES
    llimage_libtest.cpp
    )

set(llimage_libtest_HEADER_FILES
    CMakeLists.txt
    llimage_libtest.h
    )

list(APPEND llimage_libtest_SOURCE_FILES ${llimage_libtest_HEADER_FILES})

add_executable(llimage_libtest
    ${llimage_libtest_SOURCE_FILES}
    )

# Libraries on which this application depends on
# Sort by high-level to low-level
target_link_libraries(llimage_libtest
        llcommon
        llfilesystem
        llmath
        llimage
        llkdu
        llimagej2coj
        )

# Ensure people working on the viewer don't break this library
add_dependencies(viewer llimage_libtest)

endif(LL_TESTS)