Skip to content

CMake: Copy source files into binary dir#1209

Open
1480c1 wants to merge 1 commit intoMediaArea:masterfrom
1480c1:mingwcmake
Open

CMake: Copy source files into binary dir#1209
1480c1 wants to merge 1 commit intoMediaArea:masterfrom
1480c1:mingwcmake

Conversation

@1480c1
Copy link

@1480c1 1480c1 commented Jan 24, 2020

Same as MediaArea/ZenLib#105

A work around for certain compilers not working on windows due to extra long paths (Something like CMakeFiles/mediainfo.dir/D_/actions/_work/media-autobuild_suite/media-autobuild_suite/build/libmediainfo-git/Source/ThirdParty/aes-gladman/aes_modes.c.o under D:/actions/_work/media-autobuild_suite/media-autobuild_suite/build/libmediainfo-git/build)

Since it the source files aren't subdirectories, cmake uses absolute paths to the files when deciding the output name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant