Hello,
I am using the following command in my CMakeLists.txt file to copy a
directory with all sub-directories from the source tree to a directory
in the binary tree.
file(COPY ${SRCDIR}
DESTINATION ${CMAKE_BINARY_DIR}/${DSTDIR}/
PATTERN .svn EXCLUDE
)
After adding this line to CMakeLists.tx
On 11/23/2010 10:30 PM, Anton Deguet wrote:
> Hello,
>
> I am trying to use a UI option to set a value used in configure_file and
> ideally obtain a file that doesn't use ON/OFF. Here is a CMake sample:
> option (MYLIB_HAS_WHATEVER "Use whatever library" OFF)
>
> In my config.h.in I have:
>
It might be due to this commit:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=142edf8ad4baccd991a6a8a3e5283d0b575acca2
(first released in 2.8.3)
Or this one:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b4d27dc041c9164d6f3ad39e192f4b7d116ca3b3
(first released in 2.8.2)
Either way, seem
Hello,
I have nearly succeeded moving a project from an autotools based system to a
CMake/CTest/CDash system. I must say I am impressed with CMake. I have two
questions though:
1) Is it possible for CTest to use a shell script which calls cmake? The
project depends on a dozen TPLs installe
I use set_tests_properties (... COST -500) to force my code coverage
checks to run after all the unit tests have run. This has stopped
working and I'm reasonably confident that the only thing that changed
was an upgrade from cmake 2.8.0 or 2.8.1 to 2.8.3.
I couldn't find anything in the bug tracke
Hello,
I am trying to use a UI option to set a value used in configure_file and
ideally obtain a file that doesn't use ON/OFF. Here is a CMake sample:
option (MYLIB_HAS_WHATEVER "Use whatever library" OFF)
In my config.h.in I have:
#define ON 1
#define OFF 0
#define MYLIB_HAS_WHATEVER
Hi,
I am trying to generate a NSIS installer on Windows XP to install a
library and I want to remove the Window where the installer asks for
"Choose Start Menu Folder"
I have tried:
SET(CPACK_NSIS_MENU_LINKS )
SET(CPACK_NSIS_MENU_LINKS "")
SET(CPACK_NSIS_MENU_LINKS OFF)
UNSET(CPACK_NSIS_MENU_L
> -Original Message-
> From: Eric Noulard [mailto:eric.noul...@gmail.com]
> Sent: Dienstag, 23. November 2010 21:07
> To: Vladislav Vaintroub
> Cc: cmake@cmake.org
> Subject: Re: [CMake] How to rerun cmake if a file changes
>
> 2010/11/23 Vladislav Vaintroub :
> > Hello,
> > we use a tex
On Tuesday 23 November 2010, Johannes Zarl wrote:
> Sorry for hijacking this thread, but I'm wondering about this for some
> time, too. (And the information in the doc/wiki is somewhat dated and/or
> ambiguous [1,2,3,4]). I will just go on and write my thoughts and what I
> (think I) know, in the h
On Tuesday 23 November 2010, tomas...@sbc.su.se wrote:
> Dear Cmake users,
>
> 1) I am trying to set CMAKE_INSTALL_PREFIX in the CMakeLists file with
> SET(CMAKE_INSTALL_PREFIX, "my/path")
> but the variable remain unset; everything works fine if the variable is
> set on the command line when invok
I'm trying to get my dlls and exes to output in a speicfic directory,
regardless of build type.
I should be able to do this using:
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin )
I still end up with
(top dirs)/bin/Debug/myapp.exe
(top dirs)/bin/Release/myapp.exe
According to these
2010/11/23 Vladislav Vaintroub :
> Hello,
> we use a text file as input for out build to store version info. The
> content of this file is
> ./VERSION:
>
> MYSQL_VERSION_MAJOR=5
> MYSQL_VERSION_MINOR=5
> MYSQL_VERSION_PATCH=8
> MYSQL_VERSION_EXTRA=
>
> During cmake run, the information is extracte
Hello,
we use a text file as input for out build to store version info. The
content of this file is
./VERSION:
MYSQL_VERSION_MAJOR=5
MYSQL_VERSION_MINOR=5
MYSQL_VERSION_PATCH=8
MYSQL_VERSION_EXTRA=
During cmake run, the information is extracted, parsed,
CPACK_PACKAGE_FILE_NAME is generated, and
On Mon, Nov 22, 2010 at 10:37 PM, Michael Hertling wrote:
[snip]
>> This seems like a common situation, so I'm wondering what the common
>> solution is.
>
> 'hope that helps.
Thanks, yes that helps a lot. I figured there must be some method like this.
@Johannes Zarl: hijack away, I'm also inter
Am Dienstag, den 23.11.2010, 15:01 +0100 schrieb Michael Wild:
> On 11/23/2010 02:33 PM, Micha Renner wrote:
> > Am Dienstag, den 23.11.2010, 14:01 +0100 schrieb tomas...@sbc.su.se:
> >> Dear Cmake users,
> >>
> >> 1) I am trying to set CMAKE_INSTALL_PREFIX in the CMakeLists file with
> >> SET(CMAK
Marcel Loose ha scritto:
On 23-11-2010 at 10:55, in message <4ceb8f76.80...@korg.it>, Andrea
Galeazzi
wrote:
In a project I've got two groups of files having different include
paths. These paths have some conflicts so I need to specify just one
for each file requires i
On 11/23/2010 02:33 PM, Micha Renner wrote:
> Am Dienstag, den 23.11.2010, 14:01 +0100 schrieb tomas...@sbc.su.se:
>> Dear Cmake users,
>>
>> 1) I am trying to set CMAKE_INSTALL_PREFIX in the CMakeLists file with
>> SET(CMAKE_INSTALL_PREFIX, "my/path")
> ^
>
Am Dienstag, den 23.11.2010, 14:01 +0100 schrieb tomas...@sbc.su.se:
> Dear Cmake users,
>
> 1) I am trying to set CMAKE_INSTALL_PREFIX in the CMakeLists file with
> SET(CMAKE_INSTALL_PREFIX, "my/path")
^
No comma!
greetings
Micha
__
> Hi list.
>
> Not sure if this is a bug or something stupid I've done. On several
> Windows build environments (two XP, two 7, this happens with 2.8.2 and
> 2.8.3), I'm getting the error:
>
> c:/compilers/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe:
> cannot find -llibodbc32
Dear Cmake users,
1) I am trying to set CMAKE_INSTALL_PREFIX in the CMakeLists file with
SET(CMAKE_INSTALL_PREFIX, "my/path")
but the variable remain unset; everything works fine if the variable is
set on the command line when invoking cmake
(-DCMAKE_INSTALL_PREFIX=my/path).
2) I am also looking
Hi list.
Not sure if this is a bug or something stupid I've done. On several
Windows build environments (two XP, two 7, this happens with 2.8.2 and
2.8.3), I'm getting the error:
c:/compilers/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe:
cannot find -llibodbc32
That's clear
>>> On 23-11-2010 at 10:55, in message <4ceb8f76.80...@korg.it>, Andrea
Galeazzi
wrote:
> In a project I've got two groups of files having different include
> paths. These paths have some conflicts so I need to specify just one
> for each file requires it.
> My first idea was to apply set_sour
Sorry for hijacking this thread, but I'm wondering about this for some
time, too. (And the information in the doc/wiki is somewhat dated and/or
ambiguous [1,2,3,4]). I will just go on and write my thoughts and what I
(think I) know, in the hope that somebody corrects those things I got
wrong.
Hi,
Is there any way to:
- disable the destination selection/customization altogether (both the
"Change Install Location" option and the respective page and the "Choose
Folder..." option one gets to if one clicks on "Change Install Location")
- disable the "Choose Folder..." option even though t
Hi Brad,
>Please try the patch below.
It gets rid of -rdynamic for pure F90. I will try in a C/C++/F77/F90 project
soonish (hopefully today). I didn't check if other flags get cleared as well.
Thanks,
Arjen
>diff --git a/Modules/Platform/Linux-PGI.cmake b/Modules/Platform/Linux-
>PGI.cmake
>in
In a project I've got two groups of files having different include
paths. These paths have some conflicts so I need to specify just one
for each file requires it.
My first idea was to apply set_source_files_properties with a property
like include_directories but I don't find anything similar. M
26 matches
Mail list logo