Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
34 views

The strip command from binutils has lots of CLI options to enable/disable striping certain things, but I am interested in what it strips by default when no CLI options are given. This information ...
DBear's user avatar
  • 527
1 vote
0 answers
64 views

I have dependencies between CMake components, and want to use dpkg-shlibdeps in the DEB packager. I set set(CPACK_DEB_COMPONENT_INSTALL ON) set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON) set(...
Pait's user avatar
  • 767
1 vote
0 answers
134 views

This is an extended post/question of my previous post CPack package doesn't include the executable file. From the solution of my previous post I was able to create the package with required binary ...
Harry's user avatar
  • 4,132
0 votes
0 answers
103 views

I'm complete new to windows development, what Im trying to do is to create a installer for windows users that require admin privilige and create shortcuts. The program is developed by python and ...
Andrew Yu's user avatar
0 votes
0 answers
23 views

When using CPack to create a .tar.gz file, I couldn't find a way to include some empty directories into the tar file. Though the directory is created in the temporary Cpack installation path. ../build/...
Musa's user avatar
  • 15
0 votes
1 answer
354 views

I am developing a C/C++ package, built using CMake, and I want to package it for Debian. So I thought I'd use CPack to build a Debian package. I managed to do so, but my project should also contain ...
Alessandro Bertulli's user avatar
0 votes
0 answers
170 views

I am trying to package things using CPack and attacehd is my cpack file. I'm not sure what I'm supposed to be doing to get this pushed past this point. I have had it stuck on this even when using -D ...
Kaibien's user avatar
0 votes
0 answers
59 views

If we rerun cmake after make install in our project, we get CMake warnings Cannot generate a safe runtime search path for target ... because files in some directories may conflict with libraries in ...
Joachim W's user avatar
  • 8,447
0 votes
1 answer
84 views

My project's main CMakeLists.txt contains instructions to generate an NSIS installer. One of these instructions is set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS " nsExec::Exec '\\\"\\\$...
dde's user avatar
  • 192
1 vote
0 answers
97 views

Some Background I'm using CMake V3.29.0 on Ubuntu 22.04 to build a project. The product is only for use on a server within my company. In order to deploy the product I would like to generate a .tar.gz ...
1xBadAdvice's user avatar
0 votes
2 answers
1k views

I've tried to build an installation package with CMAKE + WIX. The latest version of WIX is v4. Unfortunately, CPack fails as it is looking for a tool candle.exe which was dropped in WIX v4, as opposed ...
Arseniy's user avatar
  • 31
0 votes
1 answer
299 views

I want to make a Debian package using cpack. I want to stay in the base_folder/. It contains a source folder, src/, and a build/ folder with temporary build files and build artifacts: cd base_folder ...
Andrei Cherniaev's user avatar
0 votes
1 answer
273 views

I'm making an NSIS installer for Windows. I want the DLLs to be in the same directory as the executable, so that Windows can find the DLLs. Any clean solution ?
dpeng's user avatar
  • 507
2 votes
1 answer
500 views

I'm creating an RPM file using CMake's RPM support. I have found that the permissions of directories created on installation of the RPM depend on the umask of the user who created the RPM. I have ...
Greg Hewgill's user avatar
0 votes
0 answers
224 views

I have project that contains subprojects. The package directory contains CMakeLists.txt. Looks like this: set(CPACK_GENERATOR "DEB") set(CPACK_DEBIAN_FILE_NAME DEB-DEFAULT) set(...
a.wise's user avatar
  • 314
2 votes
0 answers
769 views

I have a C++ project with multiple targets. I redistribute the project via .deb packages which we build with CPack. Some of my CMakeLists.txt has include(CPack) line. It adds convenient package target ...
Mikhail's user avatar
  • 22.1k
2 votes
1 answer
1k views

I have a single project with several subdirectories. Each subdirectory must generate a deb package. One of these packages must contain a post-installation script. I just can't manage to find a way to ...
Aloïké's user avatar
  • 499
0 votes
0 answers
175 views

When a file is installed in the /etc directory, cmake is automatically assuming that this file is a config one, but my package have scripts installed in /etc (e.g. a script installed in /etc/molly-...
GatoMiador's user avatar
3 votes
1 answer
439 views

I am using CMake to build my project and now I want to use CPack to create Linux packages (starting with a DEB package). I have things set up such that I can generated a DEB package now, but there is ...
Raven's user avatar
  • 3,658
0 votes
0 answers
63 views

I have a Qt application that runs the deploy command during installation and packaging. This works correctly when generating a Wix installer. However, when trying to create an archive, e.g. 7z, ...
JadziaMD's user avatar
  • 2,810
2 votes
0 answers
256 views

I am using cMake with Wix to generate my installer executable. I have my executable ready, but I am unable to get a shortcut on the desktop and include my program in the Windows Start menu. To achieve ...
dbz's user avatar
  • 439
-1 votes
1 answer
206 views

I am using CPack to create a dmg file for installation on MacOS. Because I have provided CPACK_RESOURCE_FILE_LICENSE the license file is included in the dmg file and a window is opened when trying to ...
chiasmos's user avatar
  • 140
0 votes
0 answers
335 views

By using otool I can find and add all the library files to a "lib" folder for my project. I am having trouble making my unix file (c++) reference the folder. Even though the file "...
msj121's user avatar
  • 2,840
0 votes
0 answers
60 views

I can compile my c++ application, but it depends on a shared library which can be installed through the packet manager. My problem is that the target device has no internet access. Therefore it can't ...
Moritz's user avatar
  • 426
0 votes
1 answer
428 views

We create a Debian package of our application using CPack which can be installed on Linux Mint 19 like this: $ sudo dpkg -i --instdir=/opt myapp.deb With Linux Mint 21 the (installed) dependencies are ...
stackomatiker's user avatar

1
2 3 4 5
7