- obj.uselib += ' WINSOCK2'
- obj.source = """
- ab_transcode_job.cc
- ab_transcoder.cc
- check_hashes_job.cc
- config.cc
- copy_from_dvd_job.cc
- cross.cc
- dcp_content_type.cc
- dcp_video_frame.cc
- decoder.cc
- decoder_factory.cc
- delay_line.cc
- dolby_cp750.cc
- dvd.cc
- encoder.cc
- encoder_factory.cc
- examine_content_job.cc
- ffmpeg_compatibility.cc
- ffmpeg_decoder.cc
- film.cc
- film_state.cc
- filter.cc
- format.cc
- image.cc
- imagemagick_decoder.cc
- j2k_still_encoder.cc
- j2k_wav_encoder.cc
- job.cc
- job_manager.cc
- log.cc
- lut.cc
- make_dcp_job.cc
- scp_dcp_job.cc
- scaler.cc
- screen.cc
- server.cc
- sound_processor.cc
- thumbs_job.cc
- tiff_decoder.cc
- tiff_encoder.cc
- timer.cc
- transcode_job.cc
- transcoder.cc
- util.cc
- version.cc
- """
-
- if not bld.env.DISABLE_PLAYER:
- obj.source += " player.cc player_manager.cc"
-
- obj.target = 'dvdomatic'
+ obj.uselib += ' WINSOCK2 BFD DBGHELP IBERTY'
+ obj.source += ' stack.cpp'
+ if bld.env.STATIC:
+ obj.uselib += ' XML++'
+ obj.source = sources + " version.cc"
+ obj.target = 'dcpomatic'
+
+ i18n.po_to_mo(os.path.join('src', 'lib'), 'libdcpomatic', bld)
+
+def pot(bld):
+ i18n.pot(os.path.join('src', 'lib'), sources, 'libdcpomatic')
+
+def pot_merge(bld):
+ i18n.pot_merge(os.path.join('src', 'lib'), 'libdcpomatic')