add_custom_command problem when triggering a
FATAL_ERROR in MSVC
Description:
If have multiple custom commands which call
message(FATAL_ERROR Some message)
in case of errors. If you do this and encounter such a case MSVC generates many
MSB3073 errors. I think this issue is somewhat related to
http
2011/1/17 Andrea Galeazzi galea...@korg.it:
I'm trying to invoke a program which increment the build number on a header
file. I'm currently using the following statement:
add_custom_command(OUTPUT ./BuildNumber.h COMMAND java ARGS -jar
I'm trying to invoke a program which increment the build number on a
header file. I'm currently using the following statement:
add_custom_command(OUTPUT ./BuildNumber.h COMMAND java ARGS -jar
Specify an absolute output path here, usually using CMAKE_CURRENT_BINARY_DIR
or something similar.
Il 17/01/2011 11.09, Eric Noulard ha scritto:
2011/1/17 Andrea Galeazzigalea...@korg.it:
I'm trying to invoke a program which increment the build number on a header
file. I'm currently using the following statement:
add_custom_command(OUTPUT ./BuildNumber.h COMMAND java ARGS -jar
2011/1/17 Andrea Galeazzi galea...@korg.it:
Il 17/01/2011 11.09, Eric Noulard ha scritto:
2011/1/17 Andrea Galeazzigalea...@korg.it:
I'm trying to invoke a program which increment the build number on a
header
I just realized something.
Do you want
A) to increase the build number EACH
Il 17/01/2011 12.34, Eric Noulard ha scritto:
2011/1/17 Andrea Galeazzigalea...@korg.it:
Il 17/01/2011 11.09, Eric Noulard ha scritto:
2011/1/17 Andrea Galeazzigalea...@korg.it:
I'm trying to invoke a program which increment the build number on a
header
I just realized something.
Do you want
2011/1/17 Andrea Galeazzi galea...@korg.it:
Il 17/01/2011 12.34, Eric Noulard ha scritto:
I just realized something.
Do you want
A) to increase the build number EACH time you build
B) to increase the build number WHEN of of the SOURCES change?
The B is definitely my choice.
So then
Eric Noulard ha scritto:
2011/1/17 Andrea Galeazzi galea...@korg.it:
Il 17/01/2011 12.34, Eric Noulard ha scritto:
I just realized something.
Do you want
A) to increase the build number EACH time you build
B) to increase the build number WHEN of of the SOURCES
2011/1/17 Andrea Galeazzi galea...@korg.it:
Eric Noulard ha scritto:
2011/1/17 Andrea Galeazzi galea...@korg.it:
Il 17/01/2011 12.34, Eric Noulard ha scritto:
I just realized something.
Do you want
A) to increase the build number EACH time you build
B) to increase the build
Title: korg Firma
Eric Noulard ha scritto:
2011/1/17 Andrea Galeazzi galea...@korg.it:
Eric Noulard ha scritto:
2011/1/17 Andrea Galeazzi galea...@korg.it:
Il 17/01/2011 12.34, Eric Noulard ha scritto:
I just realized something.
Do you want
A) to increase the build number
Dear all,
yesterday I faced wierd behaviour of the newest cmake. Before, I was
using cmake version 2.4-patch 2 and the following command executed
successfully:
=
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/${cpp_class}.h
COMMAND ${JAVAH_RUNTIME}
ARGS -verbose
Gregor Berginc wrote:
Dear all,
yesterday I faced wierd behaviour of the newest cmake. Before, I was
using cmake version 2.4-patch 2 and the following command executed
successfully:
=
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/${cpp_class}.h
COMMAND ${JAVAH_RUNTIME}
Alexander Neundorf wrote:
Original-Nachricht
Datum: Thu, 5 Oct 2006 09:53:37 +0200
Von: Gregor Berginc [EMAIL PROTECTED]
What has changed since patch 2 version? Is this a bug or just my bad
interpretation of ADD_CUSTOM_COMMAND and cmake variables?
You need to add the
13 matches
Mail list logo