# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
add_compile_options(-fvisibility=hidden)
add_compile_options(-DPARANOID_LEVEL=0)

vespa_define_module(
    DEPENDS
    fastos
    vespalib
    vespalog

    TESTS
    src/tests
    src/tests/allocfree
    src/tests/doubledelete
    src/tests/overwrite
    src/tests/stacktrace
    src/tests/test1
    src/tests/test2
    src/tests/thread

    LIBS
    src/vespamalloc
    src/vespamalloc/malloc
    src/vespamalloc/util
)

vespa_install_script(bin/parsememorydump.pl vespamalloc-parsememorydump.pl bin)
install(FILES etc/vespamalloc.conf PERMISSIONS OWNER_READ GROUP_READ WORLD_READ DESTINATION etc)

# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
add_compile_options(-fvisibility=hidden)
add_definitions(-DPARANOID_LEVEL=0)

vespa_define_module(
    DEPENDS
    fastos
    vespalib
    vespalog

    TESTS
    src/tests
    src/tests/allocfree
    src/tests/doubledelete
    src/tests/overwrite
    src/tests/stacktrace
    src/tests/test1
    src/tests/test2
    src/tests/thread

    LIBS
    src/vespamalloc
    src/vespamalloc/malloc
    src/vespamalloc/util
)

vespa_install_script(bin/parsememorydump.pl vespamalloc-parsememorydump.pl bin)
install(FILES etc/vespamalloc.conf PERMISSIONS OWNER_READ GROUP_READ WORLD_READ DESTINATION etc)

Use add_definitions for preprocessor definitions
Use add_definitions for preprocessor definitions
