Mercurial > trustbridge
view cinst/CMakeLists.txt @ 89:00f9b91f4039
Do not leak a byte if the file is empty
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Thu, 20 Mar 2014 18:40:15 +0000 |
parents | 8ffbb48528ae |
children | 7e2d08555112 |
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}) if (WIN32) set(WIN_EXTRA_LIBS -lcrypt32) endif(WIN32) target_link_libraries(cinst ${PROFILING_LIBS} ${POLARSSL_LIBRARIES} ${WIN_EXTRA_LIBS})