cmake-boun...@cmake.org wrote on 23.06.2011 12:42:42:
> From: mika.raj...@patria.fi
> To: cmake@cmake.org
> Date: 23.06.2011 12:43
> Subject: Re: [CMake] CDash broken after production mode is set to true
> Sent by: cmake-boun...@cmake.org
>
> ----- Forwarded by Mika Rajala
- Forwarded by Mika Rajala/PATRIA on 23.06.2011 12:42 -
From: Mika Rajala/PATRIA
To: mika.raj...@patria.fi
Date: 23.06.2011 12:42
Subject:Re: [CMake] CDash broken after production mode is set to
true
Hi
I tried installing a different browser and, with that, it seems to
Hi
I was all set up with my cdash server, after setting production mode to
true, things stop working.
Clients when they attempt to receive their id when they submit to cdash
server get some junk as answer, they don't list up the schedule build
thing.
Fonts change, menus won't work.
For insta
Hi
if(expression)
...
endif(expression2)
Makes an error since the expressions didn't match
I think this is the case with "else" as well.
However, i'm uncertain how to write it when you use elseif, maybe it still
needs to match with the expression in the IF thing
The reasoning behind this, A
Hi
Am I asking my questions in the wrong place?
Is my question stupid and/or I should find answers from documentation /
internet?
-mika
From: mika.raj...@patria.fi
To: mika.raj...@patria.fi
Cc: cmake@cmake.org, cmake-boun...@cmake.org
Date: 28.04.2011 07:50
Subject:Re: [
Hi
Another update and a question
I'v reverse engineered and hacked the CDash/CMake/CTest code a bit to see
how it works.
I'v now come to the conclusion that the best way to handle custom tools
(style checks, static code analysis) is to use custom builds and custom
build groups
The issue I cu
Hi
I went for the custom DynamicAnalysis.xml thing
I think I figured out what the file should contain.
There is a slight problem however.
The Labels in the defect list of CDash are that of some other tool
How do I change them?
-mika
From: mika.raj...@patria.fi
To: mika.raj...@patria.
Hi
This doesn't seem to be very easy, fun or well documented.
I'v resolved to looking aroung the CTest source code to see what is going
on.
>From what I'v found out, there seems to be some syntax to what the defect
list contains!
I'm not certain if this is the easy way through, but it
Hi
I'm trying to integrate custom tools to CDash Dynamic analysis.
I'm not that certain on what is the way I should be going.
Is there a way to tell cmake to pick up lines from a program as defects in
the custom tool submission xml?
Do i need to make a program that generates a valid xml file?
Yes it works..
Thanks for the help.
I need to add this to my list of things to remember.
Now i still have the problem of the missing tlb file to fix, but i'll
handle that on my own.
-mika
mika.raj...@patria.fi
Sent by: cmake-boun...@cmake.org
08.03.2011 13:42
To
cmake@cmake.org
cc
Subj
Second try, replied to sender directly :)
Now that i checked the IDL_OUTPUT_DIR i found out that the second output
file is always missing, the .tlb one.
Maybe this is why it always runs that command?
Testing..
Richard Wackerbarth
Sent by: cmake-boun...@cmake.org
08.03.2011 13:18
To
mika
My cmake version is 2.8.4
"Rolf Eike Beer"
Sent by: cmake-boun...@cmake.org
08.03.2011 13:21
To
cmake@cmake.org
cc
Subject
Re: [CMake] Run/build custom command/target only when "input" files change
> foreach(in_file ${ARGN})
>
>
>
> ADD_CUSTOM_COMMAND(
> OUTPUT ${IDL_O
foreach(in_file ${ARGN})
ADD_CUSTOM_COMMAND(
OUTPUT ${IDL_OUTPUT_DIR}/${out_file}.h
${IDL_OUTPUT_DIR}/${out_file}.tlb
DEPENDS ${in_file}
COMMAND(${MIDL_EXECUTABLE} ${in_file}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
endforeach()
Hi
I have created a custom command that generates source code for me.
There is a slight annoyance still, the command is excecuted every single
time i tell the compiler to build.
Can I make it so that it runs the program only when the source file
changes or the target file doesn't exist?
I loo
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
Hi
How can i turn CTest to Verbose mode through CMakeLists.txt code?
I'd like to run code analysis with cppcheck through CTest. However, the
interesting output of cppcheck is not visible.
I tried the add_custom_command thing and i got the output to the console
of the IDE, but i think that runn
Hi
It appears I was wrong, the HEADER_FILE_ONLY did work for them, it seems I
had some error while trying it.
Everything works smoothly now.
My solution:
Create a macro to handle the IDL files, which outputs the header files and
the tlb-files so that you may move them around later on.
This al
Hi
I solved this exact problem by using the add_custom_command, to write the
command for the midl tool. (I created a macro for it)
Now I neatly get the generated tlb and header files, and now i can easily
list them in the visual studio.
However, I'm yet to figure out how to add the idl files t
Hi
I'd like to know is it possible to give additional include directories for
the MIDL tool in Visual Studio 2005 with CMakeLists.txt code.
The include_directories command does not work for the MIDL tool
parameters.
To delve deeper into the reason why this is a problem, helloworld1.idl
uses
Thanks, this works nicely
Sorry for the double posting.
I waited for 30 minutes and the mail didn't appear on the list, so I
assumed it failed somehow.
-mika
Michael Wild
Sent by: cmake-boun...@cmake.org
28.12.2010 16:23
To
cmake@cmake.org
cc
Subject
Re: [CMake] add_executable created
Hello
I'd need to get the filepath of a created executable file, so that i can
use the filepath on a custom command.
add_executable(Program ...)
add_custom_command(TARGET Program POST_BUILD COMMAND ${ProgramToRun}
${Program} ...)
To clarify, i'd like to run the executable "ProgramToRun" with
Hello
I'm using add_executable to create an executable file.
I'd like to extract the filepath of the created executable for a custom
command.
This causes some trouble for me because I use and must use visual studio.
The familiar problem with the build type being added as a subfolder.
However,
Hi
I need to generate a license file for my application and install it with
the NSIS package generated.
To generate it I need to run a program with various command line arguments,
one of which is a path to the compiled executable.
add_executable(MyApp .)
execute_process(LicenseApp "-f My
I did try that already.
Thanks anyway, I'll try to figure out what is wrong.
-mika
Philip Lowman
cmake-boun...@cmake.org wrote on 11.03.2010 10:56:42:
>
> On 11. Mar, 2010, at 9:41 , mika.raj...@patria.fi wrote:
>
> >
> >
> > cmake-boun...@cmake.org wrote on 11.03.2010 10:37:47:
> >
> >>
> >> On 11. Mar, 2010, at 9:27 , mika.raj...@patria.fi wrote:
> >>
> >>>
> >>>
> >>> cmake-boun...@cmake
cmake-boun...@cmake.org wrote on 11.03.2010 10:37:47:
>
> On 11. Mar, 2010, at 9:27 , mika.raj...@patria.fi wrote:
>
> >
> >
> > cmake-boun...@cmake.org wrote on 11.03.2010 10:04:42:
> >
> >> On 11.03.10 09:56:35, mika.raj...@patria.fi wrote:
> >>>
> >>> Hi
> >>>
> >>> The problem:
> >>>
>
cmake-boun...@cmake.org wrote on 11.03.2010 10:04:42:
> On 11.03.10 09:56:35, mika.raj...@patria.fi wrote:
> >
> > Hi
> >
> > The problem:
> >
> > >From a shared CMakeLists.txt i get the following error when defining a
> > library target.
> > Policy CMP0002 is not set: Logival target names must
More reading documentation and attempts... but still not working.
Maybe there is no way?
mika.raj...@patri
a.fi
Hi
The problem:
>From a shared CMakeLists.txt i get the following error when defining a
library target.
Policy CMP0002 is not set: Logival target names must be globally unique.
The situation:
Let's assume i have the following cmake files in the following folders with
the svn:externals propert
Still unsolved.
Meanwhile I have made a horrible kludge that works for now, but which i
really wouldn't want to leave as it is.
I think my problems could be solved if i could define the version of the
library which to look for.
Is this somehow possible?
I'll look into the documentation once mor
Hi
I have read the documentation on find_library command, and i think what i
need is possible, but i just can't figure it out.
I'd like to run the find_library command, so that it doesn't use the
windows environment variable PATH for folders to look from.
Is this possible with cmake?
I tried a
Hi
I have multiple cmake projects and some of them generate shared libraries.
Now to run the program in debug mode, without running the install step, i
do ofcourse need the runtime shared libraries when i start the debug.
I have the problem that i can't get the path where the library is, so I
c
Hi
I'd like to install the necessary .dll files of Qt to my install directory.
So that when someone installs my program from a package, he gets the
complete set and doesn't need to install Qt seperately.
Actually my program is multiple programs and i'd rather not link them
statically to Qt libr
Hi
I'm not certain if this should be here or in some Qt messageboard, but
here's the thing.
I had Qt 4.4.X version installed, and i wanted to upgrade to 4.6.1 for
nicer licensing.
I used the uninstaller to remove the 4.4.X version, and did everything
according to the install instructions for ve
Hi
Thanks a lot for the help. Sorry that I didn't provide all necessary
information at start, I just didn't understand the matter enought to write
it all.
You guessed right, I want to find out the folder of the host, so that the
cmake running on the host machine may find it. I'd like that the use
Hi
How can i tell the NSIS installer, using cmake, to install my Find*.cmake
script to the ${CMAKE_ROOT}/Modules directory?
Writing that to the "install" command doesn't work.
I did try googling for anwsers for the better part of yesterday so if it
can be found on the internet, please provide s
Hi
I think i have solved something now, it was just too easy for my sceptical
mind.
Anyway, I found out that NSIS installer on windows xp (which is the only
platform this currently needs to work on) already generates a registry
entry, and i only need to read it
in the Find*.cmake file, which app
Hi
I'm trying to generate a NSIS installer for a development library.
The installer would need to do the following, install the headers and
libraries to a directory, copy the Find**.cmake to the correct location
where it can be found with cmake, set a registry key value to indicate
where it was
38 matches
Mail list logo