Remove LIBDCP_VERSION in favour of dcp::version.
[libdcp.git] / tools / dcpverify.cc
index 23023fa342ebcb7bfdb862c7233d6fc27e69adf4..db4b2bce9f72202e2bbefa624d52414d3a833e7e 100644 (file)
     files in the program, then also delete it here.
 */
 
-#include "verify.h"
-#include "compose.hpp"
+
 #include "common.h"
+#include "compose.hpp"
 #include "raw_convert.h"
+#include "verify.h"
+#include "version.h"
 #include <boost/bind.hpp>
 #include <boost/optional.hpp>
 #include <boost/filesystem.hpp>
 #include <iostream>
 #include <cstdlib>
 
-using std::cout;
+
 using std::cerr;
+using std::cout;
+using std::list;
 using std::string;
 using std::vector;
-using std::list;
 using boost::bind;
 using boost::optional;
 
+
 static void
 help (string n)
 {
@@ -98,7 +102,7 @@ main (int argc, char* argv[])
 
                switch (c) {
                case 'V':
-                       cout << "dcpverify version " << LIBDCP_VERSION << "\n";
+                       cout << "dcpverify version " << dcp::version << "\n";
                        exit (EXIT_SUCCESS);
                case 'h':
                        help (argv[0]);