Dear cmake users,
I am very new to cmake. I really find it interesting. I installed gromacs
(4.6.1) with it. One simple query regarding its usage is, how do I add
program suffix to the executables created.
Chandan
--
Chandan kumar Choudhury
NCL, Pune
INDIA
--
Powered by www.kitware.com
Visit
On Mon, Mar 11, 2013 at 7:56 AM, Chandan Choudhury iitd...@gmail.comwrote:
Dear cmake users,
I am very new to cmake. I really find it interesting. I installed gromacs
(4.6.1) with it. One simple query regarding its usage is, how do I add
program suffix to the executables created.
Chandan
Thanks Michael for your quick reply.
I indeed tried the following command:
CMAKE_PREFIX_PATH=/soft/sudip/abc/apps/fftw-3.3.3 CC=icc cmake ..
-DCMAKE_INSTALL_PREFIX=/soft/sudip/abc/apps/gromacs/461
-DCMAKE_EXECUTABLE_SUFFIX=_461 make -j 12 make install
But the suffix was not added to the
On Mon, Mar 11, 2013 at 8:42 AM, Chandan Choudhury iitd...@gmail.comwrote:
Thanks Michael for your quick reply.
I indeed tried the following command:
CMAKE_PREFIX_PATH=/soft/sudip/abc/apps/fftw-3.3.3 CC=icc cmake ..
-DCMAKE_INSTALL_PREFIX=/soft/sudip/abc/apps/gromacs/461
--
Chandan kumar Choudhury
NCL, Pune
INDIA
On Mon, Mar 11, 2013 at 1:19 PM, Michael Wild them...@gmail.com wrote:
On Mon, Mar 11, 2013 at 8:42 AM, Chandan Choudhury iitd...@gmail.comwrote:
Thanks Michael for your quick reply.
I indeed tried the following command:
Hi Jupiter,
regarding your second question: you'd need to escape the nested
quotes. Also, I'm not sure if 'not exists' can be given in lowercase.
However, I'd strongly suggest using install(SCRIPT ...) instead of
install(CODE ...), precisely because of the escaping issues.
Petr
On Mon, Mar 11,
On 11/03/13 08:57, Chandan Choudhury wrote:
--
Chandan kumar Choudhury
NCL, Pune
INDIA
On Mon, Mar 11, 2013 at 1:19 PM, Michael Wild them...@gmail.com
mailto:them...@gmail.com wrote:
On Mon, Mar 11, 2013 at 8:42 AM, Chandan Choudhury
iitd...@gmail.com
On Sun, Mar 10, 2013 at 11:56 PM, Chandan Choudhury iitd...@gmail.comwrote:
Dear cmake users,
I am very new to cmake. I really find it interesting. I installed gromacs
(4.6.1) with it. One simple query regarding its usage is, how do I add
program suffix to the executables created.
2013/3/11 Yngve Inntjore Levinsen yngve.levin...@gmail.com:
On 11/03/13 08:57, Chandan Choudhury wrote:
Hi,
Do you mean how to add it to the CMakeLists.txt files? I sometimes use the
target property OUTPUT_NAME:
add_executable(mybin ${sources})
set_target_properties(mybin PROPERTIES
On Mon, Mar 11, 2013 at 9:20 AM, J Decker d3c...@gmail.com wrote:
On Sun, Mar 10, 2013 at 11:56 PM, Chandan Choudhury iitd...@gmail.comwrote:
Dear cmake users,
I am very new to cmake. I really find it interesting. I installed gromacs
(4.6.1) with it. One simple query regarding its usage
On Mon, Mar 11, 2013 at 1:24 AM, Michael Wild them...@gmail.com wrote:
On Mon, Mar 11, 2013 at 9:20 AM, J Decker d3c...@gmail.com wrote:
On Sun, Mar 10, 2013 at 11:56 PM, Chandan Choudhury iitd...@gmail.comwrote:
Dear cmake users,
I am very new to cmake. I really find it interesting.
That's not what Chandan wants to achieve. He wants to have a suffix
appended to every executable being installed, so he can have different
versions installed and select among them through the suffix. Think gcc-4.4,
gcc-4.6 and gcc-4.7 being present on your system.
On Mon, Mar 11, 2013 at 9:27
On 11/03/13 09:24, Eric Noulard wrote:
I think Chandan meant globally for all executables.
That's the purpose of CMAKE_EXECUTABLE_SUFFIX
as already pointed out by Michael.
see : cmake --help-variable CMAKE_EXECUTABLE_SUFFIX
Now it doesn't seems to work for Chandan.
I guess the variable
Hi,
I just started to work with cmake. My fist task is to build an application
for Windows CE6.
I have a sdk from device manufacturer (Beckhoff) and I am able to build my
application in Visual Studio 2005 and run it on the device.
Now I must be able to build it with cmake.
I found out that I need
Thanks Petr. I changed to use SCRIPT, it still got syntax error either.
Please correct me what is wrong in the following statement.
install(SCRIPT
if (not exists ${destination}/myfile.txt)
install(FILES ${source}/myfile.txt DESTINATION ${destination})
endif()
)
Also, even the
install(SCRIPT ...) takes a name of a file as an argument, and
executes the CMake code in the file at installation time. That's why
you don't have to care about escaping there.
How this works is that the code in the file (or the code you give to
install(CODE ...)) is injected into
Am 11.03.2013 um 06:14 schrieb hce:
Hi,
I have following statement to install a file from source directory to
destination. It got a conflict error if the destination has already had the
file.
Hello Jupiter,
can you post the error message here? I wasn't aware that install(FILES ...) did
Dear Micheal, Yngve Decker and Eric
Thank for remarks.
Micheal you are right that I want to append a suffix to every executable
being installed.
I already have an earlier version of gromacs installed, the suffix would
help me to distinguish the between the two.
While looking out for the string
Looking at the sources, it seems that you also need to set
GMX_DEFAULT_SUFFIX to FALSE in order for this to work.
Michael
On Mon, Mar 11, 2013 at 10:49 AM, Chandan Choudhury iitd...@gmail.comwrote:
Dear Micheal, Yngve Decker and Eric
Thank for remarks.
Micheal you are right that I want to
Hi,
I don't think the CMAKE_EXECUTABLE_SUFFIX will have any more effect for
you this time, and if it did you would probably get
binary_472_461 in this particular case.
Otherwise yes, I believe using GMX_BINARY_SUFFIX should do the trick
(had a quick look at the source).
Generally for cmake
Andreas Stahl wrote
Hello Jupiter,
can you post the error message here? I wasn't aware that install(FILES
...) did any checking besides comparing the dates and overwriting if the
file to be installed is newer.
Also, you misunderstood what Petr meant. You need to escape the quotes in
the
Ansis Māliņš wrote
You can override parts of PREFIX with these
TMP_DIR =
prefix
/tmp
STAMP_DIR=
prefix
/src/
name
-stamp
DOWNLOAD_DIR =
prefix
/src
SOURCE_DIR =
prefix
/src/
name
BINARY_DIR =
prefix
/src/
name
-build
INSTALL_DIR =
prefix
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 03/11/2013 01:06 PM, Luc J. Bourhis wrote:
Ansis Māliņš wrote
The problem is that I have more than a dozen targets added with
ExternalProject_Add. How would I factor out such a change in one
place and one place only?
Use a function like:
2013/3/11 hce jupiter@gmail.com:
Andreas Stahl wrote
Hello Jupiter,
can you post the error message here? I wasn't aware that install(FILES
...) did any checking besides comparing the dates and overwriting if the
file to be installed is newer.
Also, you misunderstood what Petr meant. You
In the project I work on we have tools that generate quite a few
header files, but they are all generated with names matching *.inc.
I've added them all to the list of sources for the target, but the
generated Eclipse project doesn't list these files among the headers.
Is there a way to tell CMAKE
Hi Magnus,
I've never worked with Eclipse, but source_group() might be the
command you're looking for.
Petr
On Mon, Mar 11, 2013 at 4:17 PM, Magnus Therning mag...@therning.org wrote:
In the project I work on we have tools that generate quite a few
header files, but they are all generated
@Theodore Papadopoulo-2
Thanks. I had not guess I could pass a bunch of arguments to a function as a
mere list.
-
--
Luc J. Bourhis
--
View this message in context:
http://cmake.3232098.n2.nabble.com/ExternalProject-and-hardwired-src-directory-tp7583497p7583576.html
Sent from the CMake
Hey guys,
We have an ever growing build that uses CMake cache variables to communicate
things like include_dirs and library target names between dependent modules.
Basically, we do what the project_name_SOURCE_DIR type of thing does but
without have projects for every target. However, a
Is there a simple pattern to make file(DOWNLOAD ...) do the actual
downloading at build time? I tried to understand how ExternalProject_Add
does it but to no avail.
-
--
Luc J. Bourhis
--
View this message in context:
Consider the following snippet
cmake_minimum_required(VERSION 2.8)
include (CMakeParseArguments)
function(foo)
set(options)
set(one_valued)
set(multi_valued)
cmake_parse_arguments(_ ${options} ${one_valued} ${multi_valued}
${ARGN})
message(${__UNPARSED_ARGUMENTS})
2013/3/11 Robert Dailey rcdailey.li...@gmail.com:
I have setup all of my compiled binaries to be placed in
build_dir/output. Certain executables need to access data files
relative to the executable's current position. When I'm debugging
through visual studio, it cannot access the data unless I
I am using CMake 2.8.8 (cmake -version in Console confirms this). Recently it
has been building .xcode projects, which are for Xcode 1.0 to 2.0, instead of
.xcodeproj which is the newer file format. It used to output the proper file
type. Any ideas why the change? Just doing:
pushd
I am using CMake 2.8.8 (cmake -version in Console confirms this). Recently it
has been building .xcode projects, which are for Xcode 1.0 to 2.0, instead of
.xcodeproj which is the newer file format. It used to output the proper file
type. Any ideas why the change? Just doing:
pushd
Just found out this is a bug fixed in 2.8.10. So I'll just install that version.
http://public.kitware.com/Bug/view.php?id=13144
-Vern
Vern Jensen
Software Engineer
Artificial Intelligence in Medicine (AIM) Program
Dear CMake users,
I've encountered a strange situation. When I module load Intel Fortran
compiler ifort and the corresponding OpenMPI installation, CMake will look for
libraries dl, nsl, and util in /usr/lib directory, but since the OS, ifort, and
mpif90 are all 64 bit, it should have looked
On Monday 11 March 2013, Magnus Therning wrote:
In the project I work on we have tools that generate quite a few
header files, but they are all generated with names matching *.inc.
I've added them all to the list of sources for the target, but the
generated Eclipse project doesn't list these
Here's a log with --debug and -VV options, hope it can help to understand
the problem :
D:\Dev\Clientctest -S mymachine.ctest --debug -VV
C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/cmCTest.cxx:2427
* Extra verbosity turned on
On Monday 11 March 2013, Luc J. Bourhis wrote:
Consider the following snippet
cmake_minimum_required(VERSION 2.8)
include (CMakeParseArguments)
function(foo)
set(options)
set(one_valued)
set(multi_valued)
cmake_parse_arguments(_ ${options} ${one_valued}
The following issue has been SUBMITTED.
==
http://public.kitware.com/Bug/view.php?id=13999
==
Reported By:Stephen Kelly
Assigned To:
On 03/08/2013 02:52 PM, Clinton Stimpson wrote:
Its not as simple as changing the order.
If I have my own build of Qt4, and if FindQt4.cmake had this:
find_program(QT_QMAKE_EXECUTABLE NAMES qmake4 qmake-qt4 qmake-mac qmake ...)
and I try to use my build of Qt
On Monday, March 11, 2013 11:23:31 AM Brad King wrote:
On 03/08/2013 02:52 PM, Clinton Stimpson wrote:
Its not as simple as changing the order.
If I have my own build of Qt4, and if FindQt4.cmake had this:
find_program(QT_QMAKE_EXECUTABLE NAMES qmake4 qmake-qt4 qmake-mac qmake
...) and I
On Monday, March 11, 2013 10:05:48 AM Clinton Stimpson wrote:
On Monday, March 11, 2013 11:23:31 AM Brad King wrote:
On 03/08/2013 02:52 PM, Clinton Stimpson wrote:
Its not as simple as changing the order.
If I have my own build of Qt4, and if FindQt4.cmake had this:
On 03/11/2013 12:34 PM, Clinton Stimpson wrote:
I fixed a few bugs with that patch, and it is now merged with next.
Great, thanks for taking care of this.
-Brad
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please
On Mon, Mar 11, 2013 at 12:45 PM, Brad King brad.k...@kitware.com wrote:
On 03/11/2013 12:34 PM, Clinton Stimpson wrote:
I fixed a few bugs with that patch, and it is now merged with next.
Great, thanks for taking care of this.
I verified that next finds the correct qmake for me too, thanks
Hi,
On Wednesday 20 February 2013, Stephen Kelly wrote:
Alexander Neundorf wrote:
On Wednesday 20 February 2013, Stephen Kelly wrote:
Brad King wrote:
Please fix and add this case to the tests.
I've added fix-automoc-linker-language to stage. Alex, could you review
please?
If
On Monday 11 March 2013, Alexander Neundorf wrote:
Hi,
...
(this is again the backtrace from the earlier, unmodified version).
I think instead of avoiding the case where the code crashes, it should not
crash.
I pushed the branch AutomocFixWithoutQt to stage.
It mostly reverts the previous
Alexander Neundorf wrote:
The patch only avoided that specific situation when it occured with
automoc, but the same situation can also happen independent from automoc.
Not really, the attached case can only crash because of the automoc support
built-in in cmake. Can you create a testcase
Stephen Kelly wrote:
Alexander Neundorf wrote:
The patch only avoided that specific situation when it occured with
automoc, but the same situation can also happen independent from automoc.
Not really, the attached case can only crash because of the automoc
support built-in in cmake. Can
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.
The branch, next has been updated
via ad123efe8561b544de2974805bae228f89a961b3 (commit)
via
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.
The branch, next has been updated
via e29babed482aaf643035197fba251169ca67101f (commit)
via
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.
The branch, next has been updated
via 2b116bd80ea50a46640d701e8f55742250a5cba5 (commit)
via
Stamp
diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake
index 72b0196..8dd9dd8 100644
--- a/Source/CMakeVersion.cmake
+++ b/Source/CMakeVersion.cmake
@@ -2,5 +2,5 @@
set(CMake_VERSION_MAJOR 2)
set(CMake_VERSION_MINOR 8)
set(CMake_VERSION_PATCH 10)
-set(CMake_VERSION_TWEAK 20130311
52 matches
Mail list logo