Hi,
I just downloaded the new CMake version 2.4 patch 8. This command now works:
SET(VS_MULTITHREADED_DEBUG_IGNORE_LIBRARY_FLAGS
/NODEFAULTLIB:nafxcwd.lib
/NODEFAULTLIB:libcmtd.lib
)
I want to do the same thing for my release builds, kind of like:
looked at this for a few months, sorry about the
confusion,
Thanks,
Mark
On Feb 18, 2008 4:08 PM, Bill Hoffman [EMAIL PROTECTED] wrote:
Mark Wyszomierski wrote:
Hi,
I just downloaded the new CMake version 2.4 patch 8. This command now works:
SET
Hi,
Is there a way to get one of your libraries to be included in your
project before default libraries? Tough to explain - I'm compiling
specifically for visual studio 2005. When CMake is done creating the
solution files, I can see the additional dependencies string looks
like this:
Hi,
Sorry if this is a duplicate message, forgot I wasn't subscribed to the list.
When we create a linux build, and set the compile flag to 'release',
no optimizations are actually performed, right? We need to pass that
flag to 'make', right, something like:
make -O2
otherwise, there's
,
Mark
On Dec 18, 2007 11:18 AM, Olivier Delannoy [EMAIL PROTECTED] wrote:
You can look for the flag being used using ccmake and displaying
advance flags. If you do so you will see that the release build do use
different flag than debug build.
On Dec 18, 2007 4:05 PM, Mark Wyszomierski [EMAIL
${VS_MULTITHREADED_DEBUG_IGNORE_LIBRARY_FLAGS})
After creating the solution files, I don't see anything in the ignore
default library fields - any ideas?
Thanks,
Mark
On 11/2/07, Philip Lowman [EMAIL PROTECTED] wrote:
Mark Wyszomierski wrote:
Is it possible to add an ignore library to CMakeLists.txt
Hi,
Is it possible to add an ignore library to CMakeLists.txt? This is
specifically for a win32 project. I want to ignore:
nafxcwd.lib
libcmtd.lib
Thanks
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
Hi,
Is it possible to set an environment variable (linux) through CMake?
Thanks,
Mark
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
{BLAH} blah value)
...but it only applies to the running process. The parent process
environment remains unaffected by this type of SET.
Then, to read env vars into cmake, use $ENV{BLAH}
On 10/30/07, Mark Wyszomierski [EMAIL PROTECTED] wrote:
Hi,
Is it possible to set an environment
Hi,
I have a library project named lib_util.
When using CMake to build the library (with g++), the output file is:
liblib_util.a
Now another sub project needs to link to that, and has the following
in CMakeLists.txt:
target_link_libraries(my_app, lib_util)
but when compiling my_app,
You're right, I had one reference to libutil accidentally!
Thanks,
Mark
On 10/29/07, Brandon Van Every [EMAIL PROTECTED] wrote:
On 10/29/07, Mark Wyszomierski [EMAIL PROTECTED] wrote:
Hi,
I have a library project named lib_util.
When using CMake to build the library (with g
can set
DESTINATION to a full path.
Also, if cmaketest.exe is a target built by CMake, you might prefer to use:
INSTALL(TARGETS ${cmaketestTarget} DESTINATION ${dest})
Justin
On Thursday 25 October 2007 07:56:38 Mark Wyszomierski wrote:
It seems to work, though is moving the file I want
Hi,
Is there some way to create an additional target for built binaries?
Besides the default location (not sure where that's defined
actually...) I'd like to have my projects all dump their build exes or
libraries into 'C:\test' for example. Is it possible?
Thanks,
Mark
CMAKE_INSTALL_PREFIX.
Justin
On Wednesday 24 October 2007 10:49:37 Mark Wyszomierski wrote:
Hi,
Is there some way to create an additional target for built binaries?
Besides the default location (not sure where that's defined
actually...) I'd like to have my projects all dump their build
/21/07, Philip Lowman [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark Wyszomierski wrote:
Hi Mike,
When I try CMAKE_BUILD_TYPE MATCHES Debug, it seems to never execute
the contents of that IF statement (as if I am never CMake'ing a DEBUG
build?).
I don't
Hi,
How do we define a preprocessor statement - in win32 projects you
usually need to see the following in the C/C++ - Preprocessor
statements section:
_WIN32, _WINDOWS ...etc
so in the CMakeLists.txt, what syntax is used to put that into the
generated project files?
Thanks,
Mark
:
ADD_DEFINITIONS(-DWIN32 -DWINDOWS)
- Stefan
Mark Wyszomierski schrieb:
Hi,
How do we define a preprocessor statement - in win32 projects you
usually need to see the following in the C/C++ - Preprocessor
statements section:
_WIN32, _WINDOWS ...etc
so in the CMakeLists.txt
( CMAKE_BUILD_TYPE MATCHES Debug )
--
Mike Jackson Senior Research Engineer
Innovative Management Technology Services
On Oct 19, 2007, at 9:34 AM, Mark Wyszomierski wrote:
It works fine now that I try it -
Is there any way to switch on debug and release builds? Something
like
Whoops please ignore that - it works perfectly - I forgot I had
commented the statements out,
Thanks,
Mark
On 10/19/07, Mark Wyszomierski [EMAIL PROTECTED] wrote:
Hi Neal,
That doesn't seem to work for me - does 'subgroup' need to be created
beforehand somehow? The following works for me
PROTECTED] wrote:
You just need to use the other slash
SOURCE_GROUP( source\\subgroup FILES ${SOURCES} )
-Neal
On 10/19/07, Mark Wyszomierski [EMAIL PROTECTED] wrote:
Hi,
Is it possible to create sub folders in the source tree for vc++
makes? I'm trying something like:
IF (WIN32
Hi,
Is it possible to create sub folders in the source tree for vc++
makes? I'm trying something like:
IF (WIN32)
SOURCE_GROUP(Source Files/Hello/ FILES a.cpp a.h AssocEchoSCP.cpp)
ENDIF (WIN32)
CMake automatically makes a source folder called Source Files, and
I'd like to put a source folder
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
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
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 interface
24 matches
Mail list logo