diff options
author | Theofilos Intzoglou <int.teo@gmail.com> | 2011-10-05 00:57:42 +0300 |
---|---|---|
committer | Theofilos Intzoglou <int.teo@gmail.com> | 2011-10-05 00:57:42 +0300 |
commit | a0fdbc8c237219c1f15d60bae87e2da0ec261564 (patch) | |
tree | a32787ecb547489f18d984b022977a2f9bf4671e /src/CMakeLists.txt | |
parent | Implement get_hard_masked and get_path, (diff) | |
download | c-portage-a0fdbc8c237219c1f15d60bae87e2da0ec261564.tar.gz c-portage-a0fdbc8c237219c1f15d60bae87e2da0ec261564.tar.bz2 c-portage-a0fdbc8c237219c1f15d60bae87e2da0ec261564.zip |
Port to CMake and add a check for the portage api. If the api is
not available, it will refuse to build the library.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..7eb4403 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,5 @@ +find_package(PythonLibs REQUIRED) + +include_directories(${PYTHON_INCLUDE_DIRS}) +add_definitions(-std=c99) +add_library(cportage dataconnect.c dict.c flag.c interpreter.c packageproperties.c portagesettings.c stringlist.c tester.c) |