Hello everybody,
I would like to use cpack (2.8.7) in order to build a debian installer
for a c++ library that has a few dependencies namely:
- boost (headers + libraries)
- fftw3-3
- eigen3
- hdf5
- tiff
I would like to set my cpack file in such a way that the minimum
Dear CMakers,
I have a Fortran project to be built on Windows and Linux using ifort
compiler. For two of the project files, I need to add
specific compiler flag (i.e. /assume:byterecl). To do so, I used the
following CMake command:
SET_SOURCE_FILES_PROPERTIES(file1.f90 PROPERTIES
Dear CMakers,
I have to build cmake files for a Fortran project using ifort compiler
on Windows, linux and macos platform.
That project will be linked to Winteracter Fortran library whose
installation paths are different depending on the 32
or 64 bit versions. Is there a way to automatically
On 12/9/2013 1:26 PM, Eric Noulard wrote:
2013/12/9 pellegrini pellegr...@ill.fr:
Dear CMakers,
I have to build cmake files for a Fortran project using ifort compiler on
Windows, linux and macos platform.
That project will be linked to Winteracter Fortran library whose
installation paths
On 12/9/2013 2:34 PM, Eric Noulard wrote:
2013/12/9 pellegrini pellegr...@ill.fr:
Thanks Eric for the hint.
I read some time ago some stuffs about the CMAKE_SIZEOF_VOID_P variable but
unfortunately, in the present case,
the problem is a bit different. It can be for example that on a 64 bit
)
# General CPACK options
set(CPACK_PACKAGE_NAME ${PROJECT_NAME})
set(CPACK_PACKAGE_VENDOR Eric Pellegrini - Institut Laue Langevin)
set(CPACK_PACKAGE_VERSION_MAJOR 1)
set(CPACK_PACKAGE_VERSION_MINOR 0)
# NSIS section
if(CPACK_GENERATOR MATCHES NSIS)
# Create the desktop link
set
done
-- Generating done
-- Build files have been written to:
C:/Users/pellegrini/work/diffraction/sxtalsoft/build/ifort
If a run it a second time WITHOUT deleting the CMakeCache.txt file with
cmake -GNMake Makefiles -DCMAKE_Fortran_COMPILER=ifort
-DCMAKE_BUILD_TYPE=Debug ..\..\.
I get
=VTK.git;a=blob;f=CMakeLists.txt;h=a57fd66ef333fc26bf74fe658c88c3c634f54c3a;hb=HEAD#l12
Hth
Jc
On Fri, May 11, 2012 at 11:21 AM, pellegrini pellegr...@ill.fr
mailto:pellegr...@ill.fr wrote:
Hi all,
when cmake is run without specifying the build type using -D
CMAKE_BUILD_TYPE
Hi all,
when cmake is run without specifying the build type using -D
CMAKE_BUILD_TYPE, it is the Debug mode that is selected as
the default. I would like to find a way to use Release as the default
value when the user does not specify any build
type in the cmake command line.
From one of my
to escape from this feature ?
thanks a lot
see you
Eric
--
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
Grenoble, France
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic
, and if not
so, I take the parent directory of the default value.
Is that possible ?
thanks a lot
Eric
--
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
Grenoble, France
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com
other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
--
Eric Pellegrini
Hello everybody,
that's finally OK. Indeed; everything was OK. I did not pay attention
that the flag was actually here. I was simply not looking
in the right place. Perhaps new glasses or some rest should be my first
resolution for 2012 !!!
sorry for the inconvenience
Eric
pellegrini
set_compiler_flags macro. Is that just a bug on the
display or is there something wrong with my settings ?
thanks a lot
Eric
--
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
Grenoble, France
macro(set_compiler_flags)
get_filename_component(COMPILER_NAME ${CMAKE_Fortran_COMPILER
-- Check for working Fortran compiler: /home/cs/pellegrini/bin/ifort
-- Check for working Fortran compiler: /home/cs/pellegrini/bin/ifort -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /home/cs/pellegrini/bin/ifort supports Fortran 90
()
set(arch_64 FALSE)
endif()
thanks a lot and merry Christmas !
Eric
--
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
Grenoble, France
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages
Eric
pellegrini a écrit :
thanks a lot Michael.
Finally, this was not such a trivial problem but I should find my way
with the examples you gave me.
Eric
Michael Hertling a écrit :
On 10/21/2011 06:49 PM, pellegrini wrote:
Hi all,
after digging and googling some hours I did a first step
thanks a lot Michael.
Finally, this was not such a trivial problem but I should find my way
with the examples you gave me.
Eric
Michael Hertling a écrit :
On 10/21/2011 06:49 PM, pellegrini wrote:
Hi all,
after digging and googling some hours I did a first step in the right
direction
to make cmake recognize and
compile a rc file ?
thanks
Eric
--
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
Grenoble, France
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic
thanks for your help
Eric
pellegrini a écrit :
Hi all,
I use CMake 2.8.5 on Linux and Windows machine to build a Fortran
project.
On Windows, no problem, the build and the resulting GUI are OK. On
Linux, the build seems to
be OK but the resulting GUI gives an empty screen
time (ld: cannot find
-lXm).
Would you have any idea of what is going wrong with my settings ?
thanks a lot
Eric
--
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
Grenoble, France
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com
the /stack:12800 flag).
I also try (by the way what is the difference ?):
set(LINK_FLAGS /stack:12800 /subsystem:windows)
but it also produced the same unwanted effect.
did I miss something somewhere ?
thanks for your help
Eric
--
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
that's work ! Great !
Thanks a lot Rolf
Rolf Eike Beer a écrit :
On Mi., 12. Okt. 2011 17:05:52 CEST, pellegrini pellegr...@ill.fr wrote:
Hi all,
I would like to build a project using intel fortran compiler. When
building the project I would like to add/change two linker
flags
for your help
Eric
--
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
Grenoble, France
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http
This option is valid only for PackageMaker generator. I was not careful
enough when looking at the doc :-[
sorry
Eric
pellegrini a écrit :
Hi all,
I would like to package my application using CPACK/NSIS generator.
Using the following line:
set(CPACK_RESOURCE_FILE_WELCOME
) that
fall in the scope of CPACK_INSTALL_COMMANDS ?
thanks a lot
Eric
--
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
Grenoble, France
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages
thanks for your help Alexander Michael.
Eric
Michael Hertling a écrit :
On 10/04/2011 10:42 AM, pellegrini wrote:
Hi all,
I would need your advise about the strategy to adopt when two
executables share common object files.
Sharing object files among different targets might mean
to my purpose ? If this is the
second one: is there an easy way to get/specify the list of the
object files generated during the pfind build ?
thanks a lot
Eric
--
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
Grenoble, France
--
Powered by www.kitware.com
Visit other Kitware
the best to my purpose ? If this is the
second one: is there an easy way to get/specify the list of the
object files generated during the console_prog build ?
thanks a lot
Eric
--
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
Grenoble, France
--
Powered by www.kitware.com
Visit other
with relative path when declaring the
sources for a project. I tried using the option CMAKE_USE_RELATIVE_PATHS
but it might not be defined for that purpose as it did not solve the
problem. Would you have any idea how to solve that problem ?
thanks a lot
Eric
--
Eric Pellegrini
Calcul
thanks for the hints and your help, guys. Indeed, There was one '..\'
too much in my source files path.
Eric
Andreas Pakulat a écrit :
On 28.09.11 12:51:53, pellegrini wrote:
Hi all,
I have a project with the following structure:
root/
CMakeLists.txt
prog1/
CMakeLists.txt
archive is empty. No README inside and more
disturbing no
prog1, prog2, prog3 executables. I may have miss something when reading
the examples but I still have not found what. Would you have any idea ?
thanks a lot
Eric
--
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
Grenoble
Eric Noulard a écrit :
2011/9/27 pellegrini pellegr...@ill.fr:
Hi Eric,
thanks for your quick answer.
No, my subprojects do not contains any CPack directives neither include
cpack. Should they ?
Sorry my fingers slipped.
Another message is coming to the list.
You need an INSTALL
this
command will remove the list of flags that may be set by cmake
(behaviour that I would like to avoid) or just append it to this list ?
thanks
Eric
--
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
Grenoble, France
___
Powered
thanks for the hint Eric Michael
Eric
Michael Wild a écrit :
On 09/13/2011 10:35 AM, pellegrini wrote:
Hi all,
I would like to build a Fortran90 project using Fortran intel compiler.
I would like to increase the stack by adding the /stack
flag to the linker.
Looking on the documentation
time or do I have to declare those flags
through, for example, a '-D option ?
thanks
Eric
--
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
Grenoble, France
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http
Thanks a lot Eric for the clear explanation.
Eric
Eric Noulard a écrit :
I did forget the ML.
-- Forwarded message --
From: Eric Noulard eric.noul...@gmail.com
Date: 2011/9/9
Subject: Re: [CMake] 64 bit flags
To: pellegrini pellegr...@ill.fr
2011/9/9 pellegrini pellegr
the following files are created alongside my executable:
- myexec.exe.embed.manifest
- myexec.exe.embed.manifest.res
- myexec.exe.intermediate.manifest
- myexec.exe.resource.txt
- myexec.ilk
is there a way to get rid of these files ?
thanks a lot
Eric
--
Eric Pellegrini
Calcul
Michael Wild a écrit :
On 07/22/2011 03:46 PM, pellegrini wrote:
Hello everybody,
I use CMake 2.8.4, Fortran 90 and Intel compiler to build an executable.
I read in the documentation that
RUNTIME_OUTPUT_DIRECTORY supercedes the old EXECUTABLE_OUTPUT_PATH command.
When using
identification is Intel
-- Check for working Fortran compiler: /home/pellegrini/bin/ifort
-- Check for working Fortran compiler: /home/pellegrini/bin/ifort -- works
-- Detecting Fortran compiler ABI info
CMake Error at
/home/pellegrini/Downloads/cmake-2.8.4-Linux-i386/share/cmake-2.8/Modules
2.8.0, 2.8.1, 2.82 works and
starting from 2.8.3 the ABI steps fails. I may be wrong but it seems to
be related to some addings in the version 2.8.3 and 2.8.4.
Eric
Alan W. Irwin a écrit :
On 2011-07-06 11:36+0200 pellegrini wrote:
Hello everybody,
I have troubles running cmake 2.8.4 on my
but
nothing happens:
ADD_CUSTOM_COMMAND(
TARGET crysfml
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E make_directory my_dir2
COMMAND ${CMAKE_COMMAND} -E copy_directory my_dir1 my_dir2)
Am I doing something wrong ? Any idea ?
thanks a lot
See you
Eric
--
Eric Pellegrini
Calcul
the last word.
There should be something I completely missed.
thanks a lot
see you
Eric
--
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
Grenoble, France
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http
.
Any idea ?
thanks a lot
Eric
--
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
Grenoble, France
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep
)
###
I also read that there was a bug
(http://www.cmake.org/Bug/view.php?id=4068) with CMake concerning
ignored rc files without warning.
Does my case fall in that category ?
Would you have any hint to circumvent that problem ?
thanks a lot
Eric
--
Eric Pellegrini
Calcul
works ?
any idea
thansks
Eric
--
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
Grenoble, France
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please
Eric
--
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
Grenoble, France
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check
:
On 5-10-2010 at 10:10, in message 4caadd79.7000...@ill.fr,
pellegrini
pellegr...@ill.fr wrote:
Hello everybody,
I have a library that can be built for a use in different modes
(console, window). It is made of two sets of files. The first one is
common to
the console
library?
You could also use shared libraries (DLLs), but I guess that's out of
the question for you, since you've been talking about static libraries
only.
Best regards,
Marcel Loose.
On Tue, 2010-10-05 at 10:45 +0200, pellegrini wrote:
in fact the makefile we would like to generate should
...)
set_source_files_properties(file1, file2 ... PROPERTIES COMPILE_FLAGS ...)
add_library(my_lib2, STATIC, src_files ...)
set_source_files_properties(file1, file2 ... PROPERTIES COMPILE_FLAGS ...)
does cmake sensitive to the order of these instruction ?
thank you very much
Eric
--
Eric Pellegrini
Calcul
instead of the source file properties.
Ryan
On 10/01/2010 08:27 AM, pellegrini wrote:
Hello everybody,
I would like to build two libraries that contain the same files but
with a slightly different set of compilation flags
from one library to another. This within the same makefile. I
to compile
them again for my_lib2, because the object files are already up-to-date.
I guess you'll have a better chance using target_properties, as Ryan
suggested.
HTH,
Marcel Loose.
On Fri, 2010-10-01 at 17:10 +0200, pellegrini wrote:
Hi Ryan,
Yes, that might be the solution if I wanted
to be the ones
set in the Modules/Platform/Windows-ifort.cmake cmake distribution,
as if that file was parsed instead of mine !
would you have any idea ?
thanks
Eric
--
Eric Pellegrini
Calcul Scientifique
Insitut Laue-Langevin
Grenoble, France
to be the ones
set in the Modules/Platform/Windows-ifort.cmake cmake distribution,
as if that file was parsed instead of mine ! However, when I put a
message(hello) inside my file, it appears when building the cmake files.
would you have any idea ?
thanks
Eric
--
Eric Pellegrini
Calcul
Marcel Loose a écrit :
On Wed, 2010-09-29 at 12:06 +0200, pellegrini wrote:
Hello everybody,
I would like to set my own compiler flags to compile a library using
intel fortran compiler.
To do so, I created in my Src/ directory a
Compiler/Intel-Fortran.cmake file that contains my
'lib', how cmake did find the appropriated
linker ?
thanks
Eric
--
Eric Pellegrini
Calcul Scientifique
Insitut Laue-Langevin
Grenoble, France
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com
--
Eric Pellegrini
Calcul Scientifique
Insitut Laue-Langevin
Grenoble, France
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ
to esacpe from this kind of
implementation ? is that so ugly ?
thanks
Eric
--
Eric Pellegrini
Calcul Scientifique
Insitut Laue-Langevin
Grenoble, France
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http
boss
that using CMake is the right solution ...
thanks again
Eric
On 28. Sep, 2010, at 16:08 , pellegrini wrote:
Hello everybody,
I have a library for which almost all the files should be compiled (e.g.
g95) with the same compilation flags (that I will call later
flag_debug, flag_release
-O3 -std=f2003
-funroll-loops -msse2). Am I right ?
thanks a lot
Eric
--
Eric Pellegrini
Calcul Scientifique
Insitut Laue-Langevin
Grenoble, France
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com
60 matches
Mail list logo