CMakeLists.txt 657 B

12345678910111213141516
  1. cmake_minimum_required(VERSION 2.6)
  2. PROJECT(libopkg C)
  3. INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR};${CMAKE_CURRENT_SOURCE_DIR}/..)
  4. LINK_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../libbb)
  5. ADD_LIBRARY(opkg STATIC
  6. active_list.c conffile.c conffile_list.c file_util.c hash_table.c md5.c
  7. nv_pair.c nv_pair_list.c opkg.c opkg_cmd.c opkg_conf.c opkg_configure.c
  8. opkg_download.c opkg_install.c opkg_message.c opkg_remove.c
  9. opkg_upgrade.c opkg_utils.c parse_util.c pkg.c pkg_depends.c pkg_dest.c
  10. pkg_dest_list.c pkg_extract.c pkg_hash.c pkg_parse.c pkg_src.c
  11. pkg_src_list.c pkg_vec.c sha256.c sprintf_alloc.c str_list.c
  12. void_list.c xregex.c xsystem.c
  13. )