Skip to content

Commit 3877941

Browse files
committed
cmake: now compiling (and bundling OFX plugins into the .app)
1 parent fd37555 commit 3877941

File tree

14 files changed

+547
-3
lines changed

14 files changed

+547
-3
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ endif()
4141
# The install rule does not depend on all, i.e. everything will not be built before installing
4242
set( CMAKE_SKIP_INSTALL_ALL_DEPENDENCY TRUE )
4343

44+
# Create an alias for all OFX plugins.
45+
add_custom_target(ofxplugins)
46+
4447
# Include subdirs
4548
add_subdirectory(libraries/mvp-player/libraries/boost-adds/)
4649
add_subdirectory(libraries/mvp-player/libraries/mvp-player-core/)
@@ -55,6 +58,7 @@ add_subdirectory(libraries/tuttlePlugin/)
5558
add_subdirectory(libraries/openfxHack/)
5659
add_subdirectory(libraries/kali-core/)
5760
add_subdirectory(plugins)
61+
add_subdirectory(ofxPlugins)
5862
add_subdirectory(applications)
5963

6064
# Add a target to generate API documentation with Doxygen
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"0": {
3+
"fr.tuttle.djarlabs.dcrawreader": {
4+
"filename": "\/Users\/djarwood\/Desktop\/400Tneg_GBRG.raw",
5+
"channel": "rgb",
6+
"bitDepth": "32f 32 bits floating point",
7+
"Interpolation quality": "1 (Interpolation using a Threshold-based variable number of gradients)"
8+
}
9+
},
10+
"1": {
11+
"fr.tuttle.djarlabs.colorneginvert": {
12+
"Red filter color": "255",
13+
"Red channel contrast (": {
14+
")": "100"
15+
},
16+
"Invert colors": "0",
17+
"Green filter color": "198",
18+
"Green channel contrast (": {
19+
")": "100"
20+
},
21+
"Blue filter color": "173",
22+
"Blue channel contrast (": {
23+
")": "100"
24+
},
25+
"Algorithm": "RGB reduction"
26+
}
27+
},
28+
"presetName": "1. Test dcraw",
29+
"configPath": {
30+
"inputFilePath": "\/Users\/djarwood\/Pictures\/wetransfer-342165\/swimmer\/swimmer_rodoid_raw_###.raw",
31+
"inputIsSequence": "1",
32+
"outputDirPath": "\/Users\/djarwood\/_DEV\/kaliscope\/data\/seq_out",
33+
"outputPrefix": "capture_",
34+
"outputExtension": "jp2",
35+
"outputIsSequence": "1"
36+
}
37+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"0": {
3+
"tuttle.jpegreader": {
4+
"filename": "",
5+
"channel": "auto",
6+
"bitDepth": "auto"
7+
}
8+
},
9+
"presetName": "Funky sample",
10+
"configPath": {
11+
"inputFilePath": "\/Users\/djarwood\/_DEV\/kaliscope\/data\/seq_in_jpeg\/##.jpg",
12+
"inputIsSequence": "1",
13+
"outputDirPath": "\/Users\/djarwood\/_DEV\/kaliscope\/data\/seq_out",
14+
"outputPrefix": "funky_",
15+
"outputExtension": "jp2",
16+
"outputIsSequence": "1"
17+
}
18+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"0": {
3+
"tuttle.pngreader": {
4+
"filename": "",
5+
"channel": "auto",
6+
"bitDepth": "auto"
7+
}
8+
},
9+
"1": {
10+
"tuttle.jpeg2000writer": {
11+
"renderAlways": "1",
12+
"premultiplied": "0",
13+
"lossless": "1",
14+
"filename": "",
15+
"existingFile": "overwrite",
16+
"cinemaProfil": "notDigt Not Digital Cinema",
17+
"channel": "rgb",
18+
"bitDepth": "auto"
19+
}
20+
},
21+
"presetName": "Test orange correction",
22+
"configPath": {
23+
"inputFilePath": "\/Users\/djarwood\/Pictures\/negcouleur.png",
24+
"inputIsSequence": "0",
25+
"outputDirPath": "\/Users\/djarwood\/_DEV\/kaliscope\/data\/seq_out",
26+
"outputPrefix": "neg.jp2",
27+
"outputExtension": "jp2",
28+
"outputIsSequence": "0"
29+
}
30+
}
Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
{
2+
"0": {
3+
"tuttle.avreader": {
4+
"verbose": "0",
5+
"v_useCustomSAR": "0",
6+
"v_ticks_per_frame": "1",
7+
"v_threads": "1",
8+
"v_thread_type_flag_slice": "0",
9+
"v_thread_type_flag_frame": "0",
10+
"v_strict": "very strictly conform to a older more strict version of the spec or reference software",
11+
"v_streamIndex": "0",
12+
"v_skip_top": "0",
13+
"v_skip_loop_filter": "none discard no frame",
14+
"v_skip_bottom": "0",
15+
"v_skip_alpha": "0",
16+
"v_refcounted_frames": "0",
17+
"v_lowres": "0",
18+
"v_idct": "auto ",
19+
"v_flags2_flag_skip_manual": "0",
20+
"v_flags2_flag_showall": "0",
21+
"v_flags2_flag_ignorecrop": "0",
22+
"v_flags2_flag_export_mvs": "0",
23+
"v_flags2_flag_chunks": "0",
24+
"v_flags_flag_unaligned": "0",
25+
"v_flags_flag_output_corrupt": "0",
26+
"v_flags_flag_low_delay": "0",
27+
"v_flags_flag_gray": "0",
28+
"v_flags_flag_bitexact": "0",
29+
"v_field_order": "progressive ",
30+
"v_err_detect_flag_ignore_err": "0",
31+
"v_err_detect_flag_explode": "0",
32+
"v_err_detect_flag_crccheck": "0",
33+
"v_err_detect_flag_compliant": "0",
34+
"v_err_detect_flag_careful": "0",
35+
"v_err_detect_flag_buffer": "0",
36+
"v_err_detect_flag_bitstream": "0",
37+
"v_err_detect_flag_aggressive": "0",
38+
"v_ec_flag_guess_mvs": "0",
39+
"v_ec_flag_favor_inter": "0",
40+
"v_ec_flag_deblock": "0",
41+
"v_dump_separator": "",
42+
"v_debug_mv_flag_pf": "0",
43+
"v_debug_mv_flag_bf": "0",
44+
"v_debug_mv_flag_bb": "0",
45+
"v_debug_flag_vis_qp": "0",
46+
"v_debug_flag_vis_mb_type": "0",
47+
"v_debug_flag_thread_ops": "0",
48+
"v_debug_flag_startcode": "0",
49+
"v_debug_flag_skip": "0",
50+
"v_debug_flag_qp": "0",
51+
"v_debug_flag_pts": "0",
52+
"v_debug_flag_pict": "0",
53+
"v_debug_flag_nomc": "0",
54+
"v_debug_flag_mv": "0",
55+
"v_debug_flag_mmco": "0",
56+
"v_debug_flag_mb_type": "0",
57+
"v_debug_flag_er": "0",
58+
"v_debug_flag_dct_coeff": "0",
59+
"v_debug_flag_bugs": "0",
60+
"v_debug_flag_buffers": "0",
61+
"v_debug_flag_bitstream": "0",
62+
"v_colorspace": "unspecified Unspecified",
63+
"v_color_trc": "gamma22 BT.470 M",
64+
"v_color_range": "unspecified Unspecified",
65+
"v_color_primaries": "bt470m BT.470 M",
66+
"v_codec_whitelist": "",
67+
"v_chroma_sample_location": "unspecified Unspecified",
68+
"v_bug_flag_xvid_ilace": "0",
69+
"v_bug_flag_ump4": "0",
70+
"v_bug_flag_trunc": "0",
71+
"v_bug_flag_std_qpel": "0",
72+
"v_bug_flag_qpel_chroma2": "0",
73+
"v_bug_flag_qpel_chroma": "0",
74+
"v_bug_flag_old_msmpeg4": "0",
75+
"v_bug_flag_no_padding": "0",
76+
"v_bug_flag_ms": "0",
77+
"v_bug_flag_hpel_chroma": "0",
78+
"v_bug_flag_edge": "0",
79+
"v_bug_flag_direct_blocksize": "0",
80+
"v_bug_flag_dc_clip": "0",
81+
"v_bug_flag_autodetect": "0",
82+
"v_bug_flag_amv": "0",
83+
"v_bug_flag_ac_vlc": "0",
84+
"filename": "",
85+
"f_use_wallclock_as_timestamps": "0",
86+
"f_skip_initial_bytes": "0",
87+
"f_seek2any": "0",
88+
"f_rtbufsize": "3041280",
89+
"f_probesize": "5000000",
90+
"f_max_ts_probe": "50",
91+
"f_max_delay": "-1",
92+
"f_indexmem": "1048576",
93+
"f_fpsprobesize": "-1",
94+
"f_formatprobesize": "1048576",
95+
"f_format_whitelist": "",
96+
"f_fflags_flag_sortdts": "0",
97+
"f_fflags_flag_noparse": "0",
98+
"f_fflags_flag_nofillin": "0",
99+
"f_fflags_flag_nobuffer": "0",
100+
"f_fflags_flag_keepside": "0",
101+
"f_fflags_flag_ignidx": "0",
102+
"f_fflags_flag_igndts": "0",
103+
"f_fflags_flag_genpts": "0",
104+
"f_fflags_flag_discardcorrupt": "0",
105+
"f_fdebug_flag_ts": "0",
106+
"f_f_strict": "strict strictly conform to all the things in the spec no matter what the consequences",
107+
"f_err_detect_flag_ignore_err": "0",
108+
"f_err_detect_flag_explode": "0",
109+
"f_err_detect_flag_crccheck": "0",
110+
"f_err_detect_flag_compliant": "0",
111+
"f_err_detect_flag_careful": "0",
112+
"f_err_detect_flag_buffer": "0",
113+
"f_err_detect_flag_bitstream": "0",
114+
"f_err_detect_flag_aggressive": "0",
115+
"f_dump_separator": ", ",
116+
"f_cryptokey": "",
117+
"f_correct_ts_overflow": "1",
118+
"f_codec_whitelist": "",
119+
"f_avioflags_flag_direct": "0",
120+
"f_analyzeduration": "0",
121+
"channel": "rgb",
122+
"bitDepth": "8i 8 bits integer"
123+
}
124+
},
125+
"presetName": "Rococo to DPX",
126+
"configPath": {
127+
"inputFilePath": "\/Users\/djarwood\/_DEV\/kaliscope\/rococo.mov",
128+
"inputIsSequence": "0",
129+
"outputDirPath": "\/Users\/djarwood\/_DEV\/kaliscope\/data\/seq_out\/",
130+
"outputPrefix": "boheme_",
131+
"outputExtension": "dpx",
132+
"outputIsSequence": "1"
133+
}
134+
}

applications/kaliscope_qt/src/CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ IF(APPLE)
9696
DESTINATION ${plugin_dest_dir}
9797
COMPONENT Runtime
9898
FILES_MATCHING
99-
REGEX "^.+[^0-9]+\\${CMAKE_SHARED_LIBRARY_SUFFIX}$"
100-
PATTERN "*_debug${CMAKE_SHARED_LIBRARY_SUFFIX}" EXCLUDE
99+
PATTERN "*"
101100
)
102101

103102
INSTALL( DIRECTORY "${PROJECT_SOURCE_DIR}/src/resources/"
@@ -127,6 +126,9 @@ IF(APPLE)
127126
FILE( GLOB_RECURSE KALISCOPE_PLUGINS
128127
"${plugin_dest_dir}/*${CMAKE_SHARED_LIBRARY_SUFFIX}" )
129128

129+
FILE( GLOB_RECURSE OFX_PLUGINS
130+
"${plugin_dest_dir}/*.ofx" )
131+
130132
# Add resources to application bundle target
131133
SET_TARGET_PROPERTIES(
132134
${MY_APP_NAME}
@@ -146,6 +148,6 @@ IF(APPLE)
146148

147149
INSTALL(CODE "
148150
INCLUDE(BundleUtilities)
149-
fixup_bundle(${CMAKE_INSTALL_PREFIX}/${MY_APP_NAME}.app \"${QTPLUGINS};${KALISCOPE_PLUGINS}\" \"${DIRS}\")
151+
fixup_bundle(${CMAKE_INSTALL_PREFIX}/${MY_APP_NAME}.app \"${QTPLUGINS};${KALISCOPE_PLUGINS};${OFX_PLUGINS}\" \"${DIRS}\")
150152
" COMPONENT Runtime)
151153
ENDIF(APPLE)

0 commit comments

Comments
 (0)