Slava Semushin wrote: > --- Filipe Sousa 2006-09-07 09:17:00 +0100 > +++ Slava Semushin 2006-09-07 15:31:28 +0700 > > FS> I can't tell you what you have to fix without your CMakeLists.txt > > Wow. I'm very sorry. I forgot attach CMakeLists.txt :-( > > > --- Brandon J. Van Every 2006-09-07 01:20:55 -0700 > +++ Slava Semushin 2006-09-07 15:31:28 +0700 > > BJVE> Um, you didn't send us this, so how could we tell you? > > Not needed now. My friend point me to INSTALL, I read man and added one > line: > > INSTALL (TARGETS openfm RUNTIME DESTINATION bin) > > Now all works as expected. I think anybody should update > http://www.cmake.org/HTML/Examples.html and adds INSTALL directives to > example. Without this change some newbies, like me, may puzzle.
[EMAIL PROTECTED] ~ $ cmake --help-command install
...
The TARGETS signature:
INSTALL(TARGETS targets...
[[ARCHIVE|LIBRARY|RUNTIME]
[DESTINATION <dir>]
[PERMISSIONS permissions...]
[CONFIGURATIONS [Debug|Release|...]]
[COMPONENT <component>]
] [...])
...
INSTALL(TARGETS myExe mySharedLib myStaticLib
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib/static)
...
--
Filipe Sousa
signature.asc
Description: OpenPGP digital signature
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
