Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ if(MSVC)
@ONLY
)

add_link_options("/MANIFEST:EMBED" "/MANIFESTINPUT:${CMAKE_CURRENT_BINARY_DIR}/bmx_windows.generated.manifest")
# CMake generates linking and manifest handling differently between Visual Studio & ninja
# build generators. So adding it as a source file instead of an explicit linking option,
# CMake should cover both cases the right way.
set(BMX_WIN_MANIFEST_SRC "${CMAKE_CURRENT_BINARY_DIR}/bmx_windows.generated.manifest")
#add_link_options("/MANIFEST:EMBED" "/MANIFESTINPUT:${CMAKE_CURRENT_BINARY_DIR}/bmx_windows.generated.manifest")

# /manifest file is not found when incremental is enabled (default Debug build config), so we disable it.
add_link_options("$<$<CONFIG:Debug>:/INCREMENTAL:NO>")
Expand All @@ -24,6 +28,7 @@ add_subdirectory(raw2bmx)

add_executable(bmxtimecode
bmxtimecode.cpp
${BMX_WIN_MANIFEST_SRC}
)

target_include_directories(bmxtimecode PRIVATE
Expand Down
1 change: 1 addition & 0 deletions apps/bmxparse/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
add_executable(bmxparse
bmxparse.cpp
${BMX_WIN_MANIFEST_SRC}
)

target_include_directories(bmxparse PRIVATE
Expand Down
1 change: 1 addition & 0 deletions apps/bmxtranswrap/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
add_executable(bmxtranswrap
bmxtranswrap.cpp
MXFInputTrack.cpp
${BMX_WIN_MANIFEST_SRC}
)

target_include_directories(bmxtranswrap PRIVATE
Expand Down
1 change: 1 addition & 0 deletions apps/mxf2raw/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ add_executable(mxf2raw
AvidInfoOutput.cpp
mxf2raw.cpp
OutputFileManager.cpp
${BMX_WIN_MANIFEST_SRC}
)

target_include_directories(mxf2raw PRIVATE
Expand Down
1 change: 1 addition & 0 deletions apps/raw2bmx/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
add_executable(raw2bmx
raw2bmx.cpp
RawInputTrack.cpp
${BMX_WIN_MANIFEST_SRC}
)

target_include_directories(raw2bmx PRIVATE
Expand Down
Loading