On Monday, July 21, 2014 22:41:32 Stephen Kelly wrote:
> Scott Kitterman wrote:
> > Given the above, I thought it would make sense to provide a new
> > FindPyQt.cmake that would replace (and be backward compatible with)
> > FindPyQt4.cmake that would work for both the new and old PyQt4 configure
>
I am attempting to build an easy-to-use build system for an embedded
system. This chip uses .dat, .spin, .cogc, and .ecogc files along with
.S, .c, and .cpp. I've added the necessary language files to my project
path which will enable cogc (I'll get to the other file types
eventually) and they
Hi Nils,
Thanks for your reply.
The installed "application" is a python module and it should not ever
perform any file install/copy operations.
It is an absolute requirement that the installer are able to install files
into the users MyDoc folder (or even other common "system folders", sucha as
On 07/21/2014 09:07 PM, Totte Karlsson wrote:
Hi,
Is it possible to (easily) install a file, say Readme.txt, into a users "My
Documents" folder, using CMake/CPack?
I can't find information about such.. :(
I'd consider having the installed application set these up when run
since specifically
> So CMAKE can't control the options int he *.user files I guess :-\? Would a
> potential workaround be to find a command line tool that can edit these and
> run it as a post-build script?
CMake gives you the functionality needed to edit these via your own
script. I mean reading and writing files
On Sun, Jul 20, 2014 at 11:49 PM, Nils Gladitz
wrote:
> On 07/21/2014 08:05 AM, Joseph Rosensweig wrote:
>
>> Visual Studio Settings
>>
>> Every time CMAKE generates a project it will be a fresh solution and
>> will not maintain any of the settings you applied to the Visual Studio
>> project.
Scott Kitterman wrote:
> Given the above, I thought it would make sense to provide a new
> FindPyQt.cmake that would replace (and be backward compatible with)
> FindPyQt4.cmake that would work for both the new and old PyQt4 configure
> and with PyQt5 and have it be actually in CMake so that there
On Monday, July 21, 2014 08:40:11 Payal Prajapati wrote:
> hello All,
>
> Two things to say:
>
> 1)I read all conversion regarding this topic..but can any one explain me
> the whole procedure?
> 2)I am working on orfeo toolbox which i imported in eclipse.It works fine
> upto make target->build s
Hi,
Is it possible to (easily) install a file, say Readme.txt, into a users "My
Documents" folder, using CMake/CPack?
I can't find information about such.. :(
-tk
--
View this message in context:
http://cmake.3232098.n2.nabble.com/My-Documents-folder-tp7587946.html
Sent from the CMake mail
Well try it and see if it works. If you set this variable in a specific
CMakeLists file, it will affect the specific add_library (or
add_executable) that is in that CMakeLists file. With this way you can
control which libraries/executables will be linked with these flags, and
this is the level of c
Hendrick! That's exactly what I'm trying to do. Do you have an example
of the declaration of the dll import target setup you could share? That
would be immensely helpful.
Thanks
Walter
On 7/19/2014 4:01 AM, Hendrik Sattler wrote:
Hi,
for DLLs, the .lib part has it's own property IMPORTED_I
The problem is that I need to add both -whole-archive and -no-whole-archive
options. And I need to control exactly where they occur so that only my
libraries occur inside the whole archive section. I'd be happy to be
proven wrong but I don't think setting CMAKE_EXE_LINKER_FLAGS will give me
that
Hi!
After much help from Nils from the list i am able to use GENERATOR expressions
in my compile definitions.
But i end up in the moc'ing step for my qt4 files.
The cmake macros QT4_WRAP_CPP generates a moc command file called
moc_...cxx_parameters, that contains the "generator expression" valu
On 07/21/2014 04:01 PM, Jörg Kreuzberger wrote:
ok, then it worked.
i got no warning on the policies, maybe i would have then detected it further. Can i
"enable" them "globally"?
With cmake_minimum_required(VERSION 3.0) the new behaviour is used for
the policy which is to ignore the property
ok, then it worked.
i got no warning on the policies, maybe i would have then detected it further.
Can i "enable" them "globally"?
-Ursprüngliche Nachricht-
Von:Nils Gladitz
Gesendet: Mo 21.07.2014 15:36
Betreff:Re: AW: [CMake] Source List Compilation Depending on
Conf
On 07/21/2014 03:19 PM, Jörg Kreuzberger wrote:
1) i reset it with
set( CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS_INIT} )
set( CMAKE_CXX_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE_INIT} )
set( CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG_INIT} )
and then append my own custom compiler definitions.
1) i reset it with
set( CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS_INIT} )
set( CMAKE_CXX_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE_INIT} )
set( CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG_INIT} )
and then append my own custom compiler definitions. "-DNDEBUG" appears in
flags.make, only in CXX_FLAGS,
On 07/21/2014 02:29 PM, Jörg Kreuzberger wrote:
Hm, following your suggestion i replace lines
if( "${CMAKE_BUILD_TYPE}" STREQUAL "Release")
add_definitions( -DNDEBUG )
endif()
with
set_directory_properties( PROPERTIES COMPILE_DEFINITIONS_RELEASE
"${COMPILE_DEFINITIONS_RELEASE};NDEBUG" )
${COM
Hm, following your suggestion i replace lines
if( "${CMAKE_BUILD_TYPE}" STREQUAL "Release")
add_definitions( -DNDEBUG )
endif()
with
set_directory_properties( PROPERTIES COMPILE_DEFINITIONS_RELEASE
"${COMPILE_DEFINITIONS_RELEASE};NDEBUG" )
it didnt worked. ( inspecting e.q. flags.make and compi
Jörg Kreuzberger wrote:
> Is there an easy way to handle this?
Try a nightly build:
http://www.cmake.org/files/dev/?C=M;O=D
And a generator expression:
http://www.cmake.org/cmake/help/v3.0/manual/cmake-generator-expressions.7.html
add_library(mylib bar.cpp
$<$:foo.cpp>
)
Testing the
On 07/21/2014 11:46 AM, Jörg Kreuzberger wrote:
Hi!
if i want to add sources to list of compilation i can rely on CMAKE_BUILD_TYPE.
E.g if i want to add a source file only for release, i append it to list of
source files only then.
BUT: how can i do this for multi configuration like vs?
So i w
Hi!
if i want to add sources to list of compilation i can rely on CMAKE_BUILD_TYPE.
E.g if i want to add a source file only for release, i append it to list of
source files only then.
BUT: how can i do this for multi configuration like vs?
So i want to add it to the sources, so that it appears i
Hi Glenn,
Adding linker flags exactly in target_link_libraries is not a very good
practice in my opinion. To add specific linker flags to an executable, you
can use the variable CMAKE_EXE_LINKER_FLAGS, which you can edit before
calling add_executable. You could set this variable accordingly in you
23 matches
Mail list logo