[CMake] copying files

2009-04-08 Thread Randy Heiland
Is there a simple cmake procedure to copy files from a source dir to the installation dir? thanks, Randy ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep

[CMake] installing/overwriting single file

2009-11-04 Thread Randy Heiland
During an 'install', I would like to copy/overwrite a source file to a destination file. How? Something like the following (in syntax), although I am assuming that it is only legal to copy a file into a dir (and therefore the 'foo.cxx' isn't allow)? INSTALL(FILES

Re: [CMake] installing/overwriting single file

2009-11-04 Thread Randy Heiland
Neundorf wrote: On Wednesday 04 November 2009, Randy Heiland wrote: During an 'install', I would like to copy/overwrite a source file to a destination file. How? Something like the following (in syntax), although I am assuming that it is only legal to copy a file into a dir (and therefore

[CMake] Visual Studio 2017

2017-09-15 Thread Randy Heiland
Hello, I've googled "site:cmake.org/pipermail/cmake visual studio 2017" looking for answers, but still confused, so thought I'd ask this list. Is there a "best way" to use cmake for VS17 (but same cakelists for Linux)? And by "best", I mean with minimal effort on users. To be more specific, on

[CMake] simple find_package example

2018-08-02 Thread Randy Heiland
Hi, I'd like to figure out how to modify the simple "hello" demo ( https://cmake.org/examples/) so that the Hello project is a library with an accompanying FindHello.cmake and then the Demo project uses that information and "find_package" to discover/use it. Hopefully that makes sense.

Re: [CMake] simple find_package example

2018-08-07 Thread Randy Heiland
some sort of "Find" template for any such lib, i.e., a project needs to be able to locate a lib (static or dynamic) and headers, cross-platform. thanks, Randy On Mon, Aug 6, 2018 at 4:09 PM, Alexander Neundorf wrote: > On 2018 M08 2, Thu 10:01:39 CEST Randy Heiland wrote: > > Hi, &