[CMake] Multiple Installers in one project

norulez at me.com norulez at me.com
Wed Apr 4 12:55:43 EDT 2012


Hello,

I want to create multiple installers within a project.

So, for example if the following files are created:
Bin1.exe
Bin2.exe
Bin3.exe
Lib1.dll
Lib2.dll
Lib3.dll

Now I would like to have 3 Installers:
1.) contains:
Bin1.exe
Lib1.dll
Lib2.dll

2.) contains:
Bin2.exe
Lib2.dll
Lib3.dll

3.) contains:
Bin3.exe
Lib1.dll
Lib2.dll
Lib3.dll

I have each binary/library in the install command as followed:
INSTALL(TARGET Bin1 RUNTIME DESTINATION .)

After that I also want to run BundleUtilities for each binary/library to get the dependencies.

Is this possible?

Thanks in advance

Best Regards
NoRulez


More information about the CMake mailing list