Opened 13 years ago

Closed 10 years ago

#41 closed defect (fixed)

CMakeList.txt updates

Reported by: dburken Owned by: hobu
Priority: normal Milestone:
Component: libgeotiff Version: 1.3.0
Keywords: cmake Cc:

Description

Attached patch to CMakeList.txt with several updates. Note I'm not sure if the patch should be taken verbatim and it should be tested on windows to make sure the dll goes in the bin directory and so on.

This removes non-existent file csv/codes.csv

Adjust:
CMAKE_RUNTIME_OUTPUT_DIRECTORY
CMAKE_LIBRARY_OUTPUT_DIRECTORY
CMAKE_ARCHIVE_OUTPUT_DIRECTORY

To not go to same place:  GEOTIFF_BUILD_OUTPUT_DIRECTORY

Which was set to build_dir/bin.

Also changes the install targets to use the -DCMAKE_INSTALL_PREFIX

Patch attached.

Attachments (2)

CMakeLists.txt.patch (3.5 KB ) - added by dburken 13 years ago.
CMakeLists.txt (13.8 KB ) - added by dburken 13 years ago.

Download all attachments as: .zip

Change History (4)

by dburken, 13 years ago

Attachment: CMakeLists.txt.patch added

by dburken, 13 years ago

Attachment: CMakeLists.txt added

comment:1 by hobu, 13 years ago

Dave,

I have updated this including a patch for the dylib name for OS X in r2061. Please test at your convenience.

comment:2 by hobu, 10 years ago

Resolution: fixed
Status: newclosed

I think this one is dead now. Please open again if there's still issues with the CMake install target.

Note: See TracTickets for help on using tickets.