Does that result in building the code 3 times?
And why would you need to repeat the install directives?
I've attached a CMakeLists.txt file for an example project that works for me
without repeating install directives.
Clint
- Original Message -
> Here's a follow-up.
> I was unabl
set(CPACK_INSTALL_CMAKE_PROJECTS
# self project
"${CMAKE_BINARY_DIR};${CMAKE_PROJECT_NAME};ALL;/"
# other config project
"${CMAKE_BINARY_DIR}/SecondaryBuildTree;${CMAKE_PROJECT_NAME};ALL;/"
)
endif()
--
Clinton Stimpson
Elemental Technologies, Inc
Computati
On Monday, January 28, 2013 10:07:04 PM Eric Noulard wrote:
> 2013/1/28 Clinton Stimpson :
> > When I try installing a cpack generated .rpm package on another machine,
> > it
> > also installs a handful of other dependent packages (including the 32 bit
> > libc
On Monday, January 28, 2013 11:59:46 AM Clinton Stimpson wrote:
> When I try installing a cpack generated .rpm package on another machine, it
> also installs a handful of other dependent packages (including the 32 bit
> libc.so.6 for one of the 32 bit executables among all the 64
y way to fix
this, either in cpack or in my cpack config? At a minimum, I think all I
really need is the 32 bit libc.so.6.
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
--
Powered by www.kitware.com
Visit other Kitware open-source projec
${foo_SOURCE_DIR}/foo.h
)
...
SWIG_ADD_MODULE(foo python foo.i)
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource
> >
> > Steve.
> >
> >
> > --
> >
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the CMake FAQ a
after your project(gmms):
if(CMAKE_CONFIGURATION_TYPES)
set( CMAKE_CONFIGURATION_TYPES debug release CACHE INTERNAL "" FORCE )
endif()
Or some code to strip out types from CMAKE_CONFIGURATION_TYPES except for
debug and release. So if it was empty to begin with, it c
Know any good workarounds for this?
>
> On Tue, Nov 6, 2012 at 11:54 AM, Clinton Stimpson
wrote:
> > Try this:
> > add_custom_command(
> >
> > OUTPUT ${bin_outputs}
> > COMMAND ${copy_commands}
> > DEPENDS
> &g
Try this:
add_custom_command(
OUTPUT ${bin_outputs}
COMMAND ${copy_commands}
DEPENDS
)
On Tuesday, November 06, 2012 11:50:54 AM Robert Dailey wrote:
> Thanks Clinton,
>
> Here is what I have so far:
>
>
> project( copy_dlls )
ith it? Also
> would I add the custom commands to the custom target?
>
> On Tue, Nov 6, 2012 at 11:11 AM, Clinton Stimpson
wrote:
> > On Tuesday, November 06, 2012 11:06:45 AM Robert Dailey wrote:
> >> I use ${CMAKE_COMMAND} -E copy_if_different to copy DLL files to my
>
rent is so slow? Is my assumption correct?
> How can I make it faster?
How about using plain "cmake -E copy ..." and rely on the timestamp check done
by a custom command (add_custom_command()).
You need to make sure the input/ouput parts of the custom command are set
correctly so i
On Nov 1, 2012, at 8:01 AM, Stephen Kelly wrote:
> Gregoire Aujay wrote:
>
>> Hello,
>>
>> I am doing my tests with visual 2008 and mingw.
>>
>> As far as I understand a module is like a shared library that cannot be
>> linked. Instead it is dynamically loaded and then we find and use symbols
On Monday, October 15, 2012 01:37:42 PM John Drescher wrote:
> > Having CMAKE_SYSTEM_PROCESSOR be "x86" for a 64-bit build is very
> > inconvenient when detecting machine-dependent compiler flags,
> > constructing directory names for outputs based on configuration,
> > configuring third party searc
If you run moc on Main.h, which includes Dum.h, moc doesn't even open "Dum.h"
to scan its contents.
That tells me there is no way that moc would be required to rescan Main.h if
Dum.h is modified.
Clint
On Oct 10, 2012, at 10:32 PM, Miller, Frank wrote:
> Greetings,
>
> Suppose we have a head
This doesn't look like a cmake bug to me.
Someone tried to "fix" dlopen() for this case you are demonstrating, when the
--enable-new-dtags linker flag is used.
http://sources.redhat.com/ml/libc-hacker/2002-10/msg00048.html
But the patch was rejected because it was by design.
http://sourceware.or
ds.
>
> This is for convenience, so that users of Qt do not have to specify the
> static dependencies themselves, and so that I don't have to maintain the
> list 'artificially' in the cmake files in Qt either.
>
> However, there are issues, see below:
>
>
Did you make the mistake of relocating your Qt installation?
You could run qmake -query to see the paths it prints out, to make sure it
matches your installation.
Clint
On Aug 12, 2012, at 12:59 PM, Toronto Andrew wrote:
> Yes to both John, I did point the CMake gui to the position of the qmake
ler as the build-process does?
>
This has already been fixed in FindQt4 since CMake 2.8.6.
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/op
s nowadays anyway...?)
> > >> >> >
> > >> >> > In order to classify it as a system library, you can
> > >> >> > provide a
> >
> > CMake
> >
> > >> >> > function named gp_resolved_file_type_over
On May 5, 2012, at 5:52 AM, Dave Abrahams wrote:
>
> on Sat May 05 2012, Michael Wild
> wrote:
>
>> On 05/05/2012 07:25 AM, Dave Abrahams wrote:
>>>
>>> I need to preserve the built-but-not-yet-installed state of some
>>> projects, and the tool I'm driving CMake with moves the result of ever
-
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/
laining about the same thing.
>
It works for me. But perhaps you're hitting a bug that was fixed in CMake
2.8.6.
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
--
Powered by www.kitware.com
Visit other Kitware open-source project
Yeah it does look like synchronization is needed to fix this. The current
interrupt functionality depends on message output or progress reporting to
actually process the interrupt on the worker thread, which isn't good enough.
I'm not sure if you've considered this, but it seems simpler to add
the ZIP generator instead.
> >>>>>
> >>>>> Anyone else can confirm this? I tried to search for it in the
> >>>>> archives, but I could not find it.
> >>>>>
> >>>>> Best Regards,
> >>>>> Yngv
...
#else
...
#endif
Is there any way to generate this configured header for a static or for a
shared build, so one doesn't have to add preprocessor defines to use the header
file?
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.co
How about the following two examples for a table or 2d array.
In the first one, each column can have a name too. Its like an array of
pointers in C++.
set(fruits apple orange banana)
set(animals cat dog elephant)
set(columns fruits animals)
foreach(column ${columns})
foreach(item ${${column
ave a concern if one
builds their own Qt (different version) without phonon, is it OK to find
/usr/lib/libphonon.so?
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
ARY_SUFFIX and
> CMAKE_IMPORT_LIBRARY_SUFFIX? Which should I use?
>
> -
> Robert Dailey
>
> On Mon, Nov 14, 2011 at 2:49 PM, Clinton Stimpson
wrote:
> > That's what I do sometimes. To make that easier, CMake gives some
> > convenience
> > variables for library pre
t; link_directories(), however I haven't run into those issues yet and our
> > consistent organization of third party libraries on our intranet server
> > are carry over from our legacy build system that I'm replacing.
> > --
> >
> > Powered by www.kitware.
g issue and allowed me to build without any
> problems. Is that project just misusing cmake, or is it really a
> problem with Qt4Macros.cmake?
>
> Regards,
>
> Pierre-Francois
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
&
On Thursday, October 27, 2011 12:11:36 pm Robert Dailey wrote:
> On Thu, Oct 27, 2011 at 1:10 PM, Clinton Stimpson
wrote:
> > On Thursday, October 27, 2011 12:03:20 pm Robert Dailey wrote:
> > > *cricket... cricket...*
> > >
> > > -
> > > Ro
Dailey
:) Yeah it looks like a bug to me.
The culprit is in CMakeCPack.cmake where it sets
CPACK_PACKAGE_INSTALL_REGISTRY_KEY.
That registry key is patch version specific, while the default install
directory is minor version specific. So overwriting a previous install will
still create a new set of registr
SAMPLEAPP/build/CMakeFiles
> $(CMAKE_PROGRESS_22) @$(CMAKE_COMMAND) -E cmake_echo_color
> --switch=$(COLOR) --blue --bold "Generating SampleControl.h"
> SAMPLEAPP/build/src && /usr/bin/uic-qt3 -o
> SAMPLEAPP/build/src/SampleControl.h
> SAMPLEAPP/src/SAMP
our code needs to link with opengl32.lib, then you can use
find_package(OpenGL) and target_link_libraries().
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.
On Wednesday, October 05, 2011 09:53:53 am Alexander Neundorf wrote:
> On Wednesday 05 October 2011, Clinton Stimpson wrote:
> > On Wednesday, October 05, 2011 08:29:00 am Marcus D. Hanwell wrote:
> > > On Wed, Oct 5, 2011 at 6:53 AM, Peter Kuemmel
wrote:
> > > >
es with quoting.
Peter, is that your problem also? Can you edit your .cbp to remove lines like
that? Or copy it to a file with a .xml extension then open it in a program
that can check the xml (e.g. firefox).
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software
quot; option.
>
You're probably looking for this:
set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY 1)
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/open
> >> Follow this link to subscribe/unsubscribe:
> >> http://www.cmake.org/mailman/listinfo/cmake
>
> Furthermore:
>
> Additionally, "cmake -E rename" is supposed to be guaranteed to be
> "atomic" -- adding this code makes it "mostly atomic&quo
f Qt which is built as dynamic ones.
>
A fix for this has been put in.
http://www.cmake.org/gitweb?p=cmake.git;a=commit;h=a67be31
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
___
Powered by
Here's my (not so complete) understanding...
Public assemblies are searched before private ones.
http://msdn.microsoft.com/en-us/library/aa374224(v=vs.85).aspx
So, on your machine, you have the required CRT libraires in the winsxs folder.
You also have a redirection that says to use a newer CRT l
On Tuesday, August 02, 2011 06:36:45 pm David Cole wrote:
> On Tue, Aug 2, 2011 at 8:05 PM, Clinton Stimpson
wrote:
> > On Aug 2, 2011, at 5:47 PM, Gregory Crosswhite wrote:
> >> On 8/2/11 4:32 PM, Clinton Stimpson wrote:
> >>> There is no scanning the file system
On Aug 2, 2011, at 5:47 PM, Gregory Crosswhite wrote:
> On 8/2/11 4:32 PM, Clinton Stimpson wrote:
>> There is no scanning the file system to find which libraries to fix up.
>> Any libraries used by executables will be considered in the set of libraries
>> to fix up, regardl
On Tuesday, August 02, 2011 05:09:04 pm Gregory Crosswhite wrote:
> On 08/02/2011 03:10 PM, Clinton Stimpson wrote:
> > On Tuesday, August 02, 2011 03:38:01 pm Gregory Crosswhite wrote:
> > You need an @ONLY for configure_file() so it doesn't substitute the ${}
> > par
On Tuesday, August 02, 2011 03:38:01 pm Gregory Crosswhite wrote:
> On 8/2/11 1:09 PM, Clinton Stimpson wrote:
> > Ok, can you make an example that demonstrates the problem?
> >
> > I think this should work without overriding get_dotapp_dir() in
> > BundleUtilities.
&
On Tuesday, August 02, 2011 02:03:23 pm Gregory Crosswhite wrote:
> On 8/2/11 12:53 PM, Clinton Stimpson wrote:
> > On Mac, are you making a .app bundle, or are you doing a layout similar
> > to Linux, with bin/, lib/ layout, or something else?
>
> The latter --- I was h
On Tuesday, August 02, 2011 01:42:47 pm Gregory Crosswhite wrote:
> On 8/2/11 9:28 AM, Clinton Stimpson wrote:
> > You shouldn't need to copy GetPrerequisites and BundleUtilities.
> >
> > For Linux you can do:
> > set_target_properties( ... PROPERTIES INSTALL_RPAT
See gp_item_default_embedded_path() in GetPrerequisites for more information.
And finally, to copy the dependents into lib/ instead of bin/, you can
implement
gp_item_default_embedded_path_override()
to return a different path.
See gp_resolved_file_type() in GetPrerequisites for more information.
--
On Jul 29, 2011, at 10:58 AM, James Sutherland wrote:
> I have the following in my CMakeLists.txt:
>
> install( DIRECTORY "${QT_PLUGINS_DIR}/imageformats"
> DESTINATION ${plugin_dest_dir}/plugins
> COMPONENT Runtime
> )
>
> This results in the appropriate libraries (libqtiff.dylib
ce of undefined variable when detecting frameworks on
Mac OS X
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://w
Qt was configured with "-headerdir include/qt4"
--- a/Modules/FindQt4.cmake
+++ b/Modules/FindQt4.cmake
@@ -620,7 +620,7 @@ IF (QT_QMAKE_EXECUTABLE AND QTVERSION)
SET(QT_QTCORE_INCLUDE_DIR NOTFOUND)
FIND_PATH(QT_QTCORE_INCLUDE_DIR QtCore
- Original Message -
> Hi Clint and thanks for your advices (sorry about the delayed
> answer),
>
> On Tue, Jul 19, 2011 at 1:33 AM, clin...@elemtech.com
> wrote:
> > When cross compiling, only some the qmake queries are actually
> > used.
> >
> > Finding the rest just works if subdirs
it creates a dmg from
the layout/bundle(s) created by your install() commands, so you will be able
to call fixup_bundle().
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
___
Powered by ww
> add_subdirectory(touch)
> else(QT_QTDECLARATIVE_FOUND)
> message(WARNING "Qt installation lacks Qt Declarative -
> disabling touch based player")
> endif(QT_QTDECLARATIVE_FOUND)
>
> Best Regards,
> Laszlo Papp
Can you try this with a
the same problems and/or could help me
>
> Much thanks in advance
>
> Best Regards
> NoRulez
Do you have a simple way to reproduce the problem?
I don't see this problem with some of my projects on the Mac.
--
Clinton Stimpson
Elem
On Thursday, July 07, 2011 11:02:50 am Laszlo Papp wrote:
> Hi Clinton,
>
> > What is the value of QT_QTDECLARATIVE_LIBRARY ? The
> > QT_QTDECLARATIVE_FOUND depends on that value.
>
> /usr/lib/libQtDeclarative.so
>
> That file exists in scratchbo
ld like to find the root cause of the issue.
>
> Any help is welcome and thank you in advance!
What is the value of QT_QTDECLARATIVE_LIBRARY ? The QT_QTDECLARATIVE_FOUND
depends on that value.
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft
On Wednesday, June 22, 2011 02:20:08 pm Clinton Stimpson wrote:
> On Wednesday, June 22, 2011 01:47:33 pm Stephen Kelly wrote:
> > Clinton Stimpson wrote:
> > >> The output is attached, but I'm not certain it's very helpful. Let me
> > >> know if anythi
On Wednesday, June 22, 2011 01:47:33 pm Stephen Kelly wrote:
> Clinton Stimpson wrote:
> >> The output is attached, but I'm not certain it's very helpful. Let me
> >> know if anything else would be useful. I can maybe try to create a
> >> smaller plugin u
On Wednesday, June 22, 2011 12:21:51 pm Stephen Kelly wrote:
> Clinton Stimpson wrote:
> >> And all unit tests then fail with MinGW. The errorString() reported is:
> >>
> >> QDEBUG : TestBuiltinSyntax::testInsignificantWhitespace(insignificant-
> >> whitesp
On Wednesday, June 22, 2011 12:21:51 pm Stephen Kelly wrote:
> Clinton Stimpson wrote:
> >> And all unit tests then fail with MinGW. The errorString() reported is:
> >>
> >> QDEBUG : TestBuiltinSyntax::testInsignificantWhitespace(insignificant-
> >> whitesp
On Wednesday, June 22, 2011 05:06:41 am Stephen Kelly wrote:
> Clinton Stimpson wrote:
> >> >>#
> >> >>http://mail.kde.org/pipermail/kde-windows/2007-December/001692.html
> >> >>#
> >> >>
> >> >> http://lists.tro
On Wednesday, June 22, 2011 10:01:37 am Stephen Kelly wrote:
> Hi,
>
> In my GrantleeConfigVersion.cmake.in I can use ${PACKAGE_FIND_VERSION}
> which I presume is filled from the find_package command (I just copied the
> file from elsewhere).
>
> Is there an equivalent for COMPONENTS so that if s
On Jun 22, 2011, at 7:01 AM, Stephen Kelly wrote:
> Wups, sent a moment to early...
>
> Stephen Kelly wrote:
>
>> Clinton Stimpson wrote:
>>> It means the target must be created again with something like
>>> add_library(Qt4::QtCore UNKNOWN IMPORTED)
>>
On Tuesday, June 21, 2011 06:59:25 am Stephen Kelly wrote:
> Hi,
>
> Thanks for the response. I've got a few followups.
>
> Clinton Stimpson wrote:
> >> The part that is not clear to me is this:
> >> > This
> >> > means when a project B then
CTORY APPEND PROPERTY COMPILE_DEFINITIONS_DEBUG QT_DEBUG)
SET_PROPERTY(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_RELEASE
QT_NO_DEBUG)
SET_PROPERTY(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_RELWITHDEBINFO
QT_NO_DEBUG)
SET_PROPERTY(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_MINSIZEREL
QT_NO_DEBUG)
--
2246)
> > Teach file(DOWNLOAD|UPLOAD) to timeout after inactivity
> > Xcode: Fix parallel build depends with universal binaries (#11844)
> > Fix style errors added by parent and grandparent
> > Use cascading-if for per-config test and install code
>
_PROJECT_CONFIG_FILE and in that file include per-generator
code.
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.ki
-V
-C \${CTEST_CONFIGURATION_TYPE}
--config "${CMAKE_BINARY_DIR}/CPackConfig.cmake")
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
___
Powered by www.kitware.com
Studio
> 9.0\Common7\IDE;%PATH%
>
> Can I set environment variables in CMake? I would like to add those paths
> to the PATH if they aren't there
>
> Best Regards and thanks for your help
> NoRulez
>
> -Ursprüngliche Nachricht-
> Von: Clinton Stimpson [
T* handled - directory/file does not exist...
>
> CMake Error at C:/Program Files (x86)/CMake
> 2.8/share/cmake-2.8/Modules/BundleUtilities.cmake:657 (message):
>
> error: fixup_bundle: not a valid bundle
>
> Call Stack (most recent call first):
>
> C:/Repository/Git
>
> CPack Verbose: Installing:
> C:/Repository/Git/TestProject/build/_CPack_Packages/win32/NSIS/QtTest-0.1.
> 1-win32/./QtTest.exe
>
> CPack Verbose: fixup_bundle
>
> CPack Verbose:
> app='C:/Repository/Git/TestProject/build/_CPack_Packages/win32/NSIS/QtTest
> -0.1.1-win32/bin/QtTest.exe'
Th
orry for the missing information.
> >> I use CMake 2.8.4 and have also Visual Studio 2008 installed.
> >>
> >>
> >> Best Regards
> >>
> >> Am 19.05.2011 um 05:52 schrieb "Clinton Stimpson" <
> >> clin...@elemtech.c
And what error messages are you getting?
Clint
- Original Message -
> Sorry for the missing information.
> I use CMake 2.8.4 and have also Visual Studio 2008 installed.
>
>
> Best Regards
>
> Am 19.05.2011 um 05:52 schrieb "Clinton Stimpson
What version of cmake? I don't think that QtTest example worked until CMake
2.8.3.
And you have dumpbin available on Windows from a Visual Studio installation?
It might be nice to add support for mingw's objdump tool to find dependent dlls.
Clint
On May 14, 2011, at 7:48 AM, NoRulez wrote:
>
CMakeLists.txt file.
IF(APPLE)
SET(CMAKE_INSTALL_NAME_DIR @executable_path)
SET(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
ENDIF(APPLE)
Or use BundleUtilities script when you create an install.
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
t because its a
separate directory? Maybe cmake can do the add_dependencies() automatically?
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
___
Powered by www.kitware.com
Visit other Kitware open-
On Friday, April 01, 2011 02:42:53 pm Clinton Stimpson wrote:
> On Friday, April 01, 2011 01:48:41 pm Crni Gorac wrote:
> > On Fri, Apr 1, 2011 at 8:38 PM, Eric Noulard
wrote:
> > > 2011/4/1 Crni Gorac :
> > >> Am working with seemingly not too complicated CMake s
tch on the bug tracker.
>
> Thanks for replies. I'm using CMake 2.8.4, and for this particular
> project - it's mostly about PackageMaker and NSIS installers (for Mac
> and Windows, respectively). Also, CPack components stuff is really
> not usable here, these are two proje
do so by throwing idea (on the mailing list or tracker)
> and/or patch on the bug tracker.
I've been doing this with multiple CPack config files. You can either make
them
by hand or use CPack.cmake multiple times to make those config files for you.
Then when you
d create the correct argument string?
>
> thanks, tim
Have you tried quotes in your message() so it doesn't remove the semi-colons?
message("${x}")
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
_
Does CMake have native support for the -rpath linker flag on Mac?
I'm wondering about using @rpath/... on Mac 10.5+ for some libraries in an
arbitrary location, and still have apps work in a build tree using those
libraries.
--
Clinton Stimpson
Elemental Technologies, Inc
Computat
re, that is always a problem ;-)
>
> So, I would be glad if you could have a look at the toolchain file and
> we could improve cross compiling Qt projects with cmake.
>
Ok, and what was the error you were getting?
Is this a problem because you have Qt installed in the same relative lo
compile patches for
FindQt4.cmake and the end result was to simplify the toolchain files.
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
___
Powered by www.kitware.com
Visit other Kitware open-
On Friday, March 04, 2011 11:59:07 am kent williams wrote:
> To use Qt in my projects with CMake, up until now all it seemed to
> require was this:
>
> find_package(Qt4 REQUIRED)
> include(${QT_USE_FILE})
>
> But then I tried to use QTcpServer and QTcpSocket, and the compiles
> failed because it
Yeah, that works too.
I thought it would be nice to encourage CMAKE_PREFIX_PATH which should work
with any cmake find module.
I was easily able to control which Qt was found by modifying "myqt" below
#file(TO_CMAKE_PATH "$ENV{USERPROFILE}/qt/qt-4.5.2-2008-64" myqt)
file(TO_CMAKE_PATH "$ENV{USER
he find_program() call in FindQt4.cmake has registry keys first, but if
you look at the docs for find_program(), all of those paths are looked at last.
The CMAKE_PREFIX_PATH and PATH variables have a higher priority, and you can
set those to control which Qt you want found.
--
Cli
On Wednesday, February 23, 2011 02:38:38 pm Arnaud GELAS wrote:
> On 02/23/2011 04:35 PM, Clinton Stimpson wrote:
> > On Wednesday, February 23, 2011 02:27:29 pm Arnaud GELAS wrote:
> >> On 02/23/2011 04:26 PM, Clinton Stimpson wrote:
> >>> On Wednesday, February 23,
On Wednesday, February 23, 2011 02:27:29 pm Arnaud GELAS wrote:
> On 02/23/2011 04:26 PM, Clinton Stimpson wrote:
> > On Wednesday, February 23, 2011 02:12:12 pm Arnaud GELAS wrote:
> >> Hi all,
> >>
> >>
> >> I have just pulled f
your CMakeLists.txt to use
find_package(Qt4 4.5)
to have it check the minimum version number for you.
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
___
Powered by www.kitware.com
Visit other Kitware
This might need some deeper looking into. If you could file a bug report, that
would be nice.
Clint
On Wednesday, February 16, 2011 09:15:25 am Harinarayan Krishnan wrote:
> Hi All,
>
> Any thoughts on this subject? or should I file a bug report and see what
> happens?
>
> Thanks,
> Hari
>
t if I add the NO_CMAKE_SYSTEM_PATH option, then the problem
goes away. But, I thought HINTS had a higher priority than paths from the
Mac's platform files.
And, I don't see this problem on Linux.
Is this a bug in find_path() ??
--
Clinton St
On Tuesday, February 08, 2011 12:10:36 pm Clinton Stimpson wrote:
> On Tuesday, February 08, 2011 11:29:31 am Eric Noulard wrote:
> > 2011/2/8 Mathieu Malaterre :
> > > Hi Eric,
> > >
> > > Thanks a bunch for your tremendous work !
> >
> > You&
nclude(CPack)
$ cpack -G TGZ
Why is it a warning if no groups are defined? Is it because one should use
groups?
However, I can suppress that warning with
set(CPACK_COMPONENTS_IGNORE_GROUPS 1)
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft
On Monday, February 07, 2011 01:38:22 pm Eric Noulard wrote:
> 2011/2/7 Clinton Stimpson :
> > Is there a reason the archive generators append "-ALL" to the package
> > file name I specify when I set CPACK_COMPONENTS_ALL_IN_ONE_PACKAGE=1?
> >
> > Can we lea
{myprog} DESTINATION bin)
SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "ExecWait
'\\\"$INSTDIRbin${myprog}\\\"'")
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
___
Powered by www.kit
Is there a reason the archive generators append "-ALL" to the package file name
I specify when I set CPACK_COMPONENTS_ALL_IN_ONE_PACKAGE=1?
Can we leave that to the user to decide if they want "-ALL" by putting it in
CPACK_PACKAGE_FILE_NAME?
Clint
__
On Thursday, January 27, 2011 03:23:44 pm Brad King wrote:
> On 01/27/2011 03:08 PM, Clinton Stimpson wrote:
> > add_library(A SHARED a.cpp)
> > add_library(B SHARED b.cpp)
> > target_link_libraries(B A)
> > set_target_properties(B PROPERTIES LINK_INTERFACE_LIBRARIES &q
te shared libraries. Is there some other property
like LINK_INTERFACE_LIBRARIES that I need to set?
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
___
Powered by www.kitware.com
Visit other Kitwa
On Jan 14, 2011, at 3:27 AM, Eric Noulard wrote:
> 2011/1/14 Thomas Petazzoni :
>> Hello,
>>
>> On Fri, 14 Jan 2011 11:06:04 +0100
>> Eric Noulard wrote:
>>
>>> Clinton Stimpson is the maintainer of the QT4 module
>>> http://www.cmake.org/W
101 - 200 of 526 matches
Mail list logo