-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brandon J. Van Every wrote:
> Asmodehn Shade wrote:
>> Hi everyone,
>>
>> I am currently in the process of starting to profile my software.
>> It builds with cmake on unix, linux, and windows, more or less nicely ;)
>> Assuming that I only want to use
Asmodehn Shade wrote:
Hi everyone,
I am currently in the process of starting to profile my software.
It builds with cmake on unix, linux, and windows, more or less nicely ;)
Assuming that I only want to use g++ with gprof right now, I wonder if there
was a way to do that smartly in CMake,
other
Hi Pierre,
okay, I looked at FindSDL.cmake more carefully. First I think you should
make sure that SDL is actually found. You should have something like
this in you cmakeLists.txt:
find_package(SDL)
if( NOT SDL_FOUND )
message( "Warning: SDL not found" )
endif( NOT SDL_FOUND )
or since yo
Hi everyone,
I am currently in the process of starting to profile my software.
It builds with cmake on unix, linux, and windows, more or less nicely ;)
Assuming that I only want to use g++ with gprof right now, I wonder if there
was a way to do that smartly in CMake,
other than resetting the CXX_
Tim Sutton wrote:
Hi Filipe
...
When I try to compile (using make VERBOSE=1) now I get the following error:
[ 51%] Generating moc_omgmainwindow.cxx
cd /home/timlinux/dev/cpp/openModellerDesktop/build/src/gui &&
/usr/bin/moc-qt4 -I /usr/include/qt4 -I /usr/include/qt4/Qt3Support -I
/usr/inclu
Hi,
Ok, so I just tested you proposal. What I did:
- launched CMake,
- selected MINGW,
- configured a few variables (QT_QMAKE_EXECUTABLE,
SDLIMAGE_INCLUDE_DIR, SDLIMAGE_LIBRARY, SDL_INCLUDE_DIR, SDLMAIN_LIBRARY).
- generated the makefiles.
Did you make sure, that you started with a clean bu
Hi Eric,
I have a SDL project which I compile now only in Linux, but will check
if it runs on my MinGW/cmd.exe environment and what changes
FindSDL.cmake might need.
Regards,
Werner
E. Wing wrote:
Hi Werner,
I was curious if you saw any other glaring problems with the
FindSDL.cmake module,
E. Wing wrote:
So I would like to set the Universal Binary options as the default for
my project when on Apple. The issue is the options need to be
different for different versions of OS X.
In 10.4, I want to build ppc;i386. The SDK path must be set to 10.4u.
In 10.5, I want to build ppc;i386;ppc
From: "PA Galmes" <[EMAIL PROTECTED]>
Looking at your bug report, SDL_LIBRARY shouldn't be empty. This is
your problem. For Windows, you need at least SDLmain and SDL. I'm not
sure why these variables are empty. It could be a bug in the script.
Did you manually set the SDL_LIBRARY in your CMakeS
Hi Filipe
Many thanks for your response. I altered FindQt4 to look like this:
734 MACRO (QT4_WRAP_CPP outfiles )
735 # get include dirs
736 QT4_GET_MOC_INC_DIRS(moc_includes)
737
738 #Added by Tim at the suggestion of Filipe Sousa on the cmake
mailing list
739 #so that compiler
So I would like to set the Universal Binary options as the default for
my project when on Apple. The issue is the options need to be
different for different versions of OS X.
In 10.4, I want to build ppc;i386. The SDK path must be set to 10.4u.
In 10.5, I want to build ppc;i386;ppc64;x86_64. I'm p
Hi Werner,
I was curious if you saw any other glaring problems with the
FindSDL.cmake module, particularly with the Msys and MinGW stuff? I
put most of that together by trial and error without really any
understanding of it (like what do mingw32 and mwindows libraries
provide). And obviously I nev
Tim Sutton wrote:
Hi all
Can someone help me with getting conditionally #defined code blog to
compile using cmake?
My CmakeLists.txt file has: ADD_DEFINITIONS(-DWITH_QGIS) and I have
some code blocks in .h and .cpp that conditionally compile based on
this e.g.
#ifdef WITH_QGIS
foo...
#endif
I tried a couple more things. Since the paths were compounded I
assumed this was because I could only add files defined with a
relative path (wrt the source directory). So I tried to convert the
absolute path into a relative path using:
FILE(RELATIVE_PATH
FILE_IN_RELATIVE_PATH
On 3/13/07, Werner Smekal <[EMAIL PROTECTED]> wrote:
> Hi,
Hi Wermer
> reading the bug report, the problem is:
>
> # MinGW needs an additional library, mwindows
> # It's total link flags should look like -lmingw32 -lSDLmain -lSDL
> -lmwindows
> # (Actually on second look, I think it only
Hi all
Can someone help me with getting conditionally #defined code blog to
compile using cmake?
My CmakeLists.txt file has: ADD_DEFINITIONS(-DWITH_QGIS) and I have
some code blocks in .h and .cpp that conditionally compile based on
this e.g.
#ifdef WITH_QGIS
foo...
#endif
The problem I have
Philippe Poilbarbe wrote:
Matthew Woehlke a écrit :
Alexander Neundorf wrote:
I already tried this:
SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES doc/)
...and it doesn't work. Maybe this should be a bug/RFE?
At now, I have done this with a ADD_CUSTOM_TARGET(distclean)
which
On 3/13/07, Werner Smekal <[EMAIL PROTECTED]> wrote:
Hi,
Hi Wermer
reading the bug report, the problem is:
# MinGW needs an additional library, mwindows
# It's total link flags should look like -lmingw32 -lSDLmain -lSDL
-lmwindows
# (Actually on second look, I think it only needs one of
Matthew Woehlke a écrit :
(Sorry if this double-posts, gmane appears to have rejected it the
first time due to server system load.)
Alexander Neundorf wrote:
...
I didn't test, but you could try SET_DIRECTORY_PROPERTIES(
ADDITIONAL_MAKE_CLEAN_FILES ) , but I'm not sure it also works with
dir
Hi,
reading the bug report, the problem is:
# MinGW needs an additional library, mwindows
# It's total link flags should look like -lmingw32 -lSDLmain -lSDL
-lmwindows
# (Actually on second look, I think it only needs one of the m* libraries.)
IF(MINGW)
SET(MINGW32_LIBRARY mingw32 CACHE STRIN
On 2/24/07, PA Galmes <[EMAIL PROTECTED]> wrote:
Hello,
I've been playing for some days with cmake, and I have
to say that I quite love the way it works. But while trying
to compile a sourceforge project under Windows using
MSYS, I run into a problem.
I do not know if the problem is related to
On 3/13/07, Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
<[EMAIL PROTECTED]> wrote:
Hi,
I am creating a package (using CPack) of one of our libraries.
On Window side, I would like to be able to place Debug and Release
versions of that library in the single installer. Any ide
22 matches
Mail list logo