I want to use gprof to analyze my code. So I try to embed the -pg
paramter for g++ in my CMakeLists.txt file.
But after I embeded the -pg to my CMakeLists.txt like this:
-
add_definitions(-pg -march=pentium4 -msse3 -g)
-
and I recompile my code. There is no gprof output file.
But
# FAIL_REGULAR_EXPRESSION: If the output matches this regular
# expression the test will fail.
If set, if the output matches one of specified regular expressions, the
test will fail.For example: PASS_REGULAR_EXPRESSION
"[^a-z]Error;ERROR;Failed"
The example should say FAIL_REGULAR_EXPRESSION
I have a find_file command with multiple names supplied, like the following:
find_file(SOMEVAR NAMES name1 name2 name3)
I'm wondering what happens if name1, name2, and name3 all exist in the same
directory. Is it guaranteed that find_file will always return the full path to
name1?
Thanks!
-J
Is it possible to reset the default target for the makefile build systems?
For example, could I have 'make install' be the default target rather than
'make all'?
Thanks,
Steve
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
Hi Brad,
You need the custom command to run every time the build starts:
...
copy-if-different check. The key is then to make the library depend
on this rule at a *target* level, but only on version.h at a *file* level.
Because such a custom target is "always considered out of date", the li
FWIW:
I made my user PATH value 302 characters long... as in:
C:\a;C:\b;C:\c;C:\dd;C:\dd;C:\dd;C:\dd;C:\dd;C:\dd;C:\dd;C:\dd;C:\dd;C:\dd;C:\dd;C:\dd;C:\dd;C:\dd;C:\dd;C:\d
Waschk,Kolja wrote:
> Hi Brad,
>
>> You need the custom command to run every time the build starts:
> ...
>> copy-if-different check. The key is then to make the library depend
>> on this rule at a *target* level, but only on version.h at a *file*
>> level.
>
> Because such a custom target is "a
On Mon, Dec 14, 2009 at 12:26 PM, Tyler Roscoe wrote:
> On Mon, Dec 14, 2009 at 12:21:13PM -0500, John Drescher wrote:
>> On Mon, Dec 14, 2009 at 12:16 PM, Tyler Roscoe wrote:
>> > On Mon, Dec 14, 2009 at 12:07:33PM -0500, John Drescher wrote:
>> >> SET (DEFAULT_INSTALL_PATH ${PGM_FILES}/UPMC/${C
On Mon, Dec 14, 2009 at 12:21:13PM -0500, John Drescher wrote:
> On Mon, Dec 14, 2009 at 12:16 PM, Tyler Roscoe wrote:
> > On Mon, Dec 14, 2009 at 12:07:33PM -0500, John Drescher wrote:
> >> SET (DEFAULT_INSTALL_PATH ${PGM_FILES}/UPMC/${CMAKE_PROJECT_NAME}
> >> CACHE STRING "Default Install Path")
Hy,
I think there is a small bug in Cpack or maybe i didn't find the good
features.
I'm using cpack to pack my project (for windows)... and i wanted to use the
same install for my server and client.
Therefore I have check the CPACK_COMPONENT_xxx tutorial which is really
intersting http://www.cmake
On Mon, Dec 14, 2009 at 12:21 PM, John Drescher wrote:
> On Mon, Dec 14, 2009 at 12:16 PM, Tyler Roscoe wrote:
>> On Mon, Dec 14, 2009 at 12:07:33PM -0500, John Drescher wrote:
>>> SET (DEFAULT_INSTALL_PATH ${PGM_FILES}/UPMC/${CMAKE_PROJECT_NAME}
>>> CACHE STRING "Default Install Path")
>>>
>>> i
On Mon, Dec 14, 2009 at 12:16 PM, Tyler Roscoe wrote:
> On Mon, Dec 14, 2009 at 12:07:33PM -0500, John Drescher wrote:
>> SET (DEFAULT_INSTALL_PATH ${PGM_FILES}/UPMC/${CMAKE_PROJECT_NAME}
>> CACHE STRING "Default Install Path")
>>
>> if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
>> set (CMAK
On Mon, Dec 14, 2009 at 12:07:33PM -0500, John Drescher wrote:
> SET (DEFAULT_INSTALL_PATH ${PGM_FILES}/UPMC/${CMAKE_PROJECT_NAME}
> CACHE STRING "Default Install Path")
>
> if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
>set (CMAKE_INSTALL_PREFIX ${DEFAULT_INSTALL_PATH} CACHE STRING
> "Inst
Under cmake-2.8.0 I have the following section in my CMakeLists.txt
IF(CMAKE_SIZEOF_VOID_P MATCHES 4)
string (REPLACE "\\" "/" PGM_FILES $ENV{PROGRAMFILES})
ELSE(CMAKE_SIZEOF_VOID_P MATCHES 4)
# On WIN64 use the 64 bit program files..
string (REPLACE "\\" "/" PGM_FILES $ENV{ProgramW6432})
ENDIF(CM
I think it comes down to what error to flag, “You can't use this command
on your operation system because we didn't implement it” or “your
operation system is obsolete – build a work-around” or “no message at
all because it's windows and no one does development with windows”. The
last is odd for a
DONG Li wrote:
> I am trying move my project from Linux to Mac. I have modified some
> cmake files to successfully generate Makefile, but I'd like generate
> xcodeproj file for use in Xcode. A few errors appeared, as following:
AFAIK the Xcode generator is totally untested with the Intel Fortran
p
Kolja Waschk wrote:
> Beside the SVN revision number of the working base, our embedded
> revision information also tells whether the library was built from code
> with local modifications, i.e. whether it equals the source code stored
> in the SVN repository or was changed afterwards. Changing a s
Thanks Mike,
That extra set of files fixed the problem!
Steve
On Sun, Dec 13, 2009 at 9:59 PM, Mike Jackson
wrote:
> Yep. When the install command is run there is a missing package of
> files from the QtGui.framework/Resources/qt_menu which needs to be
> copied into the CMake-Gui.app/Contents/
That is correct; Cygwin applications and compilers (anything that uses the
cygwin filesystem) would be able to use it, but no windows applications (such
as Visual Studio) would be able to do so.
NTFS has long supported hard-links (or Junction points:
http://technet.microsoft.com/en-us/sysinter
I think there should be a cross platform command for creating symbolic
links, under windows 2000 and above with the ntfs formatted disk. You
can create symbolic links to directories with a program called
“junction” (Vista has a build-in command) - junction has switches that
would simulate the Linux
On 14.12.09 14:29:06, Marcel Loose wrote:
> On Mon, 2009-12-14 at 08:23 -0500, Bill Lorensen wrote:
> > http://en.wikipedia.org/wiki/Symbolic_link#Cygwin_symbolic_links
> >
>
> OK, that puts us back at square one.
>
> Why is it that CMake cannot use Windows shortcuts as an alternative to
> Unix
On 14. Dec, 2009, at 14:29 , Marcel Loose wrote:
> On Mon, 2009-12-14 at 08:23 -0500, Bill Lorensen wrote:
>> http://en.wikipedia.org/wiki/Symbolic_link#Cygwin_symbolic_links
>>
>
> OK, that puts us back at square one.
>
> Why is it that CMake cannot use Windows shortcuts as an alternative to
On Mon, 2009-12-14 at 08:23 -0500, Bill Lorensen wrote:
> http://en.wikipedia.org/wiki/Symbolic_link#Cygwin_symbolic_links
>
OK, that puts us back at square one.
Why is it that CMake cannot use Windows shortcuts as an alternative to
Unix symbolic links, whereas Cygwin can?
Best regards,
Marcel
http://en.wikipedia.org/wiki/Symbolic_link#Cygwin_symbolic_links
On Mon, Dec 14, 2009 at 3:28 AM, Marcel Loose wrote:
> On Sat, 2009-12-12 at 12:02 -0500, Bill Hoffman wrote:
>> Alan W. Irwin wrote:
>> > On 2009-12-12 09:44-0500 David Cole wrote:
>> >
>> >> On Fri, Dec 11, 2009 at 10:04 AM, Micha
Hi Marcel,
Thanks for the hint, the wiki states it should be CMAKE_TEST_COMMAND,
I think this should be CMAKE_CTEST_COMMMAND?
By the way is there a way to make ctest use this new check target instead of
the default all in a continous testing configuration?
(I tried ctest.exe --build-target check
Hi all,
I am trying move my project from Linux to Mac. I have modified some cmake files
to successfully generate Makefile, but I'd like generate xcodeproj file for use
in Xcode. A few errors appeared, as following:
1. Fortran compiler
In the command line output of running "cmake -G Xcode ../",
hi,
i found the problem, just in case anyone is interested. the problem was, that i
use "package first.second.third;" in my java-sources, so that the class files
are compiled to
${CMAKE_CURRENT_BINARY_DIR}/first/second/third/file.class and not to
${CMAKE_CURRENT_BINARY_DIR}/file.class, which i
On Sat, 2009-12-12 at 12:02 -0500, Bill Hoffman wrote:
> Alan W. Irwin wrote:
> > On 2009-12-12 09:44-0500 David Cole wrote:
> >
> >> On Fri, Dec 11, 2009 at 10:04 AM, Michael Wild wrote:
> >>
> >> Bummer. What where they THINKING??? (if at all...). It seems to me
> >> that M$ just CAN'T get it r
28 matches
Mail list logo