I’m a new to CMake, please forgive me if my post bother you. I attempted to write a CMake project with BundleUtilities, but there some doubts that bother me.
And then, I typed DESTDIR=../myporoject-bin cmake --install . after cmake --build .
But it failed.
-- warning: *NOT* handled - directory/file does not exist...
CMake Error at C:/msys64/mingw64/share/cmake/Modules/BundleUtilities.cmake:996 (message):
error: fixup_bundle: not a valid bundle
Oops, may I forgot to notice it. My programs in bin/ depends on libstdc++jsoncpp etc and are not staticially linked. Is BundleUtilities inappropriate on Windows?
If your dependency are right installed, your executables build project should find it.
Then you neet only to install the executables (and check the path to find the runtime dependencies).