lemon/CMakeLists.txt
author Peter Kovacs <kpeter@inf.elte.hu>
Mon, 02 Feb 2009 13:06:36 +0100
changeset 523 07a549a6b9bf
parent 225 c5a40fc54f1a
child 492 b9b3473327e3
child 620 d8ca76573eb3
permissions -rw-r--r--
Also note the cmake based build environment in INSTALL file
alpar@225
     1
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
alpar@225
     2
alpar@225
     3
ADD_LIBRARY(lemon
alpar@225
     4
  arg_parser.cc
alpar@225
     5
  base.cc
alpar@225
     6
  color.cc
alpar@491
     7
  random.cc
alpar@491
     8
  bits/windows.cc
alpar@491
     9
)
alpar@225
    10
alpar@225
    11
INSTALL(
alpar@225
    12
  TARGETS lemon
alpar@225
    13
  ARCHIVE DESTINATION lib
alpar@225
    14
  COMPONENT library)
alpar@225
    15
alpar@225
    16
INSTALL(
alpar@225
    17
  DIRECTORY . bits concepts
alpar@225
    18
  DESTINATION include/lemon
alpar@225
    19
  COMPONENT headers
alpar@225
    20
  FILES_MATCHING PATTERN "*.h")