On Tuesday, June 10, 2025 9:38:26 PM CEST Rui Nuno Capela via 
Linuxsampler-devel wrote:
> On 6/6/25 17:34, Rui Nuno Capela via Linuxsampler-devel wrote:
> > On 6/6/25 10:52, Christian Schoenebeck wrote:
> >> The problem rather is *what* cmake installs. For the QSampler Mac
> >> build cmake
> >> does not install any file at all:
> >> 
> >>    + cmake --install build --prefix /home/persson/mac64/ --verbose
> >>    -- Install configuration: "Release"
> >> 
> >> For the QSampler Windows build cmake only installs the translation
> >> files, but
> >> not the most relevant file qsampler.exe:
> >> 
> >>    + cmake --install build --verbose
> >>    -- Install configuration: "Release"
> >>    -- Up-to-date: /home/persson/win32/share/qsampler/translations/
> >> qsampler_cs.qm
> >>    -- Up-to-date: /home/persson/win32/share/qsampler/translations/
> >> qsampler_fr.qm
> >>    -- Up-to-date: /home/persson/win32/share/qsampler/translations/
> >> qsampler_ru.qm
> >> 
> >> Like described in my previous email, cmake --install looks into the file
> >> ./build/install_manifest.txt to determine what to install. In case of the
> >> Windows build that file only contains those 3 translation files, and
> >> in case
> >> of the Mac build that file is completely empty.
> > 
> > oh, no, now I recall that the qsampler's src/CMakeLists,txt rules for
> > install is severely incomplete (or missing the ".exe" suffix) on windows
> > and completely absent for macos...
> > 
> > sorry
> 
> but there's something now... :)
> 
> however these have been "blindly" pasted from elsewhere and there are no
> guarantee whatsoever that it will ever work on windows or macos resp.

Yeah, I think it's OK. Thanks Rui!

For the Windows target cmake now correctly installs qsampler.exe:

  + cmake --install build --verbose
  -- Install configuration: "Release"
  -- Installing: /home/persson/win32/bin/qsampler.exe
  -- Up-to-date: /home/persson/win32/share/qsampler/translations/qsampler_cs.qm
  -- Up-to-date: /home/persson/win32/share/qsampler/translations/qsampler_fr.qm
  -- Up-to-date: /home/persson/win32/share/qsampler/translations/qsampler_ru.qm

And for the Mac target it installs the qsampler app bundle:

  + cmake --install build --prefix /home/persson/mac64/ --verbose
  -- Install configuration: "Release"
  -- Up-to-date: /home/persson/mac64/bin/qsampler.app
  -- Up-to-date: /home/persson/mac64/bin/qsampler.app/Contents
  -- Up-to-date: /home/persson/mac64/bin/qsampler.app/Contents/Resources
  -- Up-to-date: 
/home/persson/mac64/bin/qsampler.app/Contents/Resources/qsampler.icns
  -- Up-to-date: /home/persson/mac64/bin/qsampler.app/Contents/Info.plist
  -- Up-to-date: /home/persson/mac64/bin/qsampler.app/Contents/MacOS
  -- Up-to-date: /home/persson/mac64/bin/qsampler.app/Contents/MacOS/qsampler
  -- Installing: /home/persson/mac64/share/qsampler/translations/qsampler_cs.qm
  -- Installing: /home/persson/mac64/share/qsampler/translations/qsampler_fr.qm
  -- Installing: /home/persson/mac64/share/qsampler/translations/qsampler_ru.qm

I saw that you also added an optional installation of Qt onto the system.
While that probably makes sense for Windows, on a Mac the common way is to
just include the required Qt libraries (as "frameworks") with qsampler's app
bundle (i.e. inside that "qsampler.app" directory).

/Christian




_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to