Am Freitag, 13. Mai 2011, 17:11:34 schrieb Dick Munroe:
I figured out you had to have the QT4 SDK on the system, downloaded and
installed that. I configure cmake successfully and the cmake gui shows
up in my VS 2005 project. When I try to build it though, the build for
cmake-gui fails when
Am Samstag, 12. November 2011, 00:05:20 schrieb David Doria:
On Fri, Nov 11, 2011 at 5:56 PM, John Drescher dresche...@gmail.com wrote:
There should have been a *.sln file that you open.?
Not for a Code Blocks -NMake Makefile project.
John
Ok, I guess I am getting my two threads
Am Freitag 03 September 2010, 21:19:28 schrieb Alexander Neundorf:
On Friday 03 September 2010, Michael Jackson wrote:
...
I was just thinking about this the other day. One specialized area
that would be helped by threads would be in some project configuration
where we have CMake looking
Original-Nachricht
Datum: Mon, 13 Dec 2010 12:48:23 +
Von: luxInteg
An: cmake@cmake.org
Betreff: [CMake] cmake qt4 opengl
Greetings,
This is towards banishing my cmake/qt4 idiocy.
my CMakeLists.txt has these:-
FIND_PACKAGE( Qt4 REQUIRED )
set(
Am 23.12.2010 12:39, schrieb Lukas Woodtli:
Everything builds without error.
But if I launch my application I get an error :
The procedure entry point _Z17qt_message_output9QtMsgTypePKc could not
be located in the dynamic link library QtCore4.dll
It's a common problem - you're using the
Jussi Pakkanen schrieb:
Hi
I'm using CMake for Cuneiform (https://launchpad.net/cuneiform-linux). In my
root CMakeLists.txt I have effectively the following:
set(LIBDIR lib)
And then in source subdirectories I build shared libraries and install them with
install(TARGETS [library name]
Von: Luis Roberto P. Paula
Hello everyone!
I'm trying to compile a simple application using Qt4 with cmake, but I'm
stucked in this error:
[ 33%] Generating ui_mivgui.h
Scanning dependencies of target viewer
[ 66%] Building CXX object CMakeFiles/viewer.dir/main.o
[100%] Building CXX
Von: Christian Ehrlicher
Von: Luis Roberto P. Paula
Hello everyone!
I'm trying to compile a simple application using Qt4 with cmake, but I'm
stucked in this error:
[ 33%] Generating ui_mivgui.h
Scanning dependencies of target viewer
[ 66%] Building CXX object CMakeFiles
Leo Breebaart schrieb:
In CMake 2.6.1, the header for FindTIFF.cmake says:
# This module defines
# TIFF_INCLUDE_DIR, where to find tiff.h, etc.
# TIFF_LIBRARIES, libraries to link against to use TIFF.
# TIFF_FOUND, If false, do not try to use TIFF.
# also defined, but not for general use are
Leo Breebaart schrieb:
Christian Ehrlicher [EMAIL PROTECTED] writes:
Leo Breebaart schrieb:
In CMake 2.6.1, the header for FindTIFF.cmake says:
# This module defines
# TIFF_INCLUDE_DIR, where to find tiff.h, etc.
# TIFF_LIBRARIES, libraries to link against to use TIFF.
# TIFF_FOUND
Steven Samuel Cole schrieb:
Eric Noulard schrieb:
2008/9/21 Steven Samuel Cole [EMAIL PROTECTED]:
I would like to link a system library into an executable, GTK in this
case.
What I'm trying to do is
include(FindGTK)
target_link_libraries(myexec $GTK_LIBRARIES)
add_executable (myexec
Gotthard, Petr schrieb:
Philip,
I have updated the FindRTI.cmake based on your comments. Many thanks.
One explanation:
I have to manipulate CMAKE_FIND_LIBRARY_PREFIXES because under Windows
some RTI libraries have the lib prefix, while others don't. (By
default there is no lib prefix under
Original-Nachricht
Datum: Fri, 10 Oct 2008 09:21:12 +0200
Von: Sören Freudiger [EMAIL PROTECTED]
An: cmake@cmake.org
Betreff: [CMake] [cmake] windows dll and TARGET_LINK_LIBRARIES
Hi
How to handle windows dll dependences in CMake.
CMakeList.txt
=
Hi,
Looks like CMAKE_DEBUG_POSTFIX does not affect executables anymore:
8--
set(CMAKE_DEBUG_POSTFIX d)
add_executable(test main.cpp)
#set_target_properties(test PROPERTIES DEBUG_POSTFIX d)
get_target_property(dbg_location test DEBUG_LOCATION)
Hi,
When creating a VisualStudio project, get_target_property(...LOCATION) does not
handle DEBUG_POSTFIX correct. I always get the target name without the debug
postfix.
I need to do some post build steps but due to the wrong targetname it's
currently impossible... so is this a bug or a known
Hi,
FindBoost does not work for me on windows because of a wrong pathname:
if (WIN32 AND NOT CYGWIN)
set(_boost_PATH_SUFFIX boost_${_boost_VER})
else (WIN32 AND NOT CYGWIN)
set(_boost_PATH_SUFFIX boost-${_boost_VER})
endif (WIN32 AND NOT CYGWIN)
I installed
Andreas Pakulat schrieb:
On 23.11.08 14:43:19, Christian Ehrlicher wrote:
Hi,
FindBoost does not work for me on windows because of a wrong pathname:
if (WIN32 AND NOT CYGWIN)
set(_boost_PATH_SUFFIX boost_${_boost_VER})
else (WIN32 AND NOT CYGWIN)
set
Patrick Spendrin schrieb:
Hello,
as I am just working with some boost headers that do reside in a
different include directory, I would like to ask to apply the appended
patch.
It will not only find versions where headers are in
prefix/include/boost/boost_1_34 (which is currently the default
Von: Andreas Pokorny
Hello,
Wow that was fast. Thanks a lot.
2009/2/20 Eric Noulard eric.noul...@gmail.com:
[...]
SET_TARGET_PROPERTIES(PlatformLib PROPERTIES
DEFINE_SYMBOL USE_TRACER)
Then you shouldn't have to ADD_DEFINITIONS and
Michael Jackson schrieb:
On Feb 20, 2009, at 4:59 AM, Eric Noulard wrote:
2009/2/20 Christian Ehrlicher ch.ehrlic...@gmx.de:
Von: Andreas Pokorny
Hello,
Wow that was fast. Thanks a lot.
Obviously I was too fast reading the doc :-)
[...]
SET_TARGET_PROPERTIES(PlatformLib PROPERTIES
Von: Braddock Gaskill
I am unable to use static GnuWin32 libraries using the lib*.a naming
convention with an MSVC 8 2005 target.
.a libraries are static libraries for MinGW. When you're using msvc you have to
link against .lib.
It sometimes works that msvc can also link against a .a but
John Drescher schrieb:
On my windows XP box, I have VC6, 2003, 2005 and 2008 installed and I
have selected VS2005 for the build however all the CMake checks are
happening for VC6. It does not seem to cause any harm but what about
header and library differences between the compilers? I mean all
John Drescher schrieb:
On Fri, Mar 20, 2009 at 3:02 PM, Christian Ehrlicher
ch.ehrlic...@gmx.de wrote:
John Drescher schrieb:
On my windows XP box, I have VC6, 2003, 2005 and 2008 installed and I
have selected VS2005 for the build however all the CMake checks are
happening for VC6. It does
Von: Nadir SOUALEM
In my CMakeLists.txt, i use such things like:
FIND_LIBRARY(LIB_UMFPACK LIB_UMFPACK
/opt/UMFPACK5.0.3/build/linux_eclipse/LIB_UMFPACK/${CMAKE_BUILD_TYPE})
So when i run:
cmake -DCMAKE_BUILD_TYPE=Debug
in my CMakeCache.txt, i find
//Path to a library.
Kermit Mei schrieb:
On Mon, 2009-03-30 at 18:15 +0200, Pau Garcia i Quiles wrote:
On Mon, Mar 30, 2009 at 6:04 PM, Kermit Mei kermit@gmail.com wrote:
Hello community! I want to change my program's icon on windows, and it
wrote with Qt4. I looked up the assistant, it told me the following.
Hi,
I don't understand the reason behind this. We've a very huge memory
footprint because of this on kde4/windows - kded4.exe has ~30 Threads
which means 300MB of stack!
Is there an easy way to change this?
Thx,
Christian
___
Powered by
Am Montag 27 April 2009 18:47:07 schrieb Anders Backman:
Hi all.
I have a problem where I pack the necessary stuff from qt into a dependency
zip file (.h, .lib, .dll and qmake.exe).
I have the path to qmake setup, so that qmake can be found.
Then I unpack that to some specified directory
Alan W. Irwin schrieb:
I have just discovered that for -DCMAKE_BUILD_TYPE=Debug, the
combination of
FindQt4.cmake and UseQt4.cmake inserts the keywords debug, optimized, AND
general into the QT_LIBRARIES list to divide the list into three sections.
But only the debug section of that list is
Von: Marcel Loose lo...@astron.nl
CC: cmake@cmake.org
Betreff: Re: [CMake] How to build 2 targets from the same source,
differing in -D_SWITCHES_ only
Hi Eike,
I think the only safe and reliable way to do this is create several
build directories, e.g. build/type_1 and build/type_2.
Hi,
I've an external project which made the decision to create an executable which
exports symbols. This means if you want to write a plugin for this project you
have to link your plugin against this executable.
Now I've the problem that FIND_LIBRARY doesn't find this executable. Does
anybody
Von: Michael Wild
On 18. Sep, 2009, at 8:14, Christian Ehrlicher wrote:
Hi,
I've an external project which made the decision to create an
executable which exports symbols. This means if you want to write a
plugin for this project you have to link your plugin against
Hi,
I get this warning:
-8--
CMake Warning (dev) at cmake/modules/FindQt4.cmake:826 (SET):
Local variable QT4_QTUITOOLS_LIBRARY is set to
optimized;D:/kde/kde-msvc/lib/QtUiTools.lib;debug;D:/kde/kde-msvc/lib/QtUiTo
olsd.lib
but the CACHE entry of the
Hi,
FiFreetype with 2.8.0-rc1 (and maybe lower) doesn't find freetype on
windows because ft2build.h isn't searched inside include/freetype2
Adding 'include/freetype2' to PATH_SUFFIXES in the first FIND_PATH
statement solves the problem.
Christian
signature.asc
Description: OpenPGP digital
Hi,
I'm using QT4_CREATE_TRANSLATION() to automatically update my ts-files for
translations. Now my problem is that cmake is to smart and deletes my generated
ts-files during 'make clean'. Is there a way to work around this? In general
it's fine that cmake deletes the output of an
Von: Hendrik Sattler
Zitat von Christian Ehrlicher
I'm using QT4_CREATE_TRANSLATION() to automatically update my
ts-files for translations. Now my problem is that cmake is to smart
and deletes my generated ts-files during 'make clean'. Is there a
way to work around
Hilton Medeiros schrieb:
Thanks for pointing that mistake, I fixed it.
About g++: g++ is gcc with -lstdc++
What is wrong with a simple CMake file?
I know what is good about it, if CMake had it built in
neither me nor any CMake user would need to write neither a simple
header file nor a
Hi,
I've a problem with the encoding of the build output:
Textlt;-30gt;lt;-128gt;lt;-104gt;PROGNAMElt;-30gt;lt;-128gt;lt;-103gt;
initialized and declared
lt;-30gt;lt;-128gt;lt;-104gt;externlt;-30gt;lt;-128gt;lt;-103gt;/Text
The output here is:
warning: ‘PROGNAME’ initialized and declared
Am 25.02.2010 18:23, schrieb David Cole:
Is the Text block exactly the same with cmake 2.6.2 and cmake
2.8.0...? Can you try it with our latest CMake 2.8.1 release candidate?
( http://www.cmake.org/files/v2.8/?C=M;O=D )
It should be properly utf-8 encoded with cmake 2.8.1 -- we fixed some
David Cole schrieb:
On Thu, Feb 25, 2010 at 1:33 PM, Christian Ehrlicher
ch.ehrlic...@gmx.de mailto:ch.ehrlic...@gmx.de wrote:
Am 25.02.2010 18:23, schrieb David Cole:
Is the Text block exactly the same with cmake 2.6.2 and cmake
2.8.0...? Can you try it with our latest CMake
Hi
since 2.4.7 I sometimes get this error:
-- Found CLucene library:
E:/Qt/clucene-core-0.9.16a/build/lib/clucene-coreUDST.lib
-- Found CLucene include dir: E:/Qt/clucene-core-0.9.16a/src
-- Found CLucene: E:/Qt/clucene-core-0.9.16a/build/lib/clucene-coreUDST.lib
CMake Error: Error in cmake
Christian Convey schrieb:
It looks to me like CONFIGURE_FILE is a no-op when the target file
already exists *and* has the exact same content that it would have if
CONFIGURE_FILE ran.
I'm basing me belief by looking running some experiments and looking
at timestamps.
But this isn't mentioned in
Von: Dizzy
An: cmake@cmake.org
Betreff: [CMake] Using WIN32 resource files (with MinGW)
Hello
As someone on IRC hinted I added the resource.h/resource.rc files to the
project add_executable() source list. However this doesn't seem to work,
at
least with mingw that I am using on
Von: Bill Hoffman
Betreff: Re: [CMake] Extend FIND_LIBRARY to properly recognize debug libs
Christian Ehrlicher wrote:
Hi,
For now cmake has the option to set a debug postifx for debug
libs/executables by one simple command:
set(CMAKE_DEBUG_POSTFIX _d)
It would be nice to extend
Hi,
I currently can't compile kdebase/konqueror because the paths exceeds
the max path length:
D:\kde-msvc\tmp\kdebase-beta3-3.94.1.20071011\work\kdebase\apps\konqueror\sidebar\trees\konq_sidebartreetoplevelitem.cpp
: fatal error C1083: Datei (vom Compiler generiert) kann nicht geöffnet
werden:
Brad King schrieb:
Christian Ehrlicher wrote:
Hi,
I currently can't compile kdebase/konqueror because the paths exceeds
the max path length:
D:\kde-msvc\tmp\kdebase-beta3-3.94.1.20071011\work\kdebase\apps\konqueror\sidebar\trees\konq_sidebartreetoplevelitem.cpp
: fatal error C1083: Datei (vom
Hi,
it looks like FIND_LIBRARY is using a .lib if it can't find a .a/.dll.a
when using the mingw generator (see also
http://lists.kde.org/?l=kde-windowsm=119248363310566w=2)
Is this a intented behaviour?
Christian Ehrlicher
signature.asc
Description: OpenPGP digital signature
[EMAIL PROTECTED] schrieb:
Hi Christian,
it looks like FIND_LIBRARY is using a .lib if it can't find a
.a/.dll.a when using the mingw generator (see also
http://lists.kde.org/?l=kde-windowsm=119248363310566w=2)
Is this a intented behaviour?
Normally under windows you will need to link
Alexander Camek schrieb:
Hi Christian
That's not true - on windows with mingw you link against .a
And cmake also search for .a (and .dll.a) but *also* for .lib which is
imho a bug. When I've an import lib for msvc - foo.lib and one for
mingw - foo.a I get foo.a for mingw, but as soon as I
Alexander Camek schrieb:
Not really, i can also link with a .lib under mingw.
And if you can't link with .lib file under mingw, then it would be a
mingw bug at all, because both are endings.
That's the point - you can't mix msvc and mingw libs. You can only mix
them as long as you stay in
Mark Wyszomierski schrieb:
Hi,
I'm using cmake for a large project that has some win32 gui apps in
it. In the main project folder I only include those sub projects if
compiling for WIN32. That works fine.
The win32 gui apps have a .rc file in a sub-folder named 'res'. How do
you ask CMake to
Hi,
when I compile a qt plugin in release mode (and therefore link against
release qt lib) I've the problem that cmake does not set -DQT_NO_DEBUG .
Because of this Qt assumes we're compiling this plugin in debug mode:
qconfig.h:
==
#if !defined(QT_NO_DEBUG) !defined(QT_DEBUG)
# define
[EMAIL PROTECTED] schrieb:
when I compile a qt plugin in release mode (and therefore link against
release qt lib) I've the problem that cmake does not set -DQT_NO_DEBUG .
In any file you use the Q_EXPORT_PLUGIN2 macro, you can put something like
this:
#if defined(NDEBUG)
# define
Alexander Camek schrieb:
Hi,
I am using here MinGW C and C++ source code to build some libraries.
Now what me wonders is that I am getting sometimes static libraries
additional to my dynamic libraries.
I think you are talking about the import library
Alexander Camek schrieb:
Hi,
No, you *really* should read on www.mingw.org and inform you about
import libs.
I will do that, thanks.
thought that i had understand them :(
I already told you all you have to know
Windows needs 'static import libs' to link against a shared lib. Nothing
Mike Jackson schrieb:
Actually I run into this ALL the time (tiff, expat, hdf5) and I have
most of mine stored in non-Standard locations. I end up copying the
the FindXXX.cmake into my local project directory and then adding some
code like the following:
SET(EXPAT_INCLUDE_SEARCH_DIRS
Von: Salvatore Iovene
CC: cmake@cmake.org
Betreff: Re: [CMake] setting configuration specific options in visual studio
On Nov 20, 2007 1:38 AM, Jesse Corrington [EMAIL PROTECTED]
wrote:
I searched the archives and couldn't find any good information about
this
task, which I would assume
Eric Noulard schrieb:
2007/11/23, Stephen Collyer [EMAIL PROTECTED]:
Cmake seems to define, for each library that is built, a symbol
of the form library_EXPORTS, which can be used to set up
#defines for the __declspec(dllexport/dllimport) stuff that
Windows needs.
However, this means that
Eric Noulard schrieb:
2007/11/23, Christian Ehrlicher [EMAIL PROTECTED]:
Eric Noulard schrieb:
2) is possible if you use .def file instead of
__declspec(dllexport/dllimport)
see e.g.
http://www.codeproject.com/dll/SimpleDllP3.asp
This is the old way to export functions and imho
it
inherits the -DDLL_EXPORT flag from the top.
You can you set_target_properties for this. E.g.:
set_target_properties(kdewin32 PROPERTIES DEFINE_SYMBOL MAKE_KDEWIN32_LIB )
HTH
Christian Ehrlicher
___
CMake mailing list
CMake@cmake.org
http
Hi,
ist there something like target_link_libraries(debug fooD.lib release foo.lib)
possible for flags?
It's needed to make Qt plugins work (yes, you can't properly build Qt plugins
on windows with cmake).
Christian
--
Pt! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen:
Von: Pau Garcia i Quiles
Quoting Christian Ehrlicher
Hi,
ist there something like target_link_libraries(debug fooD.lib
release foo.lib) possible for flags?
It's needed to make Qt plugins work (yes, you can't properly build
Qt plugins on windows with cmake).
From http
Von: Josef Karthauser [EMAIL PROTECTED]
-Original Message-
From: Torsten Martinsen [mailto:[EMAIL PROTECTED]
Sent: 11 December 2007 09:08
To: Josef Karthauser; CMake ML
Subject: RE: [CMake] Compilation speed with CMake/NMake combination,
making it faster?
* We're
Hi,
When linking a lib with cmake 2.5cvs it looks like the lib is linked twice:
--8---
Linking CXX shared library ..\bin\kdeui.dll
Bibliothek ..\bin\kdeui.lib und Objekt ..\bin\kdeui.exp werden
erstellt.
Bibliothek ..\bin\kdeui.lib und Objekt ..\bin\kdeui.exp werden
Von: Bill Hoffman
Christian Ehrlicher wrote:
Hi,
When linking a lib with cmake 2.5cvs it looks like the lib is linked
twice:
--8---
Linking CXX shared library ..\bin\kdeui.dll
Bibliothek ..\bin\kdeui.lib und Objekt ..\bin\kdeui.exp werden
erstellt
Von: Surya Kiran Gullapalli
Hi all,
I'm trying to install a shared library using INSTALL Method on win32
platform. (Visual Studio 2005)
But what i found was only the dll is getting installed. the import
library .lib is not getting installed.
I've specified the RUNTIME and LIBRARY
Von: Ákos Maróy
Philip Lowman wrote:
I've filed a feature request for this (i.e. a distclean target for
CMake). It keeps coming up on the mailing list so it probably would
make a nice addition to CMake. I've needed it before too when stubborn
coworkers really want to keep using
Von: Olaf van der Spek
On Tue, Mar 25, 2008 at 12:58 AM, Alexander Neundorf
[EMAIL PROTECTED] wrote:
Not really.
Why do you actually want to ship VS project files ?
To avoid a dependency on cmake. The library user probably doesn't have
cmake installed and it would be nice if he could
Von: Mathieu Malaterre
On Wed, Apr 2, 2008 at 8:13 PM, Bill Hoffman
wrote:
I am happy to announce that CMake 2.6.0 RC6 is ready for testing.
You can find the source and binaries here:
http://www.cmake.org/files/v2.6/.
Here is the list of changes for the 2.6.0 branch so far:
Von: Ilya Shvetsov
Are libA.lib targets built by cmake in the same solution?
No. This is library from extranal engine.
The first thing which is obviously wrong is that you write 'foo.lib' instead of
'foo'. It pins the whole thing to msvc and I'm really gald that it works :)
Also you should
Von: Mike Arthur
On Wednesday 09 April 2008 10:37:39 Andreas Pakulat wrote:
Thats because qmake is in the PATH on unix usually, I think it works
autoamtically on windows too if the Qt/bin path is listed in the PATH
environment variable.
Is there any reason FindQT couldn't just look (by
Von: Alin M Elena
Hi
I try to use WIN32 option with cmake 2.6 rc6
snip
MSVCRT.lib(crtexew.obj) : error LNK2019: unresolved external symbol
[EMAIL PROTECTED] referenced in function ___tmainCRTStartu
p
Read the wiki faq:
Von: Philippe Fremy
Hi,
For one of my project, I need to compile files with .c extension as C++
files. It's an uncommon need but it exists.
In Visual Sturio, there is a compiler option, /TP that does exactly
this. In Visual Studio 2005 project files, it seems to translate into
Von: Steven Van Ingelgem
Hi,
To embed an icon into a program on Windows with VS, you just add it to
the source files. This approach however doesn't seem to work with
MinGW makefiles (on windows too).
Is there anyway I can make this work?
I know there is a tool windres which
Hi,
when curses is searched twice, the second search fails:
-8
message(STATUS CURSES_HAVE_CURSES_H: ${CURSES_HAVE_CURSES_H})
message(STATUS CURSES_INCLUDE_PATH: ${CURSES_INCLUDE_PATH})
FIND_PACKAGE(Curses REQUIRED)
message(STATUS CURSES_HAVE_CURSES_H:
Hi,
is there a rationale behind the fact that DEFINE_SYMBOL for static libs
is ignored? I do understand that (the automatic) MAKE_foo_LIB is not
needed here but I don't see a reason why to ignore a user-defined value.
The problem is that I want to compile a lib in static and shared mode
and
Phil Pellouchoud schrieb:
I have been trying to get cmake to work with MinGW.
I have trolled around the net and looked for clues and tried a bunch of
things without success. Here are the particulars:
snip
Any ideas?
Did you try to compile a simple hello world from command line? Does
Phil Pellouchoud schrieb:
I did try to compile a simple hello world program, and I can do it on
the command line:
gcc -o test test.cpp
Builds and runs fine.
I am using Windows XP SP2
GCC version is this:
S:\software\packages\utility\buildgcc -v
Using built-in specs.
Target: i386-pc-mingw32
Von: Andreas Pakulat
On 19.05.08 02:06:51, Dmitry Marakasov wrote:
* Andreas Pakulat ([EMAIL PROTECTED]) wrote:
snip
CMakeFiles/Memonix.dir/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.o
gets into project object files (seems like it's because
Hi,
during your new warning when mixing libs in target_link_libraries
(CMP0003) I changed target_link_libraries(foo ws2_32) to
find_library(WS2_32_LIBRARY ws2_32)
target_link_libraries(foo ${WS2_32_LIBRARY})
but now cmake finds ws2_32.dll in system32 instead the correct one
(ws2_32.dll.a /
Von: Shriramana Sharma
Hello.
I would like to use CMake to build some CMake-ready Qt-based
applications on Windows using MinGW.
I get an error saying Make was not found. I used
-DCMAKE_MAKE_PROGRAM=path to mingw. But then I got an error saying
C compiler could not compile the test
Von: Hendrik Sattler
Christian Ehrlicher schrieb:
during your new warning when mixing libs in target_link_libraries
(CMP0003) I changed target_link_libraries(foo ws2_32) to
find_library(WS2_32_LIBRARY ws2_32)
target_link_libraries(foo ${WS2_32_LIBRARY})
but now cmake finds ws2_32
Von: Hendrik Sattler
Christian Ehrlicher schrieb:
Von: Hendrik Sattler
Christian Ehrlicher schrieb:
during your new warning when mixing libs in target_link_libraries
(CMP0003) I changed target_link_libraries(foo ws2_32) to
find_library(WS2_32_LIBRARY ws2_32
Von: Bill Hoffman
Christian Ehrlicher wrote:
Hi,
during your new warning when mixing libs in target_link_libraries
(CMP0003) I changed target_link_libraries(foo ws2_32) to
find_library(WS2_32_LIBRARY ws2_32)
target_link_libraries(foo ${WS2_32_LIBRARY})
but now cmake finds
Bill Hoffman schrieb:
Christian Ehrlicher wrote:
I understood the warning - I know that it is not mandatory.
But how useful is a warning when the only way to get rid of them is
to disable it? I either have to fix all places (including the system libs
) or disable it and don't care
Von: dizzy
On Thursday 22 May 2008 12:03:01 Oleg Puchinin wrote:
Hello !
snip
2. How to build target with debug info ?
There are several solutions here. A not very portable aproach is to add
whatever compiler flags you wish to the compile command used, using
cmake's
Hi,
I don't know if it's the intended behaviour or not:
I create a file on build time with add_custom_command.
ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_BINARY_DIR}/my_source.cpp
COMMAND makeMySource ARGS ${CMAKE_BINARY_DIR}/my_source.cpp
)
and add it to an executable:
Tanguy Krotoff schrieb:
On Thu, May 29, 2008 at 8:48 PM, [EMAIL PROTECTED] wrote:
The bug that I got with QT_DEBUG/QT_NO_DEBUG not being defined is a
pretty hard one.
I simply would like other devs not to spend time on such stupid
issues, so how can this be prevented?
We hit this problem some
Alexander Neundorf schrieb:
On Thursday 29 May 2008, Christian Ehrlicher wrote:
Tanguy Krotoff schrieb:
On Thu, May 29, 2008 at 8:48 PM, [EMAIL PROTECTED] wrote:
The bug that I got with QT_DEBUG/QT_NO_DEBUG not being defined is a
pretty hard one.
I simply would like other devs not to spend
Von: Martin Apel
Hi all,
I am trying to port a project using CMake 2.6 from Linux to Windows. The
project build works without problems under Linux. However when trying to
build the project inside Visual Studio 8 after having generated the
project files using CMake, no import libraries
Von: Ingrid Kemgoum
hi,
i'm trying to build a c++ project and i have a dynamic library. it is
created a .dll but MSVC ask for a .lib.
Is there a way to produce both .dll and .lib from the library?
Thanks and regards.
You have to do it by your own by defining the functions which you want
Von: Ingrid Kemgoum
hi
i've done what you told be (not to define de -D..) and i do have a .lib
too
but the problem of the link with the dll still exist.
maybe it's my fault
there is my code in the three directories(i'm using visual 8 2005 and
cmake
2.6)
When you don't define the
Von: Ingrid Kemgoum
i'm very sorry but it's like chinese for me. u told me not to define the
symbol so i skip the
SET_TARGET_PROPERTIES(Hello PROPERTIES DEFINE_SYMBOL HELLO_EXPORTS) in the
library directory
and when i dont use it i have 2 link problems like this:
LINK :
Alexander Neundorf schrieb:
On Tuesday 17 June 2008, Bill Hoffman wrote:
Alexander Neundorf wrote:
Currently, for the NMake generator one needs to have sourced the
vsvars32.bat file to set up the environment so that cmake can find the
tools etc. Since, the user sources this file at CMake time
Bill Hoffman schrieb:
Alexander Neundorf wrote:
On Tuesday 17 June 2008, Christian Ehrlicher wrote:
...
How do you define which vsvars32.bat (or vsvars64.bat) to use? I've more
than one compiler on my system...
The first time you would have to run cmake in the right environment
(i.e. where
Von: Mehdi Rabah
On Tue, Jun 17, 2008 at 9:24 PM, Christian Ehrlicher [EMAIL PROTECTED]
wrote:
Bill Hoffman schrieb:
Alexander Neundorf wrote:
On Tuesday 17 June 2008, Christian Ehrlicher wrote:
...
How do you define which vsvars32.bat (or vsvars64.bat) to use? I've
more
Von: David Blado
Hi all,
I recently took up the task of porting to 2.6 (again…fell off my plate
for a while ☺ )
I’m seeing this when running cmake:
CMake Error: Cannot determine link language for target libraryX.
All of the source files listed are cpp files:
SET(SRCS
fileA
)
Hi,
We've something like this in one of our scripts:
add_definitions(-EHsc)
and we add a .rc - file to the sources.
Now rc.exe fails because of unknown command '-EHsc' because
add_defintions() is also dded to RC_FLAGS... :(
[ 85%] Building RC object ksirk/ksirk/CMakeFiles/ksirk.dir/ksirk.res
Bill Hoffman schrieb:
Christian Ehrlicher wrote:
Hi,
We've something like this in one of our scripts:
add_definitions(-EHsc)
and we add a .rc - file to the sources.
Now rc.exe fails because of unknown command '-EHsc' because
add_defintions() is also dded to RC_FLAGS... :(
[ 85%] Building
Von: Milan Dorak
I can't find in documentation or anywhere else, how can i pass argument
to make command.
I need 'make -j 3'. don't care if it's in CMakeLists.txt or CTest script.
Since when does cmake executes make directly? It's only creating makefiles for
make...
Christian
--
GMX
Sebastian Krause schrieb:
Andreas Pakulat [EMAIL PROTECTED] wrote:
Thats not going to work on all platforms. There are various platforms
which don't allow static libs to be linked into shared libs.
But it should be possible to gather the sources in the subdirs into a
variable that the parent
1 - 100 of 142 matches
Mail list logo