Re: [CMake] make install not works for me
Slava Semushin wrote: > So I have questions for you: where my fault ? What I should fix in my > CMakeLists.txt? And why documents WritingCMakeLists.html and I can't tell you what you have to fix without your CMakeLists.txt -- Filipe Sousa signature.asc Description: OpenPGP digital signature ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] make install not works for me
Slava Semushin wrote: What I should fix in my CMakeLists.txt? Um, you didn't send us this, so how could we tell you? And why documents WritingCMakeLists.html and Examples.html not mentioned about installation and related variables/rules? Because we're slack. We all have way too much of our own code to write, and we don't take the time to write first class documentation and tutorials. To make up for this shameless lack of discipline about coherent online documentation, we're excellent at answering questions on this mailing list. Really, just ask more questions, that's the way to go around here. Cheers, Brandon Van Every ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] make install not works for me
--- 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. BJVE> Really, just ask more questions, that's the way to go around here. Thanks. I will asking! ;-) -- + Slava Semushin | php-coder @ ngs.ru + ALT Linux Team | php-coder @ altlinux.ru + Expand QA Team | vsemushin @ swsoft.com ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] make install not works for me
Slava Semushin wrote: 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. I was about to say, "It's a wiki. You could do that." But then I saw it's not a wiki, so you can't do that. It would be good to move all such materials to the wiki, I think. Put them in one coherent place where they can, in principle, be improved by people who find them lacking. Of course, the whole problem of getting programmers to document things, is once they've figured out what they need to know, they've lost most of the incentive to document. Most people only document when they're really worried about being understood. Like my CMake build, for instance. I can't be inscrutable, I have to get people to convert from Autoconf to CMake. BJVE> Really, just ask more questions, that's the way to go around here. Thanks. I will asking! ;-) No problemo! Cheers, Brandon Van Every ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] make install not works for me
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 ] [PERMISSIONS permissions...] [CONFIGURATIONS [Debug|Release|...]] [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 CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] make install not works for me
Von: "Brandon J. Van Every" <[EMAIL PROTECTED]> > Slava Semushin wrote: > > 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. > > > > I was about to say, "It's a wiki. You could do that." But then I saw > it's not a wiki, so you can't do that. It would be good to move all > such materials to the wiki, I think. Put them in one coherent place > where they can, in principle, be improved by people who find them > lacking. Yes, this would be a good idea. Actually, just login in to the Wiki and create a new wiki page with the same contents. > Of course, the whole problem of getting programmers to document things, > is once they've figured out what they need to know, they've lost most of > the incentive to document. Most people only document when they're > really worried about being understood. That's right. Nevertheless I take from time to time I take an evening just to write some documentation, because I'm in the same position, the KDE devs should have a point where they can find good documentation. Bye Alex -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] make install not works for me
Alexander Neundorf wrote: Von: "Brandon J. Van Every" <[EMAIL PROTECTED]> Slava Semushin wrote: 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. I was about to say, "It's a wiki. You could do that." But then I saw it's not a wiki, so you can't do that. It would be good to move all such materials to the wiki, I think. Put them in one coherent place where they can, in principle, be improved by people who find them lacking. Yes, this would be a good idea. Actually, just login in to the Wiki and create a new wiki page with the same contents. It still needs to be canonized by Kitware, so that users aren't looking at the wrong page. Cheers, Brandon Van Every ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] make install not works for me
Von: "Brandon J. Van Every" <[EMAIL PROTECTED]> > Alexander Neundorf wrote: > > Von: "Brandon J. Van Every" <[EMAIL PROTECTED]> > > > > > >> Slava Semushin wrote: > >> > >>> 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. > >>> > >>> > >> I was about to say, "It's a wiki. You could do that." But then I saw > >> it's not a wiki, so you can't do that. It would be good to move all > >> such materials to the wiki, I think. Put them in one coherent place > >> where they can, in principle, be improved by people who find them > >> lacking. > >> > > > > Yes, this would be a good idea. > > Actually, just login in to the Wiki and create a new wiki page with the > same contents. > > > > It still needs to be canonized by Kitware, so that users aren't looking > at the wrong page. As a test I "ported" the "A simple example" to the wiki: http://www.cmake.org/Wiki/CMake_A_Simple_Example CMake devs: do you think this makes sense ? Bye Alex -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] make install not works for me
Alexander Neundorf wrote: >>> Yes, this would be a good idea. >>> Actually, just login in to the Wiki and create a new wiki page with the >> same contents. >>> >> It still needs to be canonized by Kitware, so that users aren't looking >> at the wrong page. > > As a test I "ported" the "A simple example" to the wiki: > http://www.cmake.org/Wiki/CMake_A_Simple_Example > > CMake devs: do you think this makes sense ? Actually that example is part of the source distribution and has nightly testing: http://www.cmake.org/cgi-bin/viewcvs.cgi/Example/?root=CMake http://www.cmake.org/Testing/Dashboard/20060911-0100-Nightly/TestDetail/__Source_Example.html I've setup the web page to automatically update the example from the CVS repository every night. Changes to the example may now be sent to us as patches to the CMake CVS version. -Brad ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake