Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 44dce83e51
Fetching contributors…

Cannot retrieve contributors at this time

44 lines (35 sloc) 0.925 kb
cmake_minimum_required(VERSION 2.6)
project (clic_project)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
find_package(Boost COMPONENTS iostreams REQUIRED)
find_package(ZLIB REQUIRED)
find_package(LibClang REQUIRED)
find_package(BerkeleyDB REQUIRED)
include_directories(
SYSTEM
${Boost_INCLUDE_DIRS}
${ZLIB_INCLUDE_DIRS}
${LibClang_INCLUDE_DIRS}
${DB_INCLUDE_DIRS}
)
add_library(common STATIC clic_parser.cpp clic_printer.cpp ClicDb.cpp)
add_executable(clic_clear clic_clear.cpp)
target_link_libraries(clic_clear
common
${DB_LIBRARIES}
)
add_executable(clic_add clic_add.cpp)
target_link_libraries(clic_add
common
${Boost_LIBRARIES}
${ZLIB_LIBRARIES}
${DB_LIBRARIES}
${LibClang_LIBRARIES}
)
add_executable(clic_rm clic_rm.cpp)
target_link_libraries(clic_rm
common
${Boost_LIBRARIES}
${ZLIB_LIBRARIES}
${DB_LIBRARIES}
)
Jump to Line
Something went wrong with that request. Please try again.