On 07/12/2010 08:24 PM, Michael Hertling wrote:
> On 07/12/2010 07:06 PM, Jochen Wilhelmy wrote:
>> Hi!
>>
>> adding
>>
>> ${CMAKE_CURRENT_SOURCE_DIR}/VersionInfo.cpp
>> to the source files does not have the desired effect.
>> If I change some file of the target, VersionInfo.cpp
>> does not get rec
On 07/12/2010 07:06 PM, Jochen Wilhelmy wrote:
> Hi!
>
> adding
>
> ${CMAKE_CURRENT_SOURCE_DIR}/VersionInfo.cpp
> to the source files does not have the desired effect.
> If I change some file of the target, VersionInfo.cpp
> does not get recompiled and therefore the current version
> is not incor
Hi!
adding
${CMAKE_CURRENT_SOURCE_DIR}/VersionInfo.cpp
to the source files does not have the desired effect.
If I change some file of the target, VersionInfo.cpp
does not get recompiled and therefore the current version
is not incorporated into the build.
Therefore I want to recompile it as pre-
On 07/12/2010 04:14 PM, Jochen Wilhelmy wrote:
> Hi!
>
> I'd like to call the c-compiler by hand as pre-link step to compile in
> the current svn version.
>
> on windows i first separate the arguments
>
> separate_arguments(CFLAGS WINDOWS_COMMAND "${CMAKE_CXX_FLAGS}
> ${CMAKE_CXX_FLAGS_DEBUG}
Hi!
I'd like to call the c-compiler by hand as pre-link step to compile in
the current svn version.
on windows i first separate the arguments
separate_arguments(CFLAGS WINDOWS_COMMAND "${CMAKE_CXX_FLAGS}
${CMAKE_CXX_FLAGS_DEBUG} /c")
and then I do
add_custom_command(TARGET MyProject PRE_L