Hi!
Is it possible to add a custom command that will produce some output file
that depends on an object file. In other words, if an object file is
rebuilt, I want to rebuild my output file.
Regards
Daniel Carlson
___
Powered by www.kitware.com
Visit ot
VAR will be set to 'some_info' and
will NOT will be cleared when the script is terminated. What do you think
about this? would this be possible?
//Daniel
2009/3/29 Carlson Daniel
> Thanks, but I do not think this is what I want. set($ENV{VAR} "some_data")
> in
ll set the
environment variable?
2009/3/29 Philip Lowman
> On Sun, Mar 29, 2009 at 9:04 AM, Carlson Daniel <
> daniel.c.carl...@gmail.com> wrote:
>
>> Hello and sorry for my late response!
>>
>> I can not get this to work. When i execute the command COMMAND
>>
Yes, perhaps I already had some cmake generated build tree on my disk when i
tried this. I will try once again with a clean build tomorrow.
About the path-file: Does this really change any behavior or does it just
print a nicer output? I have never seen a patch file before..
>
> Did you add the
MAND ${CMAKE_COMMAND} -E ${template.cmake}
> )
>
> and template.cmake would be:
>
> set(ENV{SOME_ENV_VAR} "${SOME_ENV_VAR_VALUE}")
> execute_process(COMMAND ${CMAKE_C_COMPILER} some args)
>
> James
>
> On Thu, Mar 26, 2009 at 1:49 PM, Carlson Daniel
> wrote:
> > Hi
ipp_files "*.[hi]pp")
>> set(files "${h_files}" "${hpp_ipp_files}")
>>
>> James
>>
>> On Sat, Mar 28, 2009 at 6:09 PM, Robert Dailey
>> wrote:
>> > Thank you.
>> > For future reference, is the glob syntax for CMak
try:
*.(h|hpp|ipp)
2009/3/28 Robert Dailey
> Can I get some help with this? Sorry to rush, but I'm a bit blocked. I know
> some of you may be tempted to ask my why I'm doing this and possibly even
> try to change my mind, but with all do respect, I don't plan to avoid
> globbing :)
>
> On Fri,
Why not use out of source build?
http://wiki.qgis.org/qgiswiki/Building_with_CMake
//Daniel
2009/3/26 Michael Jackson
> I would use something like the following:
>
> get_filename_component(buildParent ${CMAKE_CURRENT_BINARY_DIR} PATH)
> if (NOT ${buildParent} STREQUAL ${${PROJECT_NAME}_SOURCE_
Hi!
I want to set an environment variable that is used to state the license file
for my compiler. But, if I use the set-function the environment variable
will be cleared when cmake terminates. Is there a way to set an environment
variable at make file execution time?
Daniel Carlson
__
Configuring done
-- Generating done
-- Build files have been written to: Z:/ssscde-vsd-ne-sw/eec3/02/output/make
What have I done wrong? What variable have I changed?
Regards,
Daniel Carlson
2009/3/25 Alexander Neundorf
> On Wednesday 25 March 2009, Carlson Daniel wrote:
> > No i do n
2009/3/25 Alexander Neundorf
> On Wednesday 25 March 2009, Carlson Daniel wrote:
> > Thank you Alexander!
> >
> > Although this was not the answers I wanted to hear...
> >
> > 1: I believe it is quite stupid to edit the platform files, right? If I
> do
>
when an object file is updated, or some post compile test, etc.)
Regards
Daniel Carlson
2009/3/25 Alexander Neundorf
> On Wednesday 25 March 2009, Carlson Daniel wrote:
> > Best CMake users,
> >
> > I am using CMake in some smaller embedded projects which we have
Best CMake users,
I am using CMake in some smaller embedded projects which we have converted
from traditional make scripts. After all c-files has been compiled we want
to perform some tests on the generated object-files. The tests we are
running demands that the object files are denoted myFile.o a
13 matches
Mail list logo