view cinst/CMakeLists.txt @ 66:4f79cf993737

Tiny improvement: free resources first that you have aquired last. Added TODO for better error reporting.
author Bernhard Reiter <bernhard@intevation.de>
date Tue, 18 Mar 2014 16:37:40 +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/