I am defining separate output paths for different configurations:
CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG= bin/win32/dbg
CMAKE_RUN TIME_OUTPUT_DIRECTORY_RELEASE = bin/win32/opt
CMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG= lib/win32/dbg
CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE = lib/win32/opt
Hi
Is it possible to include static code analysis to CDash?
I could make a test that fails if the tool detects errors, but I'd like to
make something better.
Currently I'm testing with the static code analysis tool CppCheck
-mika
___
Powered by www.k
Does get_filename_component help?
On Wed, Mar 2, 2011 at 6:17 AM, Pablo Zurita wrote:
> Hello everybody,
>
> I'm just getting started and I need some help dealing with strings in
> CMake. Basically what I have a bunch of strings such as the ones
> below:
>
> "Main.cpp"
> "Window/Example/Example.
I think you can just add _UNICODE (or remove) to definitions, CMake will
automatically determine necessary vcproj options then.
On Tue, Mar 1, 2011 at 6:20 PM, gekso wrote:
> Hello! How can I remove multi-byte character set (/D "MBCS") setting
> from visual studio projects? I need to create two
Hello everybody,
I'm just getting started and I need some help dealing with strings in
CMake. Basically what I have a bunch of strings such as the ones
below:
"Main.cpp"
"Window/Example/Example.cpp"
"Window/Window.cpp"
What I need to do is create two strings for each, one is going to be
the dire
Note that your error does not say the compiler could NOT find winbase.h, it is
saying that it does not have a definition for those constants. Do you have
#define WIN_LEAN_AND_MEAN or something like that somewhere in your code or is
there another define that is causing the compiler to skip over t
Hello,
I have a program called fastboot.c which #includes util_windows.h which
#includes windows.h which finally #includes winbase.h where all the
constants are defined. The errors I get are because the Makefile I got from
CMake, doesn't find the constants, as shown:
/host/fastboot.h:101: warning
On 01.03.11 14:58:15, Enrique Izaguirre wrote:
> I tried several ways but I cannot make it work. The only thing I need to do
> is to add a folder which contains a windows header file, in order that it be
> included in the build.
> There must be a simple way to do it. Could you help?
Header files a
Hi all,
I would need to make sure one executable is running before running one
test added by CTest.
I would like to do something like that:
execute_process( COMMAND ${my_executable} )
add_test( MyOwnTest foo )
except that my_executable would be triggered, just before MyOwnTest starts.
Is it
Hello again,
I tried several ways but I cannot make it work. The only thing I need to do
is to add a folder which contains a windows header file, in order that it be
included in the build.
There must be a simple way to do it. Could you help?
Maybe if you have an example or something similar.
Than
That was exactly what I needed!
Thanks,
Arnaud
On 03/01/2011 03:12 PM, David Cole wrote:
The mandatory function arguments are the ones that you name. Optional
ones go after the named args and are referenced via ARGV0, ARGV1,
ARGV2, ... or the ARGV and ARGN variables.
See function documentation
The mandatory function arguments are the ones that you name. Optional
ones go after the named args and are referenced via ARGV0, ARGV1,
ARGV2, ... or the ARGV and ARGN variables.
See function documentation for more info:
http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:function
Typical
Hi all,
I would like to write a cmake function with one optional 3rd argument,
the two first are mandatory.
How to proceed?
Let's take the following example:
function( add_sikuli_test arg1 arg2 arg3 )
...
endfunction( add_sikuli_test )
Thanks,
Arnaud
___
On Tue, Mar 1, 2011 at 2:15 PM, Enrique Izaguirre
wrote:
> Sorry, I didn't explain correctly.
>
> All the source files are in variable ${hostFiles}
> and I generated and executable using add_executable (myprj ${hostFiles})
> now I need to add the w32api folder from Windows, which has header files
> The header file is already #included in one of the source files. What I
> don't know is how to link it.
> Can I do it only with target_link_libraries ( ) or how?
>
You do not link header files. You link source files. Why are you not
specifying your source files on the target_link_libararies() li
Thank you very much for your help.
The header file is already #included in one of the source files. What I
don't know is how to link it.
Can I do it only with target_link_libraries ( ) or how?
Thanks
Enrique
On Mon, Feb 28, 2011 at 5:26 PM, Andreas Pakulat wrote:
> On 28.02.11 16:55:12, Enriq
I have a project that makes use of managed code and is compiled using
the /clr option.
1 ) In order to set up cmake correctly I had to issue the following command:
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "/clr")
#mark as managed code
This was not sufficient because cm
>>
I think that the cmVisualStudio10TargetGenerator.cxx would be the most
likely place for the fortran support to be added. They should be close
to what is done in the cmLocalVisualStudio7Generator for fortran support.
>>
OK, that's what I ended up doing. I generated a simple fortran project us
On Tue, Mar 1, 2011 at 2:47 PM, Marcus D. Hanwell
wrote:
> On Tue, Mar 1, 2011 at 9:15 AM, John Drescher wrote:
>> On Tue, Mar 1, 2011 at 6:45 AM, Campbell Barton wrote:
>>> QT-Creator which currently supports CMake by reading code::blocks project
>>> files.
>>>
>>> The problem with this is cod
Hello! How can I remove multi-byte character set (/D "MBCS") setting
from visual studio projects? I need to create two configurations, one
with UNICODE and one without anything
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
h
On Tue, Mar 1, 2011 at 9:15 AM, John Drescher wrote:
> On Tue, Mar 1, 2011 at 6:45 AM, Campbell Barton wrote:
>> QT-Creator which currently supports CMake by reading code::blocks project
>> files.
>>
>> The problem with this is code::blocks project files don't write in
>> #defines, so the IDE sh
On Tue, Mar 1, 2011 at 9:15 AM, John Drescher wrote:
> On Tue, Mar 1, 2011 at 6:45 AM, Campbell Barton wrote:
>> QT-Creator which currently supports CMake by reading code::blocks project
>> files.
>>
>> The problem with this is code::blocks project files don't write in
>> #defines, so the IDE sh
Thanks.
On Mon, Feb 28, 2011 at 8:01 PM, Bill Hoffman wrote:
> On 2/28/2011 9:47 AM, Mihai Sandu wrote:
>
>> There is a way to run tests from a list?
>>
>> ctest test1 test2 test3
>>
>>
>>
>>
> ctest -R test1|test2|test3
>
> -Bill
>
>
>
> ___
> Powered
On 3/1/2011 4:09 AM, Ilias Miroslav wrote:
Dear CMake-experts,
as developers of the quantum-chemistry software DIRAC
(http://wiki.chem.vu.nl/dirac/index.php/Dirac_Program) we are shifting towards
the CMake build/compilation system.
By default, the current CMAKE_Fortran_LINK_EXECUTABLE consist
On 3/1/2011 3:05 AM, Biddiscombe, John A. wrote:
>> should I be looking at cmVisualStudio10TargetGenerator, or
cmGlobalVisualStudio10Generator/cmGlobalVisualStudio10Win64Generator or
one of the base classes?
I didn't get any reply to this, so I would like to ask instead
There is a VisualStudi
On Tue, Mar 1, 2011 at 6:45 AM, Campbell Barton wrote:
> QT-Creator which currently supports CMake by reading code::blocks project
> files.
>
> The problem with this is code::blocks project files don't write in
> #defines, so the IDE shows #ifdef's incorrecyly.
>
> For the short term I wrote a ec
QT-Creator which currently supports CMake by reading code::blocks project files.
The problem with this is code::blocks project files don't write in
#defines, so the IDE shows #ifdef's incorrecyly.
For the short term I wrote a eclipse -> qtcreator project converter in
python, which has a few hard
Dear CMake-experts,
as developers of the quantum-chemistry software DIRAC
(http://wiki.chem.vu.nl/dirac/index.php/Dirac_Program) we are shifting towards
the CMake build/compilation system.
By default, the current CMAKE_Fortran_LINK_EXECUTABLE consists of several
variables:
"
-o
"
W
>> should I be looking at cmVisualStudio10TargetGenerator, or
>> cmGlobalVisualStudio10Generator/cmGlobalVisualStudio10Win64Generator or one
>> of the base classes?
I didn't get any reply to this, so I would like to ask instead
There is a VisualStudio GlobalGenerator, LocalGenerator and TargetG
29 matches
Mail list logo