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 in
MinGW CMake also says it supports NMake Makefiles (actually, tons of
formats which sounds super cool). After compiling a MinGW CMake, I
tried using it to compile cmake again with "NMake Makefiles" and it also
worked.
But trying a 'NMake Makefiles' build on my project resulted in
> cmake ..
Compiling CMake HEAD with mingw. After install, it defaulted to
installing in $PROGRAMFILES/CMake, instead of /usr/local/ (ie.
C:/msys/1.0/usr/local) incorrectly overwriting my MSVC version.
--
Gonzalo Garramuño
[EMAIL PROTECTED]
AMD4400 - ASUS48N-E
GeForce7300GT
Kubuntu Edgy
Mark Wyszomierski wrote:
Hi,
When the application you're building the makefile for is an MDI
application, how do you;
1) Set the sub system to be:
Windows (/SUBSYSTEM:WINDOWS)
ADD_EXECUTABLE( myexe WIN32 )
linking to these libs in my MDI projects give produce a lot of linking
error
I'm running FindOpenGL and FindGLUT on a mingw based compile, with MSYS
Makefiles and CMAKE_CXX_COMPILER=g++. That is, a standard GNU build.
FindOpenGL and FindGLUT fail to find the microsoft opengl32.lib and dll
and the corresponding glut lib.
The problem is that WIN32 returns false.
It i
Hi,
When the application you're building the makefile for is an MDI
application, how do you;
1) Set the sub system to be:
Windows (/SUBSYSTEM:WINDOWS)
in visual studio, this option is found under
Project -> Linker -> System -> Sub System
if not set, the MDI (or any other GUI interfac
Quoting Pau Garcia i Quiles <[EMAIL PROTECTED]>:
I forgot to say packages for Ubuntu Feisty and Gutsy for the latest
CMake CVS with my patch already applied will be available in my PPA in
a few hours: https://edge.launchpad.net/~pgquiles/+archive
Hello,
As I told yesterday, here comes a p
Bill,
Thanks for the clarification. This will simplify my build system a great
deal!
Justin
On Thursday 18 October 2007 12:23:49 Bill Hoffman wrote:
> The example is this:
> add_library(libB)
> add_library(libA)
> target_link_libraries(libA libB)
> add_executable(excC)
> target_link_librareis(
Hello,
As I told yesterday, here comes a patch for the Eclipse CDT4 generator
available in the current CVS version of CMake.
Although I have not extensively tested it, the works fine. In addition
to the in-tree build which has always worked, this patch allows you to
have 'myapp' and 'myap
Gonzalo Garramuño wrote:
I'm using cmake2.5 HEAD.
I'm trying to get a verbose build out of it on Windows using NMake
Makefiles, with:
make VERBOSE=1
but all I get with that are lines like:
C:\ARCHIV~1\MICROS~1.NET\Vc7\bin\cl.exe
@C:/DOCUME~1/gga/CONFIG~1/Temp\nmFF.tmp
I'm wondering if VE
Hi all,
I'm trying to build a project that uses DirectX 9. To compile correctly,
the include path order must be adjusted so that the Platform SDK is
prefered over the DirectX include directories. This is done by setting
the include directories to:
$(VCInstallDir)PlatformSDK/include
external
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 include those files in the resu
I'm using cmake2.5 HEAD.
I'm trying to get a verbose build out of it on Windows using NMake
Makefiles, with:
make VERBOSE=1
but all I get with that are lines like:
C:\ARCHIV~1\MICROS~1.NET\Vc7\bin\cl.exe
@C:/DOCUME~1/gga/CONFIG~1/Temp\nmFF.tmp
I'm wondering if VERBOSE=1 can be made to wor
On 10/14/07, Alex Neundorf wrote:
> On Saturday 13 October 2007 07:17, Miguel A. Figueroa-Villanueva wrote:
> > Hello,
> >
> > I've been assigned the task of maintaining the ImageMagick find
> > module. As such, I made a rewrite to support the complete toolchain
> > (i.e., all command line executab
KSpam wrote:
Bill,
Yes, where you create libA, you add this:
target_link_libraries(libA libB)
CMake will automatically chain.
Has this feature recently changed? I thought that
adding "target_link_libraries(libA libB)" would explicitly link libB to libA.
Often when I am static linking, I
Bill,
> Yes, where you create libA, you add this:
>
> target_link_libraries(libA libB)
>
> CMake will automatically chain.
Has this feature recently changed? I thought that
adding "target_link_libraries(libA libB)" would explicitly link libB to libA.
Often when I am static linking, I do not w
Hi,
I have a program A depending on two internal libraries, B and C. A, B and C
are build by CMake script and can be built independantly (A that also build
B and C, B only and C only).
When generating VS8 solutions, A, B and C are separated into project in the
IDE, which is good. If I can, I can
Hi,
I'm new to cmake, it looks great. Is it possible to include different
paths conditionally, like:
include_directories (${MY_PROJECT_SOURCE_DIR}/my_lib)
IF (WIN32)
include_directories (C:/my_stuff/lib/something)
ELSE (WIN32)
include_directories (/usr/lib/something)
ENDIF (WIN32)
Can you keep a
Someone in my group is investigating dejagnu. I was wondering if anyone
with experience in ctest and dejagnu has any thoughts on these two
testing systems?
Thanks,
Juan
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmak
Quoting Pau Garcia i Quiles <[EMAIL PROTECTED]>:
Quoting Eric Noulard <[EMAIL PROTECTED]>:
2007/10/17, Pau Garcia i Quiles <[EMAIL PROTECTED]>:
[...]
Is it possible to use CVS or SVN from Eclipse in a CMake-generated
project in scenarios A or B?
This is an Eclipse Team platform issue.
You
Thanks a lot for your answers
Bill Hoffman wrote:
Riccardo Cohen wrote:
Thanks for your answer. On mac I cannot install visual studio, but I
would like to generate (not compile) the vcproj file.
CMake build files are not transferable from machine to machine. Users
must have CMake installe
Riccardo Cohen wrote:
Thanks for your answer. On mac I cannot install visual studio, but I
would like to generate (not compile) the vcproj file.
CMake build files are not transferable from machine to machine. Users
must have CMake installed, and run it on each machine that the project
is b
On Thursday 18 October 2007 13:47, Bill Hoffman wrote:
> Josef Karthauser wrote:
> > I have a library (libA), which depends upon another library (libB) for
> > its implementation.I also have an executable (execC) which uses
> > LibA. Is there an easy way of getting LibB added to the list of
>
Thanks for your answer. On mac I cannot install visual studio, but I
would like to generate (not compile) the vcproj file.
Gau wrote:
Riccardo Cohen wrote:
Hello
I try to use cmake, and could generate a project for gcc on my mac,
and for visual studio on my pc.
But is it possible to generate
Josef Karthauser wrote:
I have a library (libA), which depends upon another library (libB) for
its implementation.I also have an executable (execC) which uses
LibA. Is there an easy way of getting LibB added to the list of
dependencies, so what when I do
Add_Executable(exeC)
Tar
Riccardo Cohen wrote:
Hello
I try to use cmake, and could generate a project for gcc on my mac, and
for visual studio on my pc.
But is it possible to generate both from the map ccmake command ? I
tried -G option and it did not work...
Thanks for any information.
No, CMake can only generate p
Try "PROJECT_NAME" ...
Where did you see it as "CMAKE_PROJECT_NAME"?
On 10/18/07, Josef Karthauser <[EMAIL PROTECTED]> wrote:
>
> Isn't the value of CMAKE_PROJECT_NAME supposed to contain the name given
> to the last PROJECT() call? It appears with the current version of
> CMAKE that it gets th
GET_CMAKE_PROPERTY(v VARIABLES)
will fill the variable "v" with a list of the currently defined variables...
"cmake --help-command GET_CMAKE_PROPERTY" yields:
cmake version 2.4-patch 6
GET_CMAKE_PROPERTY
Get a property of the CMake instance.
GET_CMAKE_PROPERTY(VAR property)
Isn't the value of CMAKE_PROJECT_NAME supposed to contain the name given
to the last PROJECT() call? It appears with the current version of
CMAKE that it gets the value of the first call to PROJECT, and isn't
subsequently updated.
For example:
CMakeLists.txt:
Project(foo)
MES
How do I get a list of all variables currently defined within a run of
CMake? Is there any easy way of dumping all the variables and their
values, at the end of a CMakeLists.txt file for instance?
Joe
___
CMake mailing list
CMake@cmake.org
http://www.cm
I have a library (libA), which depends upon another library (libB) for
its implementation.I also have an executable (execC) which uses
LibA. Is there an easy way of getting LibB added to the list of
dependencies, so what when I do
Add_Executable(exeC)
Target_Link_Libraries(exeC libA)
Hello
I try to use cmake, and could generate a project for gcc on my mac, and
for visual studio on my pc.
But is it possible to generate both from the map ccmake command ? I
tried -G option and it did not work...
Thanks for any information.
--
Très cordialement,
Riccardo Cohen
32 matches
Mail list logo