File: CMakeLists.txt

package info (click to toggle)
liblas 1.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 7,888 kB
  • ctags: 4,614
  • sloc: cpp: 31,630; xml: 4,195; python: 2,928; ansic: 2,439; cs: 2,411; sh: 143; makefile: 37
file content (19 lines) | stat: -rwxr-xr-x 504 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $Id$
#
# Build sample programs
#
SET( SAMPLE_READ sample_read )
SET( SAMPLE_WRITE sample_write )
SET( SAMPLE_FILES sample_files )

INCLUDE_DIRECTORIES(
    ../../include
)

ADD_EXECUTABLE( ${SAMPLE_READ} read.cpp )
ADD_EXECUTABLE( ${SAMPLE_WRITE} write.cpp )
ADD_EXECUTABLE( ${SAMPLE_FILES} files.cpp )

TARGET_LINK_LIBRARIES( ${SAMPLE_READ} ${LIBLAS_LIB_NAME} )
TARGET_LINK_LIBRARIES( ${SAMPLE_WRITE} ${LIBLAS_LIB_NAME} )
TARGET_LINK_LIBRARIES( ${SAMPLE_FILES} ${LIBLAS_LIB_NAME} )