Re: [CMake] Can CMake prompt the user for input while it's running?

2010-02-28 Thread Naram Qashat
that our pre-configure script can handle from there? This might be an option if I can't handle this through CMake entirely. Thanks, Naram Qashat ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com

[CMake] Can CMake prompt the user for input while it's running?

2010-02-27 Thread Naram Qashat
. Ideally this should be able to be done if a certain command-line flag is passed in. Thanks, Naram Qashat ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

Re: [CMake] Can CMake prompt the user for input while it's running?

2010-02-27 Thread Naram Qashat
an external script searching for the optional files when CMake would already be doing that. Thanks, Naram Qashat ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep

Re: [CMake] Can CMake prompt the user for input while it's running?

2010-02-27 Thread Naram Qashat
? That's only partially helpful. I say partially because it also shows a few CMake specific options, and it shows all the variables from find_library's usage, which would overwhelm the users. Thanks, Naram Qashat ___ Powered by www.kitware.com Visit

Re: [CMake] Can CMake prompt the user for input while it's running?

2010-02-27 Thread Naram Qashat
that come up that would be confusing to users. Thanks, Naram Qashat ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ

Re: [CMake] Reusing an already built object

2009-10-13 Thread Naram Qashat
Michael Wild wrote: On 13. Oct, 2009, at 0:13, Naram Qashat wrote: Say I have a main executable and a number of shared libraries that rely on that executable. Say I have a certain C++ source that is required to be built by not only the main executable, but also every single shared library

[CMake] Reusing an already built object

2009-10-12 Thread Naram Qashat
libraries? The source file is included in the main executable through add_executable(), and it's added to each of the shared libraries through add_library(). Thanks, Naram Qashat ___ Powered by www.kitware.com Visit other Kitware open-source projects

[CMake] Finding (and linking) gettext with CMake 2.4.x

2009-04-03 Thread Naram Qashat
of searching for the intl library and adding it to the linker flags then? And would this also apply to linking on Windows as well? Thanks, Naram Qashat ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com

Re: [CMake] Memory cleanup of variables

2009-03-11 Thread Naram Qashat
Bill Hoffman wrote: Naram Qashat wrote: Bill Hoffman wrote: Naram Qashat wrote: I have a CMake project that I have been testing with various verisons of CMake 2.4.x and 2.6.x to make sure it works as far back as 2.4.0, due to not knowing what version of CMake our users will be using since

[CMake] Memory cleanup of variables

2009-03-10 Thread Naram Qashat
the memory it uses, and if there is a way around this problem. I would prefer not to force our uses to use CMake 2.6.x if their shell provider won't provide them something newer. Thanks, Naram Qashat ___ Powered by www.kitware.com Visit other Kitware open

Re: [CMake] Memory cleanup of variables

2009-03-10 Thread Naram Qashat
Bill Hoffman wrote: Naram Qashat wrote: I have a CMake project that I have been testing with various verisons of CMake 2.4.x and 2.6.x to make sure it works as far back as 2.4.0, due to not knowing what version of CMake our users will be using since a lot of them use shells. In some instances

Re: [CMake] setting CMAKE_C_COMPILER

2009-02-06 Thread Naram Qashat
itself (rather than flags to the compiler)? b. What you could do instead is set CMAKE_C_COMPILE_OBJECT, like so: set(CMAKE_C_COMPILE_OBJECT ${PURIFYCOMMAND} ${CMAKE_C_COMPILE_OBJECT}) That'll modify the command used to compile by prefixing it. Naram Qashat

[CMake] Makefile regeneration on added/removed files

2009-01-16 Thread Naram Qashat
? Thanks, Naram Qashat ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Makefile regeneration on added/removed files

2009-01-16 Thread Naram Qashat
Andreas Pakulat wrote: On 16.01.09 12:59:23, Naram Qashat wrote: Is it possible to have CMake be re-run either automatically or via a Makefile target if files are added or removed from one of the directories that CMake has previously checked? I know that checking for changed files is a job

Re: [CMake] CMake's Dependency Scanner - Disabling?

2008-12-30 Thread Naram Qashat
Bill Hoffman wrote: Naram Qashat wrote: Is it possible to disable CMake's implicit dependency scanner? I understand that it is probably a helpful feature on many projects, but on the project I'm working on, I opted to explicitly define the dependencies instead and would like to save a bit

[CMake] CMake's Dependency Scanner - Disabling?

2008-12-29 Thread Naram Qashat
for dependencies. Thanks, Naram Qashat ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Can CMake produce an Autotools-like build environment that doesn't require CMake?

2008-12-27 Thread Naram Qashat
Alan W. Irwin wrote: On 2008-12-26 22:25-0500 Naram Qashat wrote: The subject pretty much sums up the question. I'd like to know if it's possible, though. I was trying to get CMake adopted to be used for a project I'm working on, but the response has been mixed. The biggest detractor has

[CMake] Can CMake produce an Autotools-like build environment that doesn't require CMake?

2008-12-26 Thread Naram Qashat
negative feedback than positive, even though the other advantages CMake gives outweigh Autotools. But this is the biggest disadvantage that is bringing it down. Thanks, Naram Qashat ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman