Re: [CMake] FindHDF5.cmake configuration -- finds regular, can't find HL

2012-06-24 Thread Ateljevich, Eli
Thanks Tim. I was able to make this change work for my case … I had to do the same thing with both C and Fortran that you did with Fortran. I can also see why the fix is not comprehensive. The method does not fix “Fortran_HL”, but rather makes hdf5hl_fortran available by lumping it in with “Fo

Re: [CMake] visual studio development setup

2012-06-24 Thread J Decker
pick one of the projects, right click, edit properties, set the debug command line and working directory. There are browse buttons. This gets set as part of the user settings. The default is usually ALL_BUILD target, and that works fine once you set the debug properties. On Sat, Jun 23, 2012 at

Re: [CMake] SHARED library containing OBJECT library: Missing -fPIC

2012-06-24 Thread Benjamin Eikel
Hello Leif, Am Freitag, 22. Juni 2012 um 15:55:55 schrieb Leif Walsh: > I tried this in my project. I added -fPIC to the COMPILE_FLAGS property of > the object library and it worked, but then you also get PIC static > libraries (which isn't that big of a deal). But time your compiles. > Usually th

Re: [CMake] cmakelists.txt

2012-06-24 Thread John Drescher
On Sun, Jun 24, 2012 at 5:57 AM, Heena Mahur wrote: >  Hey,I need to that what should i do in > cmakelists.txt http://pastebin.com/raw.php?i=BGV9NAmQ since i am getting > this error  (target_link_libraries):   Cannot specify link libraries for > target "ptedit_1" which is not built by   this proje

Re: [CMake] cmake

2012-06-24 Thread Rolf Eike Beer
> project( ptedit_1 ) > CMAKE_MINIMUM_REQUIRED( VERSION 2.8 ) > find_package( KDE4 REQUIRED ) > SET( MAIN_PROJECT_NAME ${PROJECT_NAME}) > INCLUDE_DIRECTORIES( ${KDE4_INCLUDES} ) > SET(CPACK_SET_DESTDIR "ON") > set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH}) > include_director

[CMake] cmake

2012-06-24 Thread Heena Mahur
project( ptedit_1 ) CMAKE_MINIMUM_REQUIRED( VERSION 2.8 ) find_package( KDE4 REQUIRED ) SET( MAIN_PROJECT_NAME ${PROJECT_NAME}) INCLUDE_DIRECTORIES( ${KDE4_INCLUDES}  ) SET(CPACK_SET_DESTDIR "ON") set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH}) include_directories( ${KDE4_INCL

[CMake] cmakelists.txt

2012-06-24 Thread Heena Mahur
 Hey,I need to that what should i do in cmakelists.txt http://pastebin.com/raw.php?i=BGV9NAmQ since i am getting this error  (target_link_libraries):   Cannot specify link libraries for target "ptedit_1" which is not built by   this project. Please suggest the errors and the suggested commands