On Jan 31, 2009, at 12:16 AM, Philip Lowman wrote:
On Fri, Jan 30, 2009 at 11:56 PM, Thomas Harning
wrote:
I have a CMake module that is not in the module repository and
cannot quite figure out the right way to include it in my project.
I've put FindMHASH.cmake in the root path of the proj
On Fri, Jan 30, 2009 at 11:56 PM, Thomas Harning wrote:
> I have a CMake module that is not in the module repository and cannot quite
> figure out the right way to include it in my project.
>
> I've put FindMHASH.cmake in the root path of the project, as well as put it
> under 'Modules' in there.
I have a CMake module that is not in the module repository and cannot
quite figure out the right way to include it in my project.
I've put FindMHASH.cmake in the root path of the project, as well as
put it under 'Modules' in there. I've performed:
set(CMAKE_MODULES_PATH Modules)
in the ro
During development, I don't expect INSTALL targets will be used at
all. The main reason I initially wanted this directory structure was
because I was planning to have a configuration file for each
application, and I thought I would name it "configuration".
However, if all the executables are
On Fri, Jan 30, 2009 at 01:11:13AM -0500, Philip Lowman wrote:
> Read the documentation for the find_path() and find_library() commands.
> Setting the variable CMAKE_PREFIX_PATH (or environment variable) will likely
> be of tremendous help to you.
Ah, yes. This is why a close re-reading of the fin
Bartlett, Roscoe A wrote:
> Hello,
>
> I would like to be able to append arbitrary linker options to the end of
> my link lines on Unix/Linux systems. However, the options set in the
> CMAKE_EXE_LINKER_FLAGS variable are listed *before* all of the libraries
> that CMake knows about. I need to b
Hi,
Is it possible to specify the total amount of time CTest may spend on
running the tests? With CTEST_TIMEOUT, you can set the time CTest may
spend on each test, but that's not really what I'm looking for.
Thanks
Bram
___
CMake mailing list
CMake
Hi,
How can I set up a continuous build on a branch?
I've tried setting CTEST_UPDATE_OPTIONS to include the branch name, but
it keeps removing the stickyness and update to the main branch.
set(CTEST_CVS_CHECKOUT "${CTEST_CVS_COMMAND} -d:pserver:f...@bar.com/baz
co -r branchname foobar")
set
On Fri, Jan 30, 2009 at 12:56 PM, Bartlett, Roscoe A wrote:
> Hello,
>
> I would like to be able to append arbitrary linker options to the end of my
> link lines on Unix/Linux systems. However, the options set in the
> CMAKE_EXE_LINKER_FLAGS variable are listed *before* all of the libraries
> th
Hello,
I would like to be able to append arbitrary linker options to the end of my
link lines on Unix/Linux systems. However, the options set in the
CMAKE_EXE_LINKER_FLAGS variable are listed *before* all of the libraries that
CMake knows about. I need to be able to append a bunch of nasty op
On Fri, Jan 30, 2009 at 3:00 AM, Hugo Heden wrote:
> Try using quotes:
>
> SET_DIRECTORY_PROPERTIES(PROPERTIES
> ADDITIONAL_MAKE_CLEAN_FILES "${extra_libopts_clean_files}" )
Thanks! That solved my problem.
>> And
>> If I specify each file individually, it appears that only the last
>> tak
On Fri, Jan 30, 2009 at 5:11 PM, BlinkEye wrote:
> On Fri, January 30, 2009 14:37, Eric Noulard wrote:
> > As far as I know CPack only handles a single per-project package,
> > i.e. you may easilly build a package (deb, rpm, tgz etc...) for the WHOLE
> > project, even if the project does have sub
What do you mean %h? Is this a literal character in your file? If so, then
at least I've never heard of it.
You specify paths to header files using the include_directories command:
$ cmake --help-command include_directories
cmake version 2.6-patch 1
-
On Thursday 29 January 2009, Alexander Neundorf wrote:
> On Thursday 29 January 2009, Daniele E. Domenichelli wrote:
>> I have a small template library in c++ composed by ".h" files only and I
>> want to use cmake to configure, find dependencies and install the
>> library (compiling is not needed).
Thanks! FYI, I've created some macros to do the copying. Haven't
thoroughly tested them yet, but they appear to be working.
MACRO(COPY_FILE_IF_CHANGED in_file out_file target)
ADD_CUSTOM_COMMAND (
TARGET ${target}
POST_BUILD
COMMAND$
On Fri, January 30, 2009 14:37, Eric Noulard wrote:
> As far as I know CPack only handles a single per-project package,
> i.e. you may easilly build a package (deb, rpm, tgz etc...) for the WHOLE
> project, even if the project does have subdirectories.
> CPack will package all target, files etc...
2009/1/30 Jonatan Bijl :
>
> I have now set up the tree so that the executables can be run
> immediately from where they are created. I use configure_file to copy
> the files. The problem is now, that every time I do a re-configure, the
> files (including a dll that is very big) are copied. Is ther
I use the following to copy some test files from one directory to
another:
SET (HDF5_REFERENCE_TEST_FILES
tnullspace.h5
family_v1.7_3.h5
family_v1.7_1.h5
mergemsg.h5
tbogus.h5
tbad_msg_count.h5
group_new.h5
deflate.h5
noencoder.h5
family_v1.7_0.h5
le_extlink1.h
2009/1/30 BlinkEye :
> Hello
>
> I seem not able to find an example of how to generate .deb files with cpack
> for
> different subdirectories of a project. Is this possible and if so, how?
As far as I know CPack only handles a single per-project package,
i.e. you may easilly build a package (deb,
hi all,
How can we specify the path of header fiels at run time through cmake since
i have a line in my C file as #include "%h"
Regards-
ankit jain
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
>> I have created an out-of-source build tree (on Windows), with the
>> installation directory as a subfolder of the build trees. The idea is
>> that the compiled binary requires some DLL's, images, 3D models and
>> configuration files, at a location relative to the executable. If the
>> files are
On 29.01.09 16:27:10, Tyler Roscoe wrote:
> Hey cmakers,
>
> I think I've found a bug:
Not really :)
> [tyle...@alta:~/tmp/build]$ cat ../CMakeLists.txt
> cmake_minimum_required(VERSION 2.6)
>
> find_package(Qt4 9 EXACT REQUIRED)
> message("qt4_found is ${QT4_FOUND}")
> message("qt_use_fil
Hello
I seem not able to find an example of how to generate .deb files with cpack for
different subdirectories of a project. Is this possible and if so, how?
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
Philip Lowman schrieb:
> Do you know if there is a way to append this information to the DLL with the
> linker (FileVersion & ProductVersion), instead of generating an RC file?
No.
HS
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/l
>
> If I do this:
>
>LIST(APPEND extra_libopts_clean_files
>./libopts/.libs/libopts.o
>./libopts/.libs/libopts.la
>./libopts/.libs
>./libopts/_libs
>./libopts/libopts.la
>./libopts/so_locations
>./libopts/*.o
>./libopts/*.lo
>)
Hmmm, nice to know that. I currently do not perform any kind of sanity check
on the include/lib paths, although I print an informative message to the
user. Thanks for the tip!
Adolfo Rodríguez Tsouroukdissian
On Fri, Jan 30, 2009 at 10:49 AM, Philip Lowman wrote:
> On Fri, Jan 30, 2009 at 3:44
On Fri, Jan 30, 2009 at 3:44 AM, Adolfo Rodríguez wrote:
> On Fri, Jan 30, 2009 at 7:11 AM, Philip Lowman wrote:
>
>> On Fri, Jan 30, 2009 at 12:08 AM, Tyler Roscoe wrote:
>>
>>> This seems like a common situation, so surely there's a CMake way to
>>> handle it? I was hoping the PATHS parameter
Thanks for all the help its working.
Regards-
ankit jain
2009/1/30 Philip Lowman
> On Thu, Jan 29, 2009 at 11:38 PM, ankit jain wrote:
>
>>
>>
>> 2009/1/29 Pau Garcia i Quiles
>>
>>> On Thu, Jan 29, 2009 at 1:12 PM, ankit jain
>>> wrote:
>>> > hi all,
>>> >
>>> > Problem:
>>> >
>>> > libA
Hi all,
I have a project with a suit of test executables that I create with CMake by
means of add_executable(fooTest ${foo_DEPENDENCIES}), and then register in
CTest with add_test(fooTest fooTest), and everything works just fine.
As a next step, I wanted to exclude the building of the tests from t
On Fri, Jan 30, 2009 at 7:11 AM, Philip Lowman wrote:
> On Fri, Jan 30, 2009 at 12:08 AM, Tyler Roscoe wrote:
>
>> I'll spend some more time reading FindQt4.cmake at work tomorrow, but I
>> wanted to post this while I'm thinking about it.
>>
>> I would like to tell find_package where my third-pa
30 matches
Mail list logo