Michael Hertling wrote:
> My main conclusion from the above-noted mess among CMake's current
> component-aware find modules is that we urgently need a convention
> how such modules and config files are intended to work. Hopefully,
> we can take a step forward; Qt5's advent is a good opportunity.
On 03/01/2012 07:21 AM, Tan, Tom (Shanghai) wrote:
> According to the doc, generate_export_header(somelib) generates a file
> in the ${CMAKE_CURRENT_BUILD_DIR} called somelib_export.h.
> What's the recommended way to include this "somelib_export.h".
> #include "somelib_export.h" does not work. A
According to the doc, generate_export_header(somelib) generates a file
in the ${CMAKE_CURRENT_BUILD_DIR} called somelib_export.h.
What's the recommended way to include this "somelib_export.h".
#include "somelib_export.h" does not work. And
${CMAKE_CURRENT_BUILD_DIR} is empty too. I am using v2.
Is anyone having the problem where CMake creates VS10 project files with
GenerateDebugInformation set to false for all (including Debug &
RelWithDebInfo) targets? If I remember correctly, this did not happen when
using the VS9 generator, but I don't have VS9 handy to test.
--
Johannes
--
P
On 03/01/2012 01:38 AM, Robert Dailey wrote:
> I ran a quick test:
>
>
> function( test )
> message( "SOME_TEST: ${SOME_TEST}" )
> endfunction()
>
> function( start )
> set( SOME_TEST "HELLO WORLD" )
> test()
> endfunction()
>
> start()
>
>
> Seems like a function has access to the calling sc
On 02/28/2012 10:03 PM, Alexander Neundorf wrote:
> ...will reply later in detail.
>
> Could you please go through the existing find-modules shipped with cmake
> which
> support COMPONENTS and make a summary of how they handle them ?
>
> At least FindQt4.cmake be default searches all components
I ran a quick test:
function( test )
message( "SOME_TEST: ${SOME_TEST}" )
endfunction()
function( start )
set( SOME_TEST "HELLO WORLD" )
test()
endfunction()
start()
Seems like a function has access to the calling scope's defined variables.
I thought because functions created a new scope, tha
On 02/29/2012 06:27 PM, Eric Noulard wrote:
2012/2/29 Andrea Crotti:
If anyone is interested, I'm collecting cmake-mode yasnippet snippets for
Emacs:
https://github.com/AndreaCrotti/yasnippet-snippets/tree/master/cmake-mode
Is anyone else using it and has some nice snippets to share?
I'm not
On Wed, Feb 29, 2012 at 1:44 PM, Andrea Crotti
wrote:
> On 02/28/2012 05:53 PM, Eric Noulard wrote:
>>
>> 2012/2/28 Andrea Crotti:
>>>
>>> On 02/28/2012 03:42 PM, Eric Noulard wrote:
>> Yes more or less beside the fact is CPack is doing more work than that:
>> 1) CPack handles CPack-pr
On 02/28/2012 05:53 PM, Eric Noulard wrote:
2012/2/28 Andrea Crotti:
On 02/28/2012 03:42 PM, Eric Noulard wrote:
Yes more or less beside the fact is CPack is doing more work than that:
1) CPack handles CPack-private install location for you
(including the installation of the compone
2012/2/29 Massaro Alessio :
> Hi there,
>
>
>
> Awkward behaviour:
>
>
>
> My CMakeLists.txt do a find_package(Subversion)
>
>
>
> Now, I have a Jenkins build server running under domain user XYZ
>
> The Jenkins CMake plugin tells me it’s trying to do the following:
>
>
>
> “c:\Program Fil
2012/2/29 Andrea Crotti :
> If anyone is interested, I'm collecting cmake-mode yasnippet snippets for
> Emacs:
>
> https://github.com/AndreaCrotti/yasnippet-snippets/tree/master/cmake-mode
>
> Is anyone else using it and has some nice snippets to share?
I'm not using it (yasnippet) but this seems
Hi there,
Awkward behaviour:
My CMakeLists.txt do a find_package(Subversion)
Now, I have a Jenkins build server running under domain user XYZ
The Jenkins CMake plugin tells me it's trying to do the following:
"c:\Program Files\CMake 2.8\bin\cmake.exe" -G "Visual Studio 9 2008"
If anyone is interested, I'm collecting cmake-mode yasnippet snippets
for Emacs:
https://github.com/AndreaCrotti/yasnippet-snippets/tree/master/cmake-mode
Is anyone else using it and has some nice snippets to share?
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
ht
Do transitive dependencies reduce number of jobs that can be compiled in
parallel?
If I have two libraries A and B, with an executable C, whose
dependencies are described by:
add_library(A ${A_SRC})
add_library(B ${B_SRC})
target_link_libraries(B A)
add_executable(C ${C_SRC})
targ
Hi Andreas,I too am new to CMake, but let me take a crack at this... someone correct me if there's a better way.You shouldn't need a find module. You only need them when you're including libraries that CMake doesn't already know the location of. Since you're building Library_1 in CMake you can just
16 matches
Mail list logo