Hi Doug
Ok. Works now I've upgraded to version 2.8.8 from 2.8.0.
I was reaching the conclusion that components were more suited to
installers such NSIS - but with a lot of confusion.
Your latest example is elegant simplicity - it should go on the wiki.
Thanks so much for clearing things up.
I've update my example code here to do this; it results in much easier
to configure individual packages than trying to force the components
(never designed for independent packages from one project), and is
extendable to support other generators that do not support components.
https://github.com/s
Ok - not what I get on ubuntu LTS 10.4. Perhaps I need the latest version?
( I ran the original files with just the missing line (?)
"install(CPack)" added).
$ cmake -version
cmake version 2.8.0
$ ls
$ cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
--
Woops; didn't mean to respond off list.
Anyway, basically my suggestion is as part of your build generate a folder like:
${CMAKE_CURRENT_BINARY_DIR}/deploy-package-XXX/
And copy all the file you want to deploy as part of your package into
that directory.
Then generate a CMakeLists.txt file with
I've been through this and experimented with samples kindly provided by
another user. Nothing works for debian packaging. What I think will work
is a "workaround" from another user in 2008
_http://www.cmake.org/pipermail/cmake/2008-April/020967.html_, where I
generate my own CPackConfig-runti
After I upgraded to OS X 10.8, I recently upgraded my CMake version to 2.8.8.
I can build CMake projects if I use "Unix Makefiles" as a generator, but if I
use the Xcode generator, I get the following error:
The C compiler identification is GNU 4.2.1
The CXX compiler identification is GNU 4.2.
On 2012 Aug 08, at 07:52, Bill Hoffman wrote:
> On 8/8/2012 1:32 AM, Jerry Krinock wrote:
>> Upon upgrading to CMake 2.8.8 and Mac OS X 10.8, CMake crashes raises an
>> exception and crashes repeatably.
> 1. Does the current RC have this issue?
Thank you, Bill. I don't know.
> 2. Is the thin
Hi,
trying to build vtk-5.10.0-1 with cygwin cmake-2.8.7,
cmake crashes building vtkUnicodeCaseFoldData.h
$ cmake -P vtkUnicodeString.cmake
Aborted (core dumped)
leaving an almost empty
$ cat vtkUnicodeCaseFoldData.h
// Generated file, do not edit by hand!
static vtkUnicodeString::value_type
On Wednesday 08 August 2012, Alexander Broekhuis wrote:
> Hi
>
> > No, you are not missing something.
> >
> > It seems the Eclipse project generator needs some special handling for
> > OSX.
> >
> > Is this the maybe same issue as this one ?
> >
> > http://public.kitware.com/Bug/view.php?id=125
Hi
>
> No, you are not missing something.
>
> It seems the Eclipse project generator needs some special handling for OSX.
>
> Is this the maybe same issue as this one ?
>
> http://public.kitware.com/Bug/view.php?id=12579
>
>
>
No, I don't have any "distant" directories. My setup is like:
root/CM
Hi Alexander,
On Wednesday 08 August 2012, Alexander Broekhuis wrote:
> Hi all,
>
> I use the Eclipse CDT4 generator to generate unix makefiles on OSX.
> Generation works without any errors, but in the generated files there are
> some errors.
>
> There are 2 paths in the .cproject file incorrect
Hi.
I have got four CMake-projects: project1, project2, project3 and project4.
Each project is in its own directory and these directories are parallel.
Project2 is dependent on project1, project3 is dependent on project1 and
project2. Project4 is dependent on project1 and project3.
How can I inc
Oops, my bad. Apologies. Fixed now.
Michael
On 08/08/2012 01:04 PM, Eric Noulard wrote:
> 2012/8/8 Nico Schlömer :
>> Hi,
>>
>> I just looked at
>> http://www.cmake.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmake_file
>> to learn about exporting build information to the installation,
2012/8/8 Nico Schlömer :
>> see:
>> cmake --help-module CMakePackageConfigHelpers
>
> This gives
>
> $ cmake --help-module CMakePackageConfigHelpers
> cmake version 2.8.7
> Argument "CMakePackageConfigHelpers" to --help-module is not a CMake module.
This has been added in 2.8.8.
> on my system.
>
Hi all,
I use the Eclipse CDT4 generator to generate unix makefiles on OSX.
Generation works without any errors, but in the generated files there are
some errors.
There are 2 paths in the .cproject file incorrect:
Changing these (remove the (framework directory) part) makes the project
files
> see:
> cmake --help-module CMakePackageConfigHelpers
This gives
$ cmake --help-module CMakePackageConfigHelpers
cmake version 2.8.7
Argument "CMakePackageConfigHelpers" to --help-module is not a CMake module.
on my system.
I understand now that ${INSTALL_DATA_DIR} is a variable I'll just have
On 8/8/2012 1:32 AM, Jerry Krinock wrote:
Upon upgrading to CMake 2.8.8 and Mac OS X 10.8, CMake crashes raises an
exception and crashes repeatably.
1. Does the current RC have this issue?
2. Is the thing you are compiling open source? Can you give
instructions on how to build and reproduce t
Problem fixed. Thanks :)
On Wed, Aug 8, 2012 at 3:35 PM, Nick Overdijk wrote:
> No, as far as I know you need to specify the components for boost always.
> I know of some find_boost that just put everything in there when you didn't
> name components, but as a rule, just specifiy the components.
No, as far as I know you need to specify the components for boost always. I
know of some find_boost that just put everything in there when you didn't
name components, but as a rule, just specifiy the components. ;-)
On Wed, Aug 8, 2012 at 1:29 PM, Sumit Adhikari wrote:
> Thanks for the reply. But
I apparently fixed the problem by using add_dependencies() instead of
target_link_libraries() ...
Klaim / Joel Lamotte
--
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 F
Thanks for the reply. But is this is a Bug ?
Regards,
Sumit
On Wed, Aug 8, 2012 at 1:28 PM, Nick Overdijk wrote:
> Try again with this example:
>
>
> http://stackoverflow.com/questions/3897839/how-to-link-c-program-with-boost-using-cmake
>
>
> On 2012-08-08, at 12:52:06 , Sumit Adhikari wrote:
Try again with this example:
http://stackoverflow.com/questions/3897839/how-to-link-c-program-with-boost-using-cmake
On 2012-08-08, at 12:52:06 , Sumit Adhikari wrote:
> I am searching boost like as follows :
>
> # Boost Library Search
> find_package (Boost)
> if (Boost_FOUND)
> include_dire
2012/8/8 Alexander Broekhuis :
> Hi all,
>
> Way back in 2007 a request/patch has been mailed to make the installation
> from the command line use the CMAKE_INSTALL_COMPONENT:
> http://www.cmake.org/pipermail/cmake/2007-September/016235.html
>
> Is something like this available in CMake now? I am r
2012/8/8 Nico Schlömer :
> Hi,
>
> I just looked at
> http://www.cmake.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmake_file
> to learn about exporting build information to the installation, and
> started off by copying-and-pasting the contents of the tutorial to my
> own project. It do
I am searching boost like as follows :
# Boost Library Search
find_package (Boost)
if (Boost_FOUND)
include_directories(${Boost_INCLUDE_DIRS})
link_directories(${Boost_LIBRARY_DIRS})
set(LIBS ${LIBS} ${Boost_LIBRARIES})
else()
message(FATAL_ERROR "Boost Not Found")
endif (Boost_FOUND)
I
Hi all,
Way back in 2007 a request/patch has been mailed to make the installation
from the command line use the CMAKE_INSTALL_COMPONENT:
http://www.cmake.org/pipermail/cmake/2007-September/016235.html
Is something like this available in CMake now? I am running into the same
problem, and would lov
Am 2012-08-08 10:15, schrieb Sumit Adhikari:
Hi,
I am new to cmake. Is there any way to change the name of the
directory CMakeFiles ?
No. But that question probably means you are building in source. Don't.
Clean your source directory from the files that CMake generated (i.e.
make clean, rm -
Hi,
I just looked at
http://www.cmake.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmake_file
to learn about exporting build information to the installation, and
started off by copying-and-pasting the contents of the tutorial to my
own project. It doesn't quite run through since there's
Hi,
I am new to cmake. Is there any way to change the name of the
directory CMakeFiles ?
Regards,
--
Sumit Adhikari,
Institute of Computer Technology,
Faculty of Electrical Engineering,
Vienna University of Technology,
Gußhausstraße 27-29,1040 Vienna
--
Powered by www.kitware.com
Visit other
2012/8/8 m.hergarden
> I have found this to work for RPM files:
>
> You have to define components using:
> cpack_add_component(runtime DISPLAY_NAME runtime REQUIRED INSTALL_TYPES
> all)
>
You are right defining components is the easiest way to produce several
packages (deb, rpm, zip, etc...)
Th
I have found this to work for RPM
files:
You have to define components using:
cpack_add_component(runtime DISPLAY_NAME runtime REQUIRED
INSTALL_TYPES all)
For rpm I had to set this:
SET(CPACK_RPM_COMPONENT_INSTALL "ON"
(Greppi
Hi
Got my shiny new cmake build system going for my project on windows, Ubuntu,
and Mac.
Despite a fair bit of research I'm still not sure how to generate 2 separate
debian packages from the same cmake files - say myapp.deb and myapp-dev.deb.
I think what I want is somehow for it to write out
32 matches
Mail list logo