On 28.05.2012 11:34, Alexander Neundorf wrote:
>> the only solution I can think of is something like:
>>
>> #
>> option(WITH_A ...)
>> option(WITH_B ...)
>>
>> set(MySources always/present/files ...)
>>
>> if(WITH_A)
>> list(APPEND MySources files/for/a ...)
>> endif()
>>
>> if(WITH_B)
>> list
Please tack a lock at my builds tooAll of this errors are NOT caused by ninja!http://open.cdash.org/buildSummary.php?buildid=2315144But with ninja I get the same result.Some of the errors are caused by the fact that I use the current gcc47 compiler (build with macports), which does not understand t
On Monday 28 May 2012, luxInteg wrote:
> Greetings,
>
> A cmake install question:-
>
> When installing say an unknown package (one where only installation prefix
> is described) appart from such $CMAKE_INSTALL_DIRECTORY (or prefix),
> are there 'generic' swithes to fix other directories such
Greetings,
A cmake install question:-
When installing say an unknown package (one where only installation prefix is
described) appart from such $CMAKE_INSTALL_DIRECTORY (or prefix), are there
'generic' swithes to fix other directories such as
--sysconfdir (normally /etc) --mandir (usually
On Monday 28 May 2012, Petr Kmoch wrote:
> Hi Johannes,
>
> the only solution I can think of is something like:
>
> #
> option(WITH_A ...)
> option(WITH_B ...)
>
> set(MySources always/present/files ...)
>
> if(WITH_A)
> list(APPEND MySources files/for/a ...)
> endif()
>
> if(WITH_B)
> lis
On Sun, May 27, 2012 at 3:23 PM, Marmot Ken wrote:
> Sorry. Copy-paste error kicks my ass.
>
>
> Output expected :
>
> SRC_LIST : ./a.cpp;./c.cpp;./main.cpp
> src_list_in : ./a.cpp;./c.cpp;./main.cpp
>
> Now i got the solution.
>
> invoke the function like this :
>
> AUX_SOURCE_DIRECTORY(
Hi Johannes,
the only solution I can think of is something like:
#
option(WITH_A ...)
option(WITH_B ...)
set(MySources always/present/files ...)
if(WITH_A)
list(APPEND MySources files/for/a ...)
endif()
if(WITH_B)
list(APPEND MySources files/for/b ...)
endif()
add_executable(MyExec ${MySo