view cinst/CMakeLists.txt @ 61:b8cd573bd3ac

Fix check for malloc result, found by cppcheck.
author Bernhard Reiter <bernhard@intevation.de>
date Tue, 18 Mar 2014 14:05:17 +0100
parents 3f6378647371
children 8ffbb48528ae
line wrap: on
line source
set(CMAKE_AUTOMOC OFF)

include_directories(${POLARSSL_INCLUDE_DIR})
include_directories(${CMAKE_SOURCE_DIR}/common)

set(CINST_SOURCES
    ${CMAKE_SOURCE_DIR}/cinst/main.c
    ${CMAKE_SOURCE_DIR}/common/listutil.c
    ${CMAKE_SOURCE_DIR}/common/strhelp.c
)

set(MOZILLA_SOURCES
    ${CMAKE_SOURCE_DIR}/cinst/mozilla.c
)

add_executable(cinst ${CINST_SOURCES})

target_link_libraries(cinst
   ${PROFILING_LIBS}
   ${POLARSSL_LIBRARIES})

http://wald.intevation.org/projects/trustbridge/