#include "reel_sound_asset.h"
#include "reel_subtitle_asset.h"
#include "util.h"
+#include "version.h"
#include "warnings.h"
#include "xml.h"
LIBDCP_DISABLE_WARNINGS
CPL::CPL (string annotation_text, ContentKind content_kind, Standard standard)
/* default _content_title_text to annotation_text */
- : _issuer ("libdcp" LIBDCP_VERSION)
- , _creator ("libdcp" LIBDCP_VERSION)
+ : _issuer("libdcp", dcp::version)
+ , _creator("libdcp", dcp::version)
, _issue_date (LocalTime().as_string())
, _annotation_text (annotation_text)
, _content_title_text (annotation_text)
*/
+#include "local_time.h"
#include "metadata.h"
#include "util.h"
-#include "local_time.h"
+#include "version.h"
#include <asdcp/AS_DCP.h>
#include <iomanip>
#include <time.h>
MXFMetadata::MXFMetadata ()
: company_name ("libdcp")
, product_name ("libdcp")
- , product_version (LIBDCP_VERSION)
+ , product_version(dcp::version)
{
}
#include "mono_picture_asset.h"
#include "mono_picture_asset_writer.h"
#include "util.h"
+#include "version.h"
#include <asdcp/AS_DCP.h>
#include <getopt.h>
#include <iostream>
switch (c) {
case 'A':
- cout << "libdcp version " << LIBDCP_VERSION << "\n";
+ cout << "libdcp version " << dcp::version << "\n";
exit (EXIT_SUCCESS);
case 'v':
verbose = true;
switch (c) {
case 'V':
- cout << "dcpdiff version " << LIBDCP_VERSION << "\n";
+ cout << "dcpdiff version " << dcp::version << "\n";
exit (EXIT_SUCCESS);
case 'h':
help (argv[0]);
switch (c) {
case 'v':
- cout << "libdcp version " << LIBDCP_VERSION << "\n";
+ cout << "libdcp version " << dcp::version << "\n";
exit (EXIT_SUCCESS);
case 'h':
help (argv[0]);
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)
{
switch (c) {
case 'V':
- cout << "dcpverify version " << LIBDCP_VERSION << "\n";
+ cout << "dcpverify version " << dcp::version << "\n";
exit (EXIT_SUCCESS);
case 'h':
help (argv[0]);