Hello all,
I have got multiple tests, run by a ctest script.
But I have a problem with timeout options. All my test are very quick,
so I want to set a timeout of 60 seconds.
I tried first to set for each test a timeout, by SET_TESTS_PROPERTIES,
but the real timeout that I saw when I ran the script
Hi,
this question is regrading the use for visual studio solution files.
I want to be able to attach different arguments to custom commands
depending on the builld type (Debug, Release, RelMinSize etc.) like
done with the CMAKE_CXX_FLAGS. The external program should be started
with different param
Does anyone know about this?
I've got a C++ project on Linux. I've been using CMake with it for a
while now.
In the past I had one directory per library or application that's in
my project. The other day I modified my project so that some lib/app
code directories are at directory level n, and s
Hi,
>> To copy files, use "${CMAKE_COMMAND} -E copy".
>He doesn't just want to copy files, he wants to concatenate two files >(copy
>file1+file2 destfile). I doesn't look like cmake provides a built >in "cmake
>-E" command for that.
>One possibility is to use a separate cmake script to do th
Christian Convey wrote:
Does anyone know about this?
I've got a C++ project on Linux. I've been using CMake with it for a
while now.
In the past I had one directory per library or application that's in
my project. The other day I modified my project so that some lib/app
code directories are a
Hi all,
Hi Brandon,
>You'll need to write your own native path function for MinGW generator
>as a workaround. STRING(REPLACE "/" "\\" native_path "${cmake_path}")
>will probably do it, but maybe there's more to it. It's been awhile
>since I messed with these.
Works great, now i can do a native
Hi Hendrik,
You are right about that because I don't think SVN output is directly
analysed by the user. Maybe someone could confirm this. The SVN localization
can be modified by changing the LC_MESSAGES env. variable (Unix and
Windows). I did some test and it works well.
This fix the bug #0005936
On 10/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> That doesn't work. I think it is the same problem why I can't use FILE() at
> all.
> Because the file i want to append is both, generated before and used as a
> source file.
You'll need to write your own native path function for MinGW
Hi,
I added usefull information on using SVN with CMake/CTest on the Wiki:
http://www.cmake.org/Wiki/CMake_Scripting_Of_CTest#CTest_Scripting
Feel free to give me feedback and to add/change the information if its not
correct enought.
Regards,
Félix C. Morency
Hi,
I'm using CTest to submit my own Dart2 Server. The project that I'm
testing is using qmake (not CMake, sorry).
If I write a DartConfiguration.tcl file I can configure, build and
submit without any problem. But now I'm trying to write a CTest script
like this:
SET (CTEST_SOURCE_DIRECTORY ".")
Is it not possible to call a variable macroname from within a macro?
MACRO(INDIRECT_MACRO MACRONAME LIST)
FOREACH(L ${LIST})
${MACRONAME}(${L})
ENDFOREACH(L)
ENDMACRO(INDIRECT_MACRO)
INDIRECT_MACRO(MESSAGE ONE TWO THREE
On Wednesday 24 October 2007, Josef Karthauser wrote:
> Is it not possible to call a variable macroname from within a macro?
>
> MACRO(INDIRECT_MACRO MACRONAME LIST)
> FOREACH(L ${LIST})
> ${MACRONAME}(${L})
> ENDFOREACH(L)
> ENDMACRO(IN
Hi CMake developers,
I have a short question whether it is possible to create a Framework library
bundle under Mac OS X during "make install" instead of creating a plain
$INSTALL_PREFIX structure. I have VTK and ITK libraries already built by
cmake on my Mac but I'd like to have a bundle for their
I think there is support for frameworks in the latest CVS Head
--
Mike Jackson Senior Research Engineer
Innovative Management & Technology Services
On Oct 24, 2007, at 11:57 AM, Avan Suinesiaputra wrote:
Hi CMake developers,
I have a short question whether it is possible to create a
Fr
On 10/24/07, Alexander Neundorf <[EMAIL PROTECTED]> wrote:
> On Wednesday 24 October 2007, Josef Karthauser wrote:
> > Is it not possible to call a variable macroname from within a macro?
> >
> > MACRO(INDIRECT_MACRO MACRONAME LIST)
> > FOREACH(L ${LIST})
> >
Does it mean the current 2.4.7 version already have the feature or
should I rebuild CMake again from CVS?
Cheers,
Avan
On 10/24/07, Mike Jackson <[EMAIL PROTECTED]> wrote:
> I think there is support for frameworks in the latest CVS Head
>
> --
> Mike Jackson Senior Research Engineer
> Innova
rebuild from CVS
--
Mike Jackson Senior Research Engineer
Innovative Management & Technology Services
On Oct 24, 2007, at 1:30 PM, Avan Suinesiaputra wrote:
Does it mean the current 2.4.7 version already have the feature or
should I rebuild CMake again from CVS?
Cheers,
Avan
On 10/24
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
__
Wow, thanks for the quick answer. Could you also please tell me how to
set the framework feature after I rebuild it? Is it like a usual
parameter setting in ccmake?
Thanks again.
Avan
On 10/24/07, Mike Jackson <[EMAIL PROTECTED]> wrote:
> rebuild from CVS
> --
> Mike Jackson Senior Research
On 10/24/07, Bill Hoffman <[EMAIL PROTECTED]> wrote:
> Christian Convey wrote:
...
> >
>
> Can you create a test case that shows this problem?
>
I'm trying to, but it's very slow going because of the complexity of
the project. But I have noticed one thing. Look at the linkage
statement:
Linking
The Framework support in CVS CMake is best understood by examining the
file "CMake/Tests/Framework/CMakeLists.txt" .
The support is still very basic and simple: shared library targets
with the FRAMEWORK target property can be built and used as
frameworks. One shared library with the property yield
The "." probably comes from using CMAKE_CFG_INTDIR somewhere. It
evaluates to "." in make file based builds, but it will be "Debug" or
"Release" for Visual Studio or Xcode based builds.
The CMAKE_CFG_INTDIR expands to something specific to the generator
used. For VS, it becomes "$(OutDir)" -- for
So, I had a dynamic library with the following:
SET_TARGET_PROPERTIES(narfencode
PROPERTIES BUILD_WITH_INSTALL_RPATH OFF
INSTALL_NAME_DIR "@executable_path"
)
When I compile it I get this:
/usr/bin/c++-dynamiclib -headerpad_max_install_names -o
libnarfencode.dylib -install_name /Us
OK, I've figured it out. Consider the following code. I use it to
decide, at cmake time, what subdirectories will be built in the
project (trust me - I have a reason to do it this way.)
Anyway, if a subdirectory (or descendant of a subdirectory) has a file
named "ExtraCMakeIncludeDirs.txt", then
On 2007-10-24 12:16-0600 James Bigler wrote:
So, I had a dynamic library with the following:
SET_TARGET_PROPERTIES(narfencode
PROPERTIES BUILD_WITH_INSTALL_RPATH OFF
INSTALL_NAME_DIR "@executable_path"
)
When I compile it I get this:
/usr/bin/c++-dynamiclib -headerpad_max_install_names
Hi Christian,
Have you considered using full paths, such as
${PROJECT_SOURCE_DIR}
and
${PROJECT_BINARY_DIR}
Juan
Christian Convey wrote:
> OK, I've figured it out. Consider the following code. I use it to
> decide, at cmake time, what subdirectories will be built in the
> project (trust me - I
Mark,
The build location for libraries can be configured with LIBRARY_OUTPUT_PATH,
and the build location for executables can be configured with
EXECUTABLE_OUTPUT_PATH. I use the following lines in my projects:
SET(EXECUTABLE_OUTPUT_PATH "${CMAKE_BINARY_DIR}/bin")
SET(LIBRARY_OUTPUT_PATH "${CM
Hi,
On Oct 24, 2007, at 12:57 PM, Alan W. Irwin wrote:
On 2007-10-24 12:16-0600 James Bigler wrote:
So, I had a dynamic library with the following:
SET_TARGET_PROPERTIES(narfencode
PROPERTIES BUILD_WITH_INSTALL_RPATH OFF
INSTALL_NAME_DIR "@executable_path"
)
When I compile it I get this:
On Oct 24, 2007, at 3:54 PM, James Bigler wrote:
Hi,
On Oct 24, 2007, at 12:57 PM, Alan W. Irwin wrote:
On 2007-10-24 12:16-0600 James Bigler wrote:
So, I had a dynamic library with the following:
SET_TARGET_PROPERTIES(narfencode
PROPERTIES BUILD_WITH_INSTALL_RPATH OFF
INSTALL_NAME_DIR
I am trying to build a mixed fortran/C++ project and am having trouble
using the Intel Fortran 10 compiler. I have checked the mailing list
archives and tried to piece together a solution to no avail.
I am using CMake 2.4.6 and today tried to use CMake 2.5 - 20071024, and
both have the same
On 2007-10-24 13:54-0600 James Bigler wrote:
Here is what works for us:
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
# No rpath on Darwin. Setting it will only cause trouble.
else(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
option(USE_RPATH "Use -rpath when linking libraries, executables" ON)
endif(CMA
Dunlavy, Daniel M wrote:
I am trying to build a mixed fortran/C++ project and am having trouble
using the Intel Fortran 10 compiler. I have checked the mailing list
archives and tried to piece together a solution to no avail.
I am using CMake 2.4.6 and today tried to use CMake 2.5 - 20071024
fortran/C++ project and am
> having trouble
> > using the Intel Fortran 10 compiler. I have checked the
> mailing list
> > archives and tried to piece together a solution to no avail.
> >
> > I am using CMake 2.4.6 and today tried to use CMake 2.5 - 20071024,
> >
Dunlavy, Daniel M wrote:
Here is a copy of the CMakeLists.txt. I do not believe that anything
below ENABLE_LANGUAGE(Fortran) is causing the problem, as CMakeSetup is
choking on the Fortran tests run as a results of that command. I cannot
generate a VS8 solution. Also, when I put the Fortran libra
On 2007-10-24 16:18-0600 Dunlavy, Daniel M wrote:
Here is a copy of the CMakeLists.txt. I do not believe that anything
below ENABLE_LANGUAGE(Fortran) is causing the problem, as CMakeSetup is
choking on the Fortran tests run as a results of that command.
ENABLE_LANGUAGE has known general proble
Hi Justin,
Thanks for replying. What runs the INSTALL code - is it executed by
the CMake application when you're done configuring? Or do you manually
run it yourself somehow?
I tried adding this line to my CMakeLists.txt:
INSTALL(FILES debug/cmaketest.exe DESTINATION ../copy_file_test)
and
Right click on the INSTALL target and build it that will execute the
code in Visual Studio to do the installation. (Equivalent to executing "make
install" on a make file based system...)
HTH,
David
On 10/24/07, Mark Wyszomierski <[EMAIL PROTECTED]> wrote:
>
> Hi Justin,
>
> Thanks for replyi
37 matches
Mail list logo