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 supposedly takes a .rc file and
converts it
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
The problem is that I already do this, but it doesn't show up the
icon, neither it gets compiled...
2008/5/6 Surya Kiran Gullapalli [EMAIL PROTECTED]:
Create an rc file and add it to sources. CMake automatically writes the
appropriate rule to project file.
Surya
On Tue, May 6, 2008 at
Because the * follows nothing (as indicated by the very first error message
given always fix the first error first)
RegularExpression::compile(): ?+* follows nothing.
* means zero or more of the preceding character in a regular expression.
If there is no preceding character it is not a well
Anders Backman escreveu:
So is there are portable way of handling this in cmake?
I've been using the attached script and it has been working nicely for
my needs.
The usage is:
include(PCHSupport)
add_executable(test test.cpp pch.h)
ADD_PRECOMPILED_HEADER(test pch.h)
I'm using it with
Hi and thanks for the tip...
However, when I try this (Im using VS2008, CMake 2.4-patch 8) I get
some problems.
I have nailed this down to the following command:
#usual add_executable etc... works just fine!
add_executable(rendering file1.cpp ...)
.
.
.
get_target_property(OBJECT_FILES
Anders Backman escreveu:
Hi and thanks for the tip...
So, what version of cmake are you using?
Or are the SOURCES property a platform dependent property?
Sorry, I should have mentioned that this is for cmake-2.6, which
implements the SOURCES property.
Best regards and good luck,
rod
LeRetha,
I think you want to use the -G option with the cmake console application. I
am on Linux right now, so I do not know the exact name of the generator, but
it is likely Visual Studio 8 2005 Win64. In other words, run the following
command from your desired build directory:
cmake -G
Ok, that make sense of course...Just read the 2.6 documentation.
Is there anyone that have tried to use this script in visualstudio
lately with good result?
I get quite a few very confusing errors and warnings related to this:
2-- Build started: Project: agx_rendering, Configuration: Debug
On behalf of myself, Ken, Brad, Dave, Alex and the rest of the CMake
team, we are pleased to announce that CMake 2.6.0 is available for
download at: http://www.cmake.org/HTML/Download.html
If you have any problems or find any bugs, please report them at
www.cmake.org/Bug.
A list of changes
Anders Backman escreveu:
Ok, that make sense of course...Just read the 2.6 documentation.
Is there anyone that have tried to use this script in visualstudio
lately with good result?
FYI, this script 'once' worked with VS, but I must have made some
changes related to gcc precompiled-headers
Hi, I am converting some makefiles for a large application. One of the
makefiles adds the following to CFLAGS:
-DSVN_REVISION=\`svn info|grep Revision| awk '{print $2}'`\
(it runs some shell commands which will output the current subversion
revision)
I tried searching for a way for cmake to
On 2008-05-06 16:14-0400 Bill Hoffman wrote:
On behalf of myself, Ken, Brad, Dave, Alex and the rest of the CMake team, we
are pleased to announce that CMake 2.6.0 is available for download at:
http://www.cmake.org/HTML/Download.html
My tests on the Debian testing platform show no problems
Congratulations to the CMake team for getting this awaited release to
the community!
I have a quick question regarding preprocessor definitions being escaped
automatically. In CMake 2.4, I would use:
ADD_DEFINITIONS(-D_U_=\__attribute__\(\(used\)\)\)
To tell gcc that I wanted to use _U_ in my
David Blado wrote:
Congratulations to the CMake team for getting this awaited release to
the community!
I have a quick question regarding preprocessor definitions being escaped
automatically. In CMake 2.4, I would use:
ADD_DEFINITIONS(-D_U_=\__attribute__\(\(used\)\)\)
To tell gcc that I
15 matches
Mail list logo