- changed debug mechanism a bit, it is now part of the pool
[platform/upstream/libsolv.git] / src / CMakeLists.txt
1
2 SET(libsatsolver_SRCS bitmap.c  poolarch.c  poolvendor.c  poolid.c strpool.c
3 solver.c repo_solv.c evr.c pool.c queue.c   repo.c  util.c policy.c)
4
5 ADD_LIBRARY(satsolver STATIC ${libsatsolver_SRCS})
6
7 SET(libsatsolver_HEADERS bitmap.h evr.h hash.h policy.h poolarch.h poolvendor.h pool.h poolid.h pooltypes.h queue.h solvable.h solver.h repo.h repo_solv.h util.h strpool.h)
8
9 SET( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O3 -Wall -fPIC" )
10
11 INSTALL(  FILES ${libsatsolver_HEADERS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/satsolver" )
12 INSTALL(TARGETS satsolver LIBRARY DESTINATION ${LIB_INSTALL_DIR} ARCHIVE DESTINATION ${LIB_INSTALL_DIR})