[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-buildsystem
Subject: cmake EXEC_PROGRAM merges stdout and stderr?
From: brad.king () kitware ! com (Brad King)
Date: 2006-02-03 23:29:59
Message-ID: 43E3E777.6060800 () kitware ! com
[Download RAW message or body]
Brad King wrote:
> David Faure wrote:
>>Trying to run uic3 and get its output into a .h file :)
>>The current kde module for that does:
>
> [snip]
>
>>[...some regexp replacements on _uic_CONTENTS, and then...]
>
> The replacement part prevents you from using the shell redirection
> directly, though you could redirect to a file and then read it with
> FILE(READ ...). This could serve as a solution until a better
> EXEC_PROGRAM is available.
I've created a new EXECUTE_PROCESS command that should have everything
you need. It is included in the KDE CMake release I just announced:
http://www.cmake.org/files/v2.3/cmake-2.3.1-20060203-win32.exe
http://www.cmake.org/files/v2.3/cmake-2.3.1-20060203.tar.gz
-Brad
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic