I'm currently "fighting" with the relocation using cpack ...
When creating an executable AND a library resulting in
two RPM's with two different paths lets say ...
- /foo/bin/mybin| executable
- /usr/local/include| library headers
- /usr/local/lib64 | library binary file
Hi,
We are currently looking forward to migrate to CMake and
we are struggling a bit with cpack.
The first project we migrate provides a executable binary but also
a library and its headers.
I do not find an example on how to provide separate RPM's
for them; one for the binary and one for the
- cmake 2.8.2
- the removing of the 'S' is not solving the problem.
Thomas Lehmann
Scrum Master
RTS Realtime Systems Software GmbH, Rembrandtstrasse 13, D-60596 Frankfurt am
Main
T: +49.69.61009.0 / F: +49.69.61009.181
Sitz: Frankfurt am Main - HRB 84467 Amtsgericht Frankfurt am Main
/parser.cxx GENERATED)
add_library(test STATIC ${lib_sources})
add_dependencies(test ScannerAndParser)
Thomas Lehmann
Scrum Master
[cid:rts-logo.png@fbda10bfcd534b0b8e20728cd423552e]
RTS Realtime Systems Software GmbH, Rembrandtstrasse 13, D-60596 Frankfurt am
Main
T: +49.69.61009.0 / F
and then the path and filename of the header is wrong.
How to proceed best?
Can I avoid that for those set statement the variable is not overwritten by
those
files including this central makefile?
Kind Regards
Thomas
Thomas Lehmann
Scrum Master
[cid:rts-logo.png@a9b66252e87e47c980cdfd1dfb10cfae
FILEPATH Central Include)
the first calling this will set the value then other set will be
ignored.
If you want to override a CACHE var value you'll have to use FORCE set
option.
--
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
Thomas Lehmann
Regards
Thomas
Thomas Lehmann
Scrum Master
[cid:rts-logo.png@302c55e3a904430bbf60a70f8dc2ba7f]
RTS Realtime Systems Software GmbH, Rembrandtstrasse 13, D-60596 Frankfurt am
Main
T: +49.69.61009.0 / F: +49.69.61009.181
Sitz: Frankfurt am Main - HRB 84467 Amtsgericht Frankfurt am Main
Gesch?ftsf
})
# linking libraries to the application:
target_link_libraries(app2 one two)
Thomas Lehmann
Scrum Master
RTS Realtime Systems Software GmbH, Rembrandtstrasse 13, D-60596 Frankfurt am
Main
T: +49.69.61009.0 / F: +49.69.61009.181
Sitz: Frankfurt am Main - HRB 84467 Amtsgericht Frankfurt am Main
INSTALL is not selected for building in solution configuration
Debug|Win32.
Kind Regards
Thomas
Thomas Lehmann
Scrum Master
[cid:rts-logo.png@383e954c38bc4c12a7162081b917ee07]
RTS Realtime Systems Software GmbH, Rembrandtstrasse 13, D-60596 Frankfurt am
Main
T: +49.69.61009.0 / F
Perfect!
Why does it not work with msbuild directly?
Kind Regards
Thomas
f:\Checkouts\prototyping\cmake_sandbox\objcmake --build . --target install
Microsoft (R) Visual Studio Version 9.0.21022.8.
Copyright (C) Microsoft Corp. Alle Rechte vorbehalten.
1
Thomas Lehmann
Scrum Master
a little help please?
Kind Regards
Thomas
Thomas Lehmann
Scrum Master
[cid:rts-logo.png@c547960bd3b149468eddcd645a5a1841]
RTS Realtime Systems Software GmbH, Rembrandtstrasse 13, D-60596 Frankfurt am
Main
T: +49.69.61009.0 / F: +49.69.61009.181
Sitz: Frankfurt am Main - HRB 84467 Amtsgericht
a set of applications
3) I can build just one application
Independent on what scenario I use I want to ensure that
all dependencies are built and used.
Thomas
Thomas Lehmann
Scrum Master
RTS Realtime Systems Software GmbH, Rembrandtstrasse 13, D-60596 Frankfurt am
Main
T: +49.69.61009.0 / F
12 matches
Mail list logo