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
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
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:
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 looks like a
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
mou...@boufarguine.name
À: ycollette nospam ycollette.nos...@free.fr
Cc: cmake cmake@cmake.org
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
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
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 =
: Windows 32 bits: RunningX64 = ${RunningX64}'
\\\${EndIf}
)
Best regards,
YC
- Mail original -
De: ycollette nospam ycollette.nos...@free.fr
À: cmake cmake@cmake.org
Envoyé: Vendredi 20 Janvier 2012 08:31:42
Objet: [CMake] Cmake / NSIS: escape parenthesis
Hello,
I would like
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
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
with path set to intel compiler), cmake cannot
detect a linker.
YC
- Mail Original -
De: ycollette nospam ycollette.nos...@free.fr
À: cmake@cmake.org
Envoyé: Lundi 22 Novembre 2010 16h02:22 GMT +01:00 Amsterdam / Berlin / Berne /
Rome / Stockholm / Vienne
Objet: Re: [CMake] Using xilink
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
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 eric.noul...@gmail.com
À: ycollette nospam ycollette.nos...@free.fr
Cc: cmake cmake@cmake.org
Envoyé: Vendredi 26 Novembre 2010 13h35
not implemented)
SET(${RESULT} 00)
ENDIF (WIN32)
ENDMACRO (TODAY)
...
TODAY(RESULT)
message(STATUS Compilation date = ${RESULT})
YC
- Mail Original -
De: ycollette nospam ycollette.nos...@free.fr
À: cmake cmake@cmake.org
Envoyé: Vendredi 26 Novembre 2010 14h09:48 GMT +01:00
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
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
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)
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
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
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 dlrd...@aol.com
À: ycollette nospam ycollette.nos...@free.fr
Cc: cmake@cmake.org
Envoyé
What about a new -help command: --help-properties ?
Do I fill a bug report for that ?
YC
- Mail original -
De: David Cole dlrd...@aol.com
À: ycollette nospam ycollette.nos...@free.fr
Cc: cmake@cmake.org
Envoyé: Mercredi 30 Janvier 2013 16:53:32
Objet: Re: [CMake] ctest and properties
T
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 leif.wa...@gmail.com
À: ycollette nospam ycollette.nos...@free.fr
Cc: cmake@cmake.org
Envoyé: Jeudi 31 Janvier 2013 13:03:14
Objet: Re: [CMake] ctest
: ycollette nospam ycollette.nos...@free.fr
À: cmake cmake@cmake.org
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 in a cmake
variable.
Best regards,
YC
OK, that's that simple ... Thanks a lot.
Best regards,
YC
- Mail original -
De: Sören Textor [Ditec-GmbH] s.tex...@ditec-gmbh.de
À: 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
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 eric.noul...@gmail.com
À: Yann COLLETTE ycollette.nos...@free.fr
Cc: cmake cmake@cmake.org
Envoyé: Mercredi 31
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
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:
NamedMeasurement name=my measure
type=numeric/doubleValue0.33/Value/NamedMeasurement
- DOESN'T WORK
DartMeasurement ...0.1/DartMeasurement - WORK (I just removed the Log
message - date - part)
YC
- Mail original -
De: David Cole dlrd...@aol.com
À: ycollette nospam ycollette.nos...@free.fr, cmake@cmake.org
Envoyé: Mercredi 30 Juillet 2014 12:48:23
Objet: Re: [CMake] Ctest
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 - DartMeasurement ...0.1/DartMeasurement
Do I fill a bug report for this ?
YC
- Mail original -
De: ycollette nospam
OK, I will try to make a patch.
YC
- Mail original -
De: David Cole dlrd...@aol.com
À: ycollette nospam ycollette.nos...@free.fr
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 documented
Hello,
I make a patch (against maint branch) to allow detection of:
...DartMeasurement../DartMeasurement...
Instead of only:
DartMeasurement../DartMeasurement
Where can I add some documentation related to this ?
Best regards,
YC
- Mail original -
De: 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
--
OK, thanks for the informations. It's a lot more clear now.
YC
- Mail original -
De: David Cole dlrd...@aol.com
À: ycollette nospam ycollette.nos...@free.fr, 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
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
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
I forgot to say that the cmake version installed on macos is 3.4.3.
- Mail original -
De: "ycollette nospam" <ycollette.nos...@free.fr>
À: "cmake" <cmake@cmake.org>
Envoyé: Lundi 27 Juin 2016 11:56:14
Objet: [CMake] CTest periodic freeze under MacOS
Hel
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
uot;<CMAKE_${lang}_COMPILER>
-S -o ")
So, as you can see, on Fedora 25, there are no -O3 flags by default.
YC
- Mail original -
De: "Dan Liew" <d...@su-root.co.uk>
À: "ycollette nospam" <ycollette.nos...@free.fr>
Cc: "cmake" <
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" <chuck.atk...@kit
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
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
Thanks a lot, it works fine.
- Mail original -
De: "Nils Gladitz" <nilsglad...@gmail.com>
À: "ycollette nospam" <ycollette.nos...@free.fr>
Cc: "cmake" <cmake@cmake.org>
Envoyé: Lundi 26 Juin 2017 12:50:42
Objet: Re: [CMake] Warn
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
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
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
46 matches
Mail list logo