czaloj / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

Please provide install target for CMakeLists.txt #134

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Can you please add install commands to the CMakeLists.txt:

INSTALL(TARGETS LibBulletCollision DESTINATION lib)
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION include
FILES_MATCHING PATTERN "*.h")

so we can use 'make install' to install bullet on linux?
I can provide a patch against 2.71/2.72 if you want

Thx,
Christian Ehrlicher

Original issue reported on code.google.com by christia...@googlemail.com on 6 Nov 2008 at 12:30

GoogleCodeExporter commented 9 years ago

It has just been added, see
http://code.google.com/p/bullet/issues/detail?id=97&can=1
http://code.google.com/p/bullet/issues/detail?id=129&can=1&start=100

It will be in Bullet 2.73, later this week.

Original comment by erwin.coumans on 6 Nov 2008 at 11:47

GoogleCodeExporter commented 9 years ago
I'm sorry but the svn version still does not support 'make install' due to wrong
cmake version check. The current check will only work for versions greater than 
2.6
and not greater or equal than 2.6 ... :(

Also your wiki entry for cmake is wrong. It must be "-DBUILD_SHARED_LIBS=true" 
(or
better "-DBUILD_SHARED_LIBS:BOOL=ON") instead "-D BUILD_SHARED_LIBS=true" - the 
space
between -D and BUILD_SHARED_LIBS is not allowed.

Original comment by christia...@googlemail.com on 12 Nov 2008 at 7:26

GoogleCodeExporter commented 9 years ago
One more minor issue. cmake does recommend out-of-source builds so your wiki 
should
be updated to reflect this too :)
See http://www.vtk.org/Wiki/CMake_FAQ#Out-of-source_build_trees 

Original comment by christia...@googlemail.com on 12 Nov 2008 at 7:30

GoogleCodeExporter commented 9 years ago
thanks for the report, it uses GREATER than 2.5 now

Original comment by erwin.coumans on 16 Nov 2008 at 9:37