[CMake] Using xilink

2010-11-21 Thread ycollette . nospam
Hello, I have a fortran project and I use the fortran intel compiler under windows XP 64 bits with cmake 2.8.2. I added include(CMakeDetermineFortranCompiler) in my project and the intel fortran compiler is correctly detected. But the intel linker is not correctly detected. Only the microsoft li

Re: [CMake] Using xilink

2010-11-22 Thread ycollette . nospam
Hello, I have added set_property(TARGET Arc3D PROPERTY INTERPROCEDURAL_OPTIMIZATION 1) in my CMakeLists.txt. I have removed the include(CMakeDetermineFortranCompiler) from my CMakeLists.txt. Now, the intel fortran compiler is still correctly detected, but it seems that the microsoft visual l

Re: [CMake] Using xilink

2010-11-22 Thread ycollette . nospam
nsole with path set to intel compiler), cmake cannot detect a linker. YC - Mail Original - De: "ycollette nospam" À: cmake@cmake.org Envoyé: Lundi 22 Novembre 2010 16h02:22 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [CMake] Using xilink

[CMake] How to get the current date

2010-11-26 Thread ycollette . nospam
Hello, Is it possible in a CMakeLists.txt file to get the current date (under linux and windows) ? I would like to store this date in a cmake variable so as to write it in a .h file. YC ___ Powered by www.kitware.com Visit other Kitware open-source p

Re: [CMake] How to get the current date

2010-11-26 Thread ycollette . nospam
Thanks for the link: http://www.cmake.org/pipermail/cmake/2009-February/027014.html seems to answer my question. YC - Mail Original - De: "Eric Noulard" À: "ycollette nospam" Cc: "cmake" Envoyé: Vendredi 26 Novembre 2010 13h35:30 GMT +01:00 Amst

Re: [CMake] How to get the current date

2010-11-26 Thread ycollette . nospam
ot; "\\1/\\2/\\3" ${RESULT} ${${RESULT}}) ELSE (WIN32) MESSAGE(SEND_ERROR "date not implemented") SET(${RESULT} 00) ENDIF (WIN32) ENDMACRO (TODAY) ... TODAY(RESULT) message(STATUS "Compilation date = ${RESULT}") YC - Mail Original

[CMake] Detecting fmpich

2011-01-06 Thread ycollette . nospam
Hello, Is it possible to detect fmpich using find_package(MPI) ? I haven't found any solution yet ... Best regards, YC ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Pleas

[CMake] packaging after success testing

2011-01-07 Thread ycollette . nospam
Hello, A while ago, a question similar to this one was posted, but no answer was given. Is it possible to perform the packaging part of a project only if the testing part has been successfully performed ? Best regards, YC ___ Powered by www.kitware.co

[CMake] pb with cmake and intel fortran 11.1

2011-01-20 Thread ycollette . nospam
Hello, I meet some problems to run cmake with intel fortran 11.1 + visual 2008 under windows XP 64 bits. I can compile a fortran project under visual, but cmake is not able to detect ifort (I run cmake from the visual dos console). The log of a cmake run is joined to this mail. I wanted to open

[CMake] link against a library under windows

2011-01-30 Thread ycollette . nospam
Hello, I would like to link against several .lib windows libraries. So, I set up the link paths via the following commands: if (MKL_FOUND) set(LINK_PATHS ${LINK_PATHS} "${mkl_solver_PATH}") endif (MKL_FOUND) if (MPI_FOUND) set(LINK_PATHS ${LINK_PATHS} "${MPI_BASE_PATH}/lib") endif (MPI_FOUND)

[CMake] Windows: install conditionnaly an executable

2011-09-19 Thread ycollette . nospam
Hello, I would like to do this kind of installation: My package contains several executable with a version number by application - first install: install all the application and write a version number into the windows registry - update install: install only the application which have a greater

[CMake] Custom install target

2011-10-05 Thread ycollette . nospam
Hello, I would like to create a custom install target: install-update The things done by this target are: - change CMAKE_INSTALL_PREFIX to a specific directory: CMAKE_BINARY_PREFIX/PROJECT_NAME-REVISION_NUMBER - run "make install" I don't know how to launch a defined target from within cmake. Is

[CMake] cpack problem

2011-10-27 Thread ycollette . nospam
Hello, I've built an installer using cmake / cpack / nsis. I work under windpws XP 64 bits. I first built a "monolithic" installer and everything is fine. My installer have several components. Now, I build a "network" installation. So, I added: cpack_configure_downloads(ftp://ftp.myftpsite.fr

Re: [CMake] cpack problem

2011-10-27 Thread ycollette . nospam
> What do you mean by "hidden" ? > They do have the "hidden" attribute set? Yes, all the files have the hidden attribute. > Does a component installer WITHOUT ZipDLL and cpack_configure_downloads > works ok? Yes, that's what I wanted to say by "monolithic" install works fine. > This one lo

[CMake] cpack ZipDLL / Nsis installer problem.

2011-10-28 Thread ycollette . nospam
Hello, I found a work around for my problem related to NSIS / ZipDLL. I rebuild the ZipDLL plugin and changed the OpenFile method: I force the use of SH_DENYNO. I still don't know why this is happening, but I am digging ... int ZipPlatform::OpenFile(LPCTSTR lpszFileName, UINT iMode, int iShareM

[CMake] Visual Studio: build a 32 bit application under windows 64 bits

2011-11-04 Thread ycollette . nospam
Hello, I've got a big project using cmake. Several applications are build as native 64 bits applications, but I need to build one application as a 32 bit application. cmake is run from the Visual Studio 64 console. Is it possible to force a 32 compilation using cmake ? Best regards, YC -- Pow

Re: [CMake] Visual Studio: build a 32 bit application under windows 64 bits

2011-11-04 Thread ycollette . nospam
oufarguine" À: "ycollette nospam" Cc: "cmake" Envoyé: Vendredi 4 Novembre 2011 13h24:43 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [CMake] Visual Studio: build a 32 bit application under windows 64 bits On Fri, Nov 4, 2011 at 8:37 AM,

[CMake] CTest periodic freeze under MacOS

2016-06-27 Thread ycollette . nospam
Hello, I don't really know if it's a cmake / ctest bug but when I launch tests. I added a timeout limit for each tests. This timeout is set to 120 sec. Some tests fail after a timeout. And in the log file, the timemout has a different value. For example, it can be 280 seconds. This occurs for on

Re: [CMake] CTest periodic freeze under MacOS

2016-06-27 Thread ycollette . nospam
I forgot to say that the cmake version installed on macos is 3.4.3. - Mail original - De: "ycollette nospam" À: "cmake" Envoyé: Lundi 27 Juin 2016 11:56:14 Objet: [CMake] CTest periodic freeze under MacOS Hello, I don't really know if it's a cmake / cte

[CMake] Using cpack on an install directory

2016-11-18 Thread ycollette . nospam
Hello, I would like to know if it's possible to use cpack on an install directory (without CMakeLists.txt file). I've got a "complicated" build: - one build in 64 bits - one build in 32 bits - one with license check - one without Every thing is installed in an install directory (64 bits files we

Re: [CMake] Using cpack on an install directory

2016-11-18 Thread ycollette . nospam
Thanks a lot, I will try this. YC - Mail original - De: "Eric Noulard" À: "Yann COLLETTE" Cc: "cmake" Envoyé: Vendredi 18 Novembre 2016 14:10:41 Objet: Re: [CMake] Using cpack on an install directory 2016-11-18 13:35 GMT+01:00 < ycollette.nos...@free.fr > : Hello, I would li

[CMake] Default CMAKE_C_FLAGS value by OS

2017-02-16 Thread ycollette . nospam
Hello, My question is related to CMAKE_*_FLAGS. I've got a project under linux fedora 24 and, in release mode, this project compiles with the -O2 flag. But when I switched to other platform (ubuntu, fedora 16 - I now this one is quite old but I need to compile on this platform), this default opt

Re: [CMake] Default CMAKE_C_FLAGS value by OS

2017-02-16 Thread ycollette . nospam
So, as you can see, on Fedora 25, there are no -O3 flags by default. YC - Mail original - De: "Dan Liew" À: "ycollette nospam" Cc: "cmake" Envoyé: Jeudi 16 Février 2017 10:26:01 Objet: Re: [CMake] Default CMAKE_C_FLAGS value by OS Hi, On 16 February 2017 at

Re: [CMake] Default CMAKE_C_FLAGS value by OS

2017-02-16 Thread ycollette . nospam
INFO "${CMAKE_C_FLAGS_RELWITHDEBINFO}") string(REPLACE "${flag_orig}" "${flag_dest}" CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO}") endmacro() Best regards, YC - Mail original - De: "Chuck Atkins" À: "ycollett

[CMake] Warning: Argument not separated from preceding token by whitespace.

2017-06-26 Thread ycollette . nospam
Hello, I've got the following code in a cmake file: 109 add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/tmp-pcode-matlab/knitromatlab_fsolve.p 110 ${CMAKE_BINARY_DIR}/tmp-pcode-matlab/knitromatlab_lsqnonlin.p 111 ${CMAKE_BINARY_DIR}/tmp-pcode-m

Re: [CMake] Warning: Argument not separated from preceding token by whitespace.

2017-06-26 Thread ycollette . nospam
Thanks a lot, it works fine. - Mail original - De: "Nils Gladitz" À: "ycollette nospam" Cc: "cmake" Envoyé: Lundi 26 Juin 2017 12:50:42 Objet: Re: [CMake] Warning: Argument not separated from preceding token by whitespace. On Mon, Jun 26, 2017 at 10:33

[CMake] ExternalProject and Visual studio solutions

2017-08-24 Thread ycollette . nospam
Hello, I use cmake 3.8.2 with visual studio 2013 64 bits. I wanted to compile a thirdparty library using ExternalProject When I do this, I meet errors: cmake is trying to read the download timestamp in the wrong directory: the thirdparty library id build in ${CMAKE_BINARY_DIR}/_dep/CoinMP-1.8.

[CMake] Ctest and AND operator on labels

2017-09-04 Thread ycollette . nospam
Hello, I would like to launch tests with 2 specific labels: LEVEL1 and NEW To launch tests with several labels and the OR logical operator, you can do that: cmake -L "(LEVEL1|NEW)" But how can you perform the AND operator ? Best regards, YC -- Powered by www.kitware.com Please keep messages

Re: [CMake] CPack : Embedding other installer (*.msi, *.exe)

2012-01-11 Thread ycollette . nospam
Hello, With your cmake: embed the installers in your project, install them in a tmp dir install(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/redistributable/win64/vcredist_2005_sp1_x64.exe DESTINATION tmp) Now, add the following specific NSIS commands: list(APPEND CPACK_

Re: [CMake] Bug fix requests for the *next* release of CMake...

2012-01-11 Thread ycollette . nospam
And this one maybe: http://public.kitware.com/Bug/view.php?id=12367 It should be nice to have this one corrected, for the aesthetic of the NSIS installer :) Best regards, YC - Mail original - De: "Patrick Spendrin" À: cmake@cmake.org Envoyé: Mercredi 11 Janvier 2012 13:14:21 Objet: Re

[CMake] Cmake / NSIS: escape parenthesis

2012-01-19 Thread ycollette . nospam
Hello, I would like to add the following statements in my nsis installer: list(APPEND CPACK_NSIS_EXTRA_INSTALL_COMMANDS " ${If} ${RunningX64} DetailPrint 'DEBUG: Windows 64 bits: RunningX64 = ${RunningX64}' ${Else} DetailPrint 'DEBUG: Windows 32 bits: RunningX64 =

Re: [CMake] Cmake / NSIS: escape parenthesis

2012-01-19 Thread ycollette . nospam
ailPrint 'DEBUG: Windows 32 bits: RunningX64 = ${RunningX64}' \\\${EndIf} ") Best regards, YC - Mail original - De: "ycollette nospam" À: "cmake" Envoyé: Vendredi 20 Janvier 2012 08:31:42 Objet: [CMake] Cmake / NSIS: escape parenthesis Hello

[CMake] Ctest and setting variables via command line

2015-06-03 Thread ycollette . nospam
Hello, With the current version of CTest.cmake, it's not possible to set the CTEST_DROP_SITE and some others variables via a cmake command line. The only solution is to add a CTestConfig.cmake file is the source directory. What about changing this part of CTest.cmake: if(EXISTS "${PROJECT_SOU

[CMake] ctest and properties

2013-01-30 Thread ycollette . nospam
Hello, I am currently working with ctest. I am trying to get, via the command line help, all the properties available for TEST. For example: set_properties(TEST test_1 PROPERTY ??? test_2) If I do a ctest --help-command set_property, only the command is detailed, but no properties are displayed

Re: [CMake] ctest and properties

2013-01-30 Thread ycollette . nospam
Thanks for the answer. In fact, the information I am looking for is located in cmake-2.8.10/2/Source/cmTest.cxx in the method void cmTest::DefineProperties(cmake *cm) line 98. I really don't know how to get this help from command line. I know that this information is context dependent (whether yo

Re: [CMake] ctest and properties

2013-01-30 Thread ycollette . nospam
Yes, this link is really valuable. I add it in my book mark. I didn't find it when I went on the website (maybe a mistake from my side ...). Thanks a lot. YC - Mail original - De: "David Cole" À: "ycollette nospam" Cc: cmake@cmake.org Envoyé: Mercredi 30 Ja

Re: [CMake] ctest and properties

2013-01-30 Thread ycollette . nospam
What about a new -help command: --help-properties ? Do I fill a bug report for that ? YC - Mail original - De: "David Cole" À: "ycollette nospam" Cc: cmake@cmake.org Envoyé: Mercredi 30 Janvier 2013 16:53:32 Objet: Re: [CMake] ctest and properties T he best test

Re: [CMake] ctest and properties

2013-01-31 Thread ycollette . nospam
7;ve got a huge list of property and I am not able to see which one is used in tests and which one is used on files. YC - Mail original - De: "Leif Walsh" À: "ycollette nospam" Cc: cmake@cmake.org Envoyé: Jeudi 31 Janvier 2013 13:03:14 Objet: Re: [CMake] ctest and p

Re: [CMake] Get a rule name

2013-06-20 Thread ycollette . nospam
l - De: "ycollette nospam" À: "cmake" Envoyé: Jeudi 20 Juin 2013 10:17:20 Objet: [CMake] Get a rule name Hello I would like to know if it's possible to get a rule like. For example, if I do a "make clean", I would like to get "clean"

Re: [CMake] Disable parallel build under windows

2013-06-26 Thread ycollette . nospam
OK, that's that simple ... Thanks a lot. Best regards, YC - Mail original - De: "Sören Textor [Ditec-GmbH]" À: cmake@cmake.org Envoyé: Mercredi 26 Juin 2013 16:33:08 Objet: Re: [CMake] Disable parallel build under windows just remove the flag /MP from CMAKE_CXX_FLAGS Am 26.06.2013

Re: [CMake] starting cpack and select the generator for CPACK

2013-07-31 Thread ycollette . nospam
Thanks, it works fine for the packaging. And thanks too for the ant link. I think I will switch to the ant exec task. Best regards, YC - Mail original - De: "Eric Noulard" À: "Yann COLLETTE" Cc: "cmake" Envoyé: Mercredi 31 Juillet 2013 17:19:17 Objet: Re: [CMake] starting cpack and se

[CMake] cmake and java + eclipse

2013-09-27 Thread ycollette . nospam
Hello, I used cmake to build a java project. It worked fine. Now, I wanted to build an eclipse project via the -G "Eclipse CDT4 - Unix Makefiles". The generated project seems to be a C/C++ projecty which will build Java files. Is it possible to build a "pure" Java project using cmake ? Best reg

[CMake] Ctest and custom measurements

2014-07-29 Thread ycollette . nospam
Hello, I've got an executable built using cmake. I use ctest to test my executable. Each time the executable is executed, a log file on std::cout is produced. I the log file, I added the following XML tags: 0.33 I don't see these named measurements in the xml file produced by ctest -D NighlyS

Re: [CMake] Ctest and custom measurements

2014-07-30 Thread ycollette . nospam
message - date - " part) YC - Mail original - De: "David Cole" À: "ycollette nospam" , cmake@cmake.org Envoyé: Mercredi 30 Juillet 2014 12:48:23 Objet: Re: [CMake] Ctest and custom measurements Unfortunately, I always have to resort to source code analysis to fig

Re: [CMake] Ctest and custom measurements

2014-07-30 Thread ycollette . nospam
By the way, this should be better documented in the cmake / ctest documentation. And we should be allowed to add measurements like these in the log: Log message - date - 0.1 Do I fill a bug report for this ? YC - Mail original - De: "ycollette nospam" À: "David C

Re: [CMake] Ctest and custom measurements

2014-07-30 Thread ycollette . nospam
OK, I will try to make a patch. YC - Mail original - De: "David Cole" À: "ycollette nospam" Cc: cmake@cmake.org Envoyé: Mercredi 30 Juillet 2014 17:42:07 Objet: Re: [CMake] Ctest and custom measurements > By the way, this should be better document

Re: [CMake] Ctest and custom measurements

2014-08-06 Thread ycollette . nospam
Hello, I make a patch (against maint branch) to allow detection of: . Instead of only: ... Where can I add some documentation related to this ? Best regards, YC - Mail original - De: "ycollette nospam" À: "David Cole" Cc: cmake@cmake.org Envoyé: Mercred

[CMake] ctest and tracks

2014-08-14 Thread ycollette . nospam
Hello, I've have configured a project to use dash to save test results. On thing is not clear in the ctest documentation: what is the use of the --track option ? Does it allow to create a new category (like Weekly) and submit the test results to this new category ? Best regards, YC -- Powere

Re: [CMake] ctest and tracks

2014-08-14 Thread ycollette . nospam
OK, thanks for the informations. It's a lot more clear now. YC - Mail original - De: "David Cole" À: "ycollette nospam" , cmake@cmake.org Envoyé: Jeudi 14 Août 2014 13:33:01 Objet: Re: [CMake] ctest and tracks --track is the same as the TRACK argument to