summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEnrico Zini <enrico@enricozini.org>2015-09-10 19:52:45 +0200
committerEnrico Zini <enrico@enricozini.org>2015-09-10 19:52:45 +0200
commitc5dd516802af50f8e369e9f520b88dcf28dc77df (patch)
treeb7df739f0cb01abf87bd6cae9cd55bb26920fc94 /tools
parent74e4ebe74b307d65d9064357cbf80855afbe059b (diff)
parentea85d58bc9d619e1511b40a16a630c5da9e60a42 (diff)
downloadlibept-c5dd516802af50f8e369e9f520b88dcf28dc77df.tar.gz
Merge branch 'notagcoll': removed dependencies on tagcoll and wibble.
Diffstat (limited to 'tools')
-rw-r--r--tools/CMakeLists.txt1
-rw-r--r--tools/ept-cat.cpp6
2 files changed, 4 insertions, 3 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index 33a4a6f..d3210f1 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -1,5 +1,6 @@
include_directories( ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}
${TAGCOLL_INCLUDE_DIRS} ${WIBBLE_INCLUDE_DIRS} )
+add_definitions( --std=c++11 )
link_libraries( ept )
add_executable( ept-cat ept-cat.cpp )
diff --git a/tools/ept-cat.cpp b/tools/ept-cat.cpp
index d5af2f6..df68682 100644
--- a/tools/ept-cat.cpp
+++ b/tools/ept-cat.cpp
@@ -1,5 +1,5 @@
#include <ept/apt/apt.h>
-#include <ept/apt/apt.h>
+#include <iostream>
int summary = 0;
@@ -10,7 +10,7 @@ int main( int argc, char **argv ) {
Apt db;
for (Apt::record_iterator i = db.recordBegin(); i != db.recordEnd(); ++i)
- cout << *i << endl;
-
+ cout << *i << endl;
+
return 0;
}