Hi Jonas.
As a hacky solution, you could override add_library() and add_executable(),
like this:
function(add_library targetName)
_add_library(${targetName} ${ARGN})
add_dependencies(${targetName} BuildInfoDateTime)
endfunction()
Petr
On Wed, Aug 27, 2014 at 5:44 AM, Jonas Lippuner wrote
Hi Ravi,
I've never used ASM_MASM (or any other language beside C, CXX and Fortran),
but if it follows normal CMake language rules, the following variables
should exist:
CMAKE_ASM_MASM_FLAGS
CMAKE_ASM_MASM_FLAGS_
(where is a placeholder for uppercase configuration name).
See the list of per-la
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
I have a custom target called BuildInfoDateTime that generates a *.cpp
file containing the date and time of the build. I specified the target
with ALL, so it gets run if I simply type make. However, I would also
like all other targets (executa
I think I've found the solution at
http://www.vtk.org/Wiki/CMake_Testing_With_CTest. I'm going to try
setting CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE and
CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE and report back.
Thanks,
Ashok
On 8/26/2014 6:24 PM, Ashok Nalkund wrote:
Hi,
I use c
Hi,
I use cmake/ctest to build and run my tests. I'm using "ctest -T Test
-V --output-on-failure --no-compress-output -R ...". I noticed that some
of the tests have truncated output in the Test.xml report. Also I see
the truncation length is different in different scenarios. From what I
see,
Hi Amul,
The -march flag doesn't automatically get set by CMake since it tends to be
highly system specific; you'll need to explicitly add it to your
CMAKE_{C,CXX,Fortran}_FLAGS variables if you want it used. The
CMAKE_SYSTEM_PROCESSOR variable is usually used only for packaging to
determine outp
My host machine is RedHat 6 i686. I was wondering how I could direct CMake to set -march to either i386 or i586 without manually
setting -march=. I tried changing CMAKE_SYSTEM_PROCESSOR, but that did not work.
thanks,
Amul
_
The information contained in this message is proprietary a
Hello,
I'm having some interesting problems with dependencies, and I'm
trying to determine if this is my fault or CMake's. For the record, I'm
on cmake 3.0.1, Windows 7, and Visual Studio 2013.
I've got a project consisting of a vendored copy of Portaudio, a shared
library, and something
Is there a way to enable color compiler messages with the ninja generator?
With make and clang, for example, the makefile generator is able to produce
color output.
Thank you for your assistance.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www
Was hoping not to have to bring in a custom plist, but thanks for the heads up.
Mike Jackson
On Aug 25, 2014, at 1:48 PM, Clinton Stimpson wrote:
> On Monday, August 25, 2014 01:10:27 PM Michael Jackson wrote:
>> Are there are newer facilities in CMake 3.x that would allow me to add
>> additio
Thanks Nils! That does the trick.
--Nico
On Tue, Aug 26, 2014 at 12:03 PM, Nils Gladitz wrote:
> On 08/26/2014 11:50 AM, Nico Schlömer wrote:
>>
>> I would like to add a test for a file converter. The output of the
>> converter is written out to stdout, and I would like to direct this
>> into a
Hi.
I would like to compile some software for Windows Embedded Compact
2013 (WEC2013).
But I was unable to find any documentation about WEC2013 support.
Does somebody already use CMake to build for Windows Embedded Compact 2013?
Is it supported at all? If not where would I need to start to add
su
On 21-Aug-14 00:50, Nico Schl?mer wrote:
Hi all,
a general question:
I have a dependency chain of libraries
A -> B -> C -> ... -> Z
and all of those libraries are built with CMake, using CMake's export
functionality [1] to let the next in the chain know about its the
dependencies.
If all of t
Benjamin Eikel writes:
>
> Hello Christer,
>
> Zitat von Christer Solskogen :
>
> > Hi!
> >
> > I have a cross compiler, installed into /opt/cross, which is
> > compiled by me. This cross compiler (gcc) is sysroot aware, which
> > means that every header and library is installed into
> >
On 08/26/2014 11:50 AM, Nico Schlömer wrote:
I would like to add a test for a file converter. The output of the
converter is written out to stdout, and I would like to direct this
into a file to compare it against a reference file. The signature of
add_test() [1] however doesn't seem to allow tha
Hi all,
I would like to add a test for a file converter. The output of the
converter is written out to stdout, and I would like to direct this
into a file to compare it against a reference file. The signature of
add_test() [1] however doesn't seem to allow that.
How would you go about this proble
16 matches
Mail list logo