These flags used by CMake internally to properly handle dependencies (as I
can tell from source code). LinkLibraryDependencies is turned on when your
target depends on target added wihth include_external_msproject. As for
UseLibraryDependencyInputs - you can't set this flag with CMake.
On Mon, Jul
Look through your CMakeLists where it is defined. AFAIK CMake doesn't add it
if you don't ask. Then, there are options: if it is added via
add_definitions() then you can use remove_definitions to remove this macro
for single project. If it is passed via COMPILE_FLAGS - then you have to
adjust them
The target property TYPE tells you what the type of the library is:
http://cmake.org/cmake/help/cmake-2-8-docs.html#prop_tgt:TYPE
Use:
get_property(type TARGET ${SOME_TARGET} PROPERTY TYPE)
message("type='${type}'")
to retrieve the value of the TYPE property.
http://cmake.org/cmake/hel
Hi,
I'd like to be able to write a macro like this:
macro(my_macro SOME_TARGET)
if (isStaticLibraryTarget(${SOME_TARGET})
message(FATAL "This macro can only be used with shared libraries")
endif()
endmacro()
add_library(libshared SHARED shared.cpp)
my_macro(libshared) # Works
add_librar
Hi Daniel,
This sounds like a great feature :), do you think you could also associate a
test with your changes ?
Out of curiosity, why "*the right set of include directories is unknown
until all components
have been processed*" ?
If it resumes not to be the case, I believe using a CMakeCache var
Hi,
On Saturday 04 December 2010, Johannes Zarl wrote:
> Hello,
>
> The compatibility matrix for different versions of cmake is now complete
> and awaits review:
> http://www.cmake.org/Wiki/CMake_Version_Compatibility_Matrix
>
> Apart from factual errors and things I might have missed, I am also
On 7/12/2011 11:39 AM, Florian Reinhard wrote:
Hi!
Problem:
* GNU make doesn't make use of "number of jobs" (-j)
Setup:
* windows 7 x64
* cmake 2.8.4
* GNU make 3.81 (gnuwin32)
* custom toolchain (Texas Instruments cl6x)
I tried the following generators:
* MinGW Makefiles
* Unix Makefiles
Do
Hi fellows of Ryppl and CMake,
we are currently in the process of modularizing the Boost C++
Libraries into small individual components. All these components may
depend upon each other, circular dependencies may occur too. We use
CMake to configure, build, test, package etc. We are quite successfu
Hi!
Problem:
* GNU make doesn't make use of "number of jobs" (-j)
Setup:
* windows 7 x64
* cmake 2.8.4
* GNU make 3.81 (gnuwin32)
* custom toolchain (Texas Instruments cl6x)
I tried the following generators:
* MinGW Makefiles
* Unix Makefiles
Does parallel compiling not work in general or is t
2011/7/12 Michael Hertling :
> On 07/12/2011 09:35 AM, Eric Noulard wrote:
>> 2011/7/12 Thomas Petazzoni :
>>> Hello,
>>>
>>> Le Sun, 05 Jun 2011 11:02:00 +0200,
>>> Quintus a écrit :
>>>
I'm working on a git-versioned project that I'd like to display it's
version number for development
So, here is what I did, I think I do something wrong:
In the main CMakeLists.txt file at the end of the file I have:
## Create a CTestCustom.cmake file
FILE(WRITE ${CMAKE_BINARY_DIR}/CTestCustom.cmake
"SET(CTEST_CUSTOM_WARNING_EXCEPTION \${CTEST_CUSTOM_WARNING_EXCEPTION}
\"circul
On 07/12/2011 09:35 AM, Eric Noulard wrote:
> 2011/7/12 Thomas Petazzoni :
>> Hello,
>>
>> Le Sun, 05 Jun 2011 11:02:00 +0200,
>> Quintus a écrit :
>>
>>> I'm working on a git-versioned project that I'd like to display it's
>>> version number for development versions like this:
>>>
>>> 1.2.3-dev (
Thanks for the hint, but it doesn't work either:
Here is the error which I get in CDash:
Build Log Line353
Error
/usr/include/stdarg.h:4: circular inclusion of /usr/include/stdarg.h
Updating '../../../../source/app/client/Languages/Language_ces.ts'...
Found 874 sour
> Hi,
>
> in my App I use lupdate/lrelease to generate language plugins.
>
> However due the bug in lupdate which generates "circular inclusion of ..."
> warnings, the dash board (CDash) has error's and not warnings.
>
> I don't know why there are errors and not warnings.
>
> Is there a way to disa
Hi,
in my App I use lupdate/lrelease to generate language plugins.
However due the bug in lupdate which generates circular inclusion of
warnings, the dash board (CDash) has errors and not warnings.
I dont know why there are errors and not warnings.
Is there a way to disable/ignore t
Hi everyone,
I use CMake in Visual Studio 2008. When I generate MFC projects, in the
"Preprocessor Definitions" there is an option "NOMINMAX". Anyone knows how to
remove it use CMake? Thank you!
Best Regards
Shuiling___
Powered by www.kitware.c
2011/7/12 Laszlo Papp :
>
>
> Here is what I would advise (of course by setting some option if you
> want two have it also the "original" way):
>
> install(FILES
> atticamanager.h
> authentication.h
> archive/archive.h
> models/commentitemsmodel.h
> models/gameitemsmodel.h
> models
Hi Eric,
> Honestly I do not see any benefit in this, but may be I did not
> understand what you meant?
Here is an example then:
Original version:
install(FILES
atticamanager.h
authentication.h
DESTINATION ${INCLUDE_INSTALL_DIR}/gluon/player/lib
COMPONENT Devel
)
install(FILES
2011/7/12 Laszlo Papp :
> Hi,
>
>> Not sure whether if it's better than your current solution.
>> May be it's a little less painless to write.
>
> Would it make sense to add an option to these install sections so that
> it grabs the files as they are (with subfolders, if any), if you set
> that opt
2011/7/12 Thomas Petazzoni :
> Hello,
>
> Le Sun, 05 Jun 2011 11:02:00 +0200,
> Quintus a écrit :
>
>> I'm working on a git-versioned project that I'd like to display it's
>> version number for development versions like this:
>>
>> 1.2.3-dev (commit abc1234 on devel, 12/4/10)
>
> For similar need
Hi,
> Not sure whether if it's better than your current solution.
> May be it's a little less painless to write.
Would it make sense to add an option to these install sections so that
it grabs the files as they are (with subfolders, if any), if you set
that option or something like that ? That wo
2011/7/12 Laszlo Papp :
> Hi,
>
> I have just realized this snippet in my CMakeLists.txt file:
>
> install(FILES
> atticamanager.h
> authentication.h
>
> DESTINATION ${INCLUDE_INSTALL_DIR}/gluon/player/lib
> COMPONENT Devel
> )
>
> install(FILES
> archive/archive.h
>
> DESTINATION
Hello,
Le Sun, 05 Jun 2011 11:02:00 +0200,
Quintus a écrit :
> I'm working on a git-versioned project that I'd like to display it's
> version number for development versions like this:
>
> 1.2.3-dev (commit abc1234 on devel, 12/4/10)
For similar need I did something like :
execute_process(CO
23 matches
Mail list logo