On 15. Dec, 2009, at 23:46 , Glenn Hughes wrote:
>> I think the SDL developers are just being a bit "too" slick. They are
>> setting up SDL for Xcode development where typically you would link to the
>> SDL and then have a "Copy Files Phase" where you copy the framework into the
>> Application
Really? How could it? Suppose I only have 1 qrc file, named foo.qrc:
wouldn't these two lines be equivalent?
FILE (GLOB my_RESOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "res/*.qrc" )
SET( my_RESOURCES "res/foo.qrc")
???
TIA
G
On Tue, Dec 15, 2009 at 7:15 PM, John Drescher wrote:
>> The CMake
> The CMake script in question looks more or less like:
>
> FILE (GLOB my_RESOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "res/*.qrc" )
> QT4_ADD_RESOURCES( my_RESOURCES_SOURCES ${my_RESOURCES} )
>
> ...
It's always best to not do any file globbing and add each file by
hand. I believe this is caus
If I modify my .qrc file, the first build regenerates the cxx output
file, but the cxx file itself is not compiled and linked in until I
build again.
Is there a way to add an additional dependency to allow the system to
realize that the cxx file needs a rebuild on the first pass?
The CMake script
>I think the SDL developers are just being a bit "too" slick. They are setting
>up SDL for Xcode development where typically you would link to the SDL and
>then have a "Copy Files Phase" where you copy the framework into the
>Application Bundle that resides in the build directory.
Its a cultura
I would contend that this should be a warning vs. an error, which
prevents generation.
Cheers,
Tim
On Thu, Dec 10, 2009 at 3:18 PM, Alexander Neundorf
wrote:
> On Thursday 10 December 2009, Tyler Roscoe wrote:
>> On Thu, Dec 10, 2009 at 02:14:28PM -0600, Tim St. Clair wrote:
>> > Do all files *h
Fixed in CVS HEAD of CMake...
Thanks for your patience,
David
On Tue, Dec 15, 2009 at 4:50 AM, Michael Wild wrote:
> Bump
>
> On 27. Oct, 2009, at 14:28 , Michael Wild wrote:
>
> > Hi all
> >
> > The CPack DragNDrop generator is completely undocumented. I created
> http://www.cmake.org/Bug/vi
On Dec 15, 2009, at 10:03 AM, Clinton Stimpson wrote:
On Dec 15, 2009, at 2:31 AM, Werner Smekal wrote:
Hi Michael,
On 12/15/09 9:58 AM, Michael Wild wrote:
Hi
What is the install-name of SDL.framewor/SDL? What does
otool -L ~/Library/Frameworks/SDL.framework/SDL
tell you? I suspect it
On Dec 15, 2009, at 2:31 AM, Werner Smekal wrote:
Hi Michael,
On 12/15/09 9:58 AM, Michael Wild wrote:
Hi
What is the install-name of SDL.framewor/SDL? What does
otool -L ~/Library/Frameworks/SDL.framework/SDL
tell you? I suspect it is something like
/Users/smekal/Library/Frameworks/SDL.
How about something like this:
"${EXECUTABLE_OUTPUT_PATH}/\${CTEST_CONFIGURATION_TYPE}/
MyTestExecutable"
Then CTEST_CONFIGURATION_TYPE is expanded at ctest time and the -C
flag to ctest determines which configuration to use.
Clint
On Dec 15, 2009, at 4:29 AM, Biddiscombe, John A. wrote:
Hello again!
I found my error and have fixed it, documenting it here to aid the
next person encountering it.
I need to override the linker flags to remove the -bexpall flag and
doing so I had accidentaly removed the -bnoipath option to so changing
the lines:
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS
On Tue, Dec 15, 2009 at 4:13 AM, Johan Knutzen wrote:
>
> Hi!
>
> What is the status of scripts enabling precompiled headers for gcc/visual
> studio? I've tried out PCHSupport_26 from
> http://www.cmake.org/Bug/view.php?id=1260 but I couldn't get it to work. Does
> anyone have any up to date sc
Hello
I have a problem with linking to dynamic libraries on AIX:
A target (target_a) needs to link to a external dynamic library
(xerces) that I use find_library() to find. Something along these
lines:
find_library(XERCES
NAMES libxerces-c2_7_0.a
PATHS ${LIB_PATH}
)
add_executable(target_a
Erratum : I pasted the wrong version in to my earlier message, the offending
CMake line is
(the existing code) ${CXX_TEST_PATH}/ParallelIsoTest
and
${CXX_TEST_PATH}/${CMAKE_INTDIR}/ParallelIsoTest
is what I tried but is replaced with $(OutDir)
> -Original Message-
> From: paraview-develo
Whilst setting up a dashboard for ParaView using windows + MPI, I noticed that
a number of tests always fail because the executable is not found. I find that
CMake code such as this
ADD_TEST(ParallelIso-image
${VTK_MPIRUN_EXE} ${VTK_MPI_PRENUMPROC_FLAGS} ${VTK_MPI_NUMPROC_FLAG} 2
${VTK_MPI_P
Bump
On 27. Oct, 2009, at 14:28 , Michael Wild wrote:
> Hi all
>
> The CPack DragNDrop generator is completely undocumented. I created
> http://www.cmake.org/Bug/view.php?id=9782 to report this and attached a patch
> which adds some documentation for the variables used in the generator. I hope
Hi Michael,
On 12/15/09 9:58 AM, Michael Wild wrote:
Hi
What is the install-name of SDL.framewor/SDL? What does
otool -L ~/Library/Frameworks/SDL.framework/SDL
tell you? I suspect it is something like
/Users/smekal/Library/Frameworks/SDL.framework/SDL:
@executable_path/../Frameworks
Hi!
What is the status of scripts enabling precompiled headers for gcc/visual
studio? I've tried out PCHSupport_26 from
http://www.cmake.org/Bug/view.php?id=1260 but I couldn't get it to work. Does
anyone have any up to date script that works with 2.8?
Johan
Hi,
add_custom_target(update_version COMMAND echo updating)
add_library(mylib version.c)
add_dependencies(mylib update_version)
We had exactly this configuration for months and the lib was rebuilt
always... but now that you affirm that it /should/ work better, I
had a deeper look again. The
Hi
What is the install-name of SDL.framewor/SDL? What does
otool -L ~/Library/Frameworks/SDL.framework/SDL
tell you? I suspect it is something like
/Users/smekal/Library/Frameworks/SDL.framework/SDL:
@executable_path/../Frameworks/SDL.framework/Versions/A/SDL
(compatibility version 1.0
Hi Stefan,
You found a typo. I'll fix that right away. Thanks.
I've never tried to use the 'check' target with ctest, so I'm not sure
whether it should work or not. Maybe someone else can comment on this.
Best regards,
Marcel Loose.
On Mon, 2009-12-14 at 12:49 +0100, Dr. Stefan Sablatnög wrote:
On Tue, 2009-12-15 at 12:08 +0800, Water Lin wrote:
> I want to use gprof to analyze my code. So I try to embed the -pg
> paramter for g++ in my CMakeLists.txt file.
>
> But after I embeded the -pg to my CMakeLists.txt like this:
> -
> add_definitions(-pg -march=pentium4 -msse3 -g)
> -
Hi,
I'm building an application on Mac OS X and link the SDL libraries into
the app. Basically it all works fine (app runs, etc.), but if I want to
use the BundleUtilities to fix/include the SDL framework into the app
bundle I encounter errors. Problem is, that the references to the SDL
libra
23 matches
Mail list logo