I found out it's not TARGETS, but DESTINATION that matters for
CPACK_NSIS_MODIFY_PATH to work. When I set DESTINATION to bin rather
than libW32, it's added to Windows PATH without a problem. That's really
strange.
___
Powered by www.kitware.com
Visit
On Fri, Apr 24, 2009 at 8:01 PM, Pau Garcia i Quiles
wrote:
> On Fri, Apr 24, 2009 at 7:13 PM, Miguel A. Figueroa-Villanueva
> wrote:
> > On Fri, Apr 24, 2009 at 6:14 AM, Boudewijn Rempt wrote:
> >> Has anyone by any chance already done a CMakeLists.txt file for
> GraphicsMagick
> >> or ImageMagi
On Fri, Apr 24, 2009 at 7:13 PM, Miguel A. Figueroa-Villanueva
wrote:
> On Fri, Apr 24, 2009 at 6:14 AM, Boudewijn Rempt wrote:
>> Has anyone by any chance already done a CMakeLists.txt file for
>> GraphicsMagick
>> or ImageMagick? I'd like to integrate either in the build of our application,
>>
Hi Bill, James,
Easier than I expected. If CPACK_RESOURCE_FILE_LICENSE is not defined,
set CPACK_RESOURCE_FILE_LICENSE_PROVIDED to 0, add a !if macro to the NSIS
installer script and happiness ensues.
Here's the patch, the change worked in my installed version of CMake, but
I didn't run the
On Friday 24 April 2009, Darren Weber wrote:
> In the cmake FAQ, it indicates that cmake will use the DESTDIR on the
> command line as the root of the install path.
> http://www.vtk.org/Wiki/CMake_FAQ (item 8.1, as of April 2009)
>
> What is the level of precedence for this variable setting, with r
In the cmake FAQ, it indicates that cmake will use the DESTDIR on the
command line as the root of the install path.
http://www.vtk.org/Wiki/CMake_FAQ (item 8.1, as of April 2009)
What is the level of precedence for this variable setting, with regard to
cache values that are set at the time of cmak
On Friday 24 April 2009, Theodore Papadopoulo wrote:
> I'm trying to use cmake for one of my projects.
>
> As an experience, I have tried to mimick the gnu make check as indicated
> in the web pages,
Where ?
> but decided
> for some reason to keep the "test" target name. But when, I issuing a
>
I'm trying to use cmake for one of my projects.
As an experience, I have tried to mimick the gnu make check as indicated
in the web pages, but decided
for some reason to keep the "test" target name. But when, I issuing a
ADD_DEPENDENCIES(test XXX)
cmake tells me that there is no dependency name
On Friday 24 April 2009, zhang wrote:
> The default format of the obj's name is like this *.c.obj or *.cpp.obj,
> etc.
> I want the source-file-type in the name got rid of. What can I do in
> Cmake.
>
> I have no choice if some linkers like the Digitalmars's can't handle
> these names with this for
On Fri, Apr 24, 2009 at 6:14 AM, Boudewijn Rempt wrote:
> Has anyone by any chance already done a CMakeLists.txt file for GraphicsMagick
> or ImageMagick? I'd like to integrate either in the build of our application,
> instead of relying on installed packages, but I'd hate to do duplicate work...
On Friday 24 April 2009, Nikolay Mitev wrote:
> Hi
>
> I'm trying to create a rule which will only run the C++ preprocessor on a
> file, without compiling it. I know about the make file.i rule, but if
> file.cpp is not a dependency of some target it does not get generated.
> Setting header_file pro
The default format of the obj's name is like this *.c.obj or *.cpp.obj,
etc.
I want the source-file-type in the name got rid of. What can I do in
Cmake.
I have no choice if some linkers like the Digitalmars's can't handle
these names with this format.
Thanks for any help.
--
___
COMPILE_FLAGS in SET_TARGET_PROPERTIES will allow you to set per-target compile
flags and definitions.
Denis
> I am building my library for two different processors arm7
> and arm9.
> devkitArm requeres ARM7 or ARM9 macroses should be defined
> when
> building for any processor. I tried to wr
James Bigler wrote:
On Fri, Apr 24, 2009 at 7:07 AM, Daniel Blezek wrote:
Hi,
I’m not sure if there is a CPack-specific mailing list, direct me if I’m
wrong.
I find the empty license screen a little annoying in the NSIS installer
for windows. This occurs when you don’t specify a license
On Fri, Apr 24, 2009 at 11:08:13AM -0500, Peterson, Isaac F. wrote:
> I've tried all sorts of different combinations of slashes and quotes without
> success.
Bummer. You might look at the implementation of ${CMAKE_CFG_INTDIR}
since it knows how to do something similar to what you want. You could
On Fri, Apr 24, 2009 at 7:07 AM, Daniel Blezek wrote:
> Hi,
>
> I’m not sure if there is a CPack-specific mailing list, direct me if I’m
> wrong.
>
> I find the empty license screen a little annoying in the NSIS installer
> for windows. This occurs when you don’t specify a license file for yo
I've tried all sorts of different combinations of slashes and quotes without
success.
Does anyone know how to tell cmake NOT to prepend the ..\..\ProjName in front
of the INCLUDE_DIRECTORIES folder list?
If I put C:/folder, it does not prepend the relative path. How does cmake
decide which to
On Fri, Apr 24, 2009 at 5:42 PM, Igor Karatayev wrote:
> Hello.
>
> I am building my library for two different processors arm7 and arm9.
> devkitArm requeres ARM7 or ARM9 macroses should be defined when
> building for any processor. I tried to write
>
> include_directories(./)
>
> set(SOURCES
>
Hello.
I am building my library for two different processors arm7 and arm9.
devkitArm requeres ARM7 or ARM9 macroses should be defined when
building for any processor. I tried to write
include_directories(./)
set(SOURCES
src/library.cpp
)
add_definitions(-DARM7)
add_library(sandbox-
On Fri, Apr 24, 2009 at 11:32 AM, mahshid farzinfar
wrote:
>
> Visual Studio 2008.
>
After the configure step. Did you select generate?
John
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/
On Fri, Apr 24, 2009 at 10:40:51AM +0200, Jonatan Bijl wrote:
> #Generates a swig library.
>
> function(compile_directory_to_swig DIRECTORY_PATH)
>
> if(NOT SWIG_FOUND)
>
> find_package(SWIG REQUIRED)
>
> include(${SWIG_USE_FILE})
>
> set(SWIG_CXX_EXTENSION "cpp")
>
Andreas,
What you will have to do is for every target, set the property prefix to
"../". There is no other way I have found to do this.
Example:
ADD_EXECUTABLE( ${PROJECT_NAME}
${SRCS}
)
SET_TARGET_PROPERTIES( ${PROJECT_NAME} PROPERTIES PREFIX "../" )
Keith
From: cmake-boun..
Ping
On Thu, Apr 23, 2009 at 9:51 AM, James Bigler wrote:
> What does IMPLICIT_DEPENDS in add_custom_command actually do?
>
> Why is it only available to Makefile generators?
>
> Thanks,
> James
>
___
Powered by www.kitware.com
Visit other Kitware open
Hi,
I¹m not sure if there is a CPack-specific mailing list, direct me if I¹m
wrong.
I find the empty license screen a little annoying in the NSIS installer
for windows. This occurs when you don¹t specify a license file for your
installer. CPack generates one for you, but a better behavior w
I use a hack like this:
SET_TARGET_PROPERTIES( PROPERTIES RUNTIME_OUTPUT_DIRECTORY
)
SET_TARGET_PROPERTIES( PROPERTIES LIBRARY_OUTPUT_DIRECTORY
)
IF(MSVC_IDE)
SET_TARGET_PROPERTIES( PROPERTIES PREFIX "../")
or if you prefer
SET_TARGET_PROPERTIES( PROPERTIES
Dear CMake users,
I would like to set the output path of my library to
C:/name1/Debug/name2/ (debug configuration) and
C:/name1/Release/name2/ (release configuration).
If I use
SET(LIBRARY_OUTPUT_PATH D:/name1/${CMAKE_CFG_INTDIR}/name2/)
an additional Debug / Release is added at the en
Hi
I'm trying to create a rule which will only run the C++ preprocessor on a
file, without compiling it. I know about the make file.i rule, but if
file.cpp is not a dependency of some target it does not get generated.
Setting header_file property doesn't work either. Adding a custom rule
works, bu
Has anyone by any chance already done a CMakeLists.txt file for GraphicsMagick
or ImageMagick? I'd like to integrate either in the build of our application,
instead of relying on installed packages, but I'd hate to do duplicate work...
Boudewijn
___
Po
Alexander Neundorf schrieb:
On Tuesday 21 April 2009, Ralf Habacker wrote:
Hi,
for a specific cmake project on windows there was 7zip cpack support
requested. The appended patch adds those support to cpack.
It works like the zip generator with one extension: It is possible to
run 7z with ad
I'm trying to generate a java-c++ interface using swig. I use the
following function to generate java and C++ wrappers using swig:
#Generates a swig library.
function(compile_directory_to_swig DIRECTORY_PATH)
if(NOT SWIG_FOUND)
find_package(SWIG REQUIRED)
include(${SWIG_
On Thu, Apr 23, 2009 at 6:50 PM, James Bigler wrote:
> On Thu, Apr 23, 2009 at 9:39 AM, James Bigler wrote:
>
>> On Thu, Apr 23, 2009 at 6:50 AM, Nikolay Mitev wrote:
>>
>>> [posting to the list, since I accidentally replied only to Sergey]
>>> On Thu, Apr 23, 2009 at 1:48 PM, Sergey Rudchenko <
31 matches
Mail list logo