lemon/CMakeLists.txt
author Alpar Juttner <alpar@cs.elte.hu>
Wed, 04 Feb 2009 09:39:06 +0100
changeset 489 97070bd10b98
parent 225 c5a40fc54f1a
child 499 d8ca76573eb3
child 515 b9b3473327e3
permissions -rw-r--r--
CMAKE config improvements
- install docs in share/doc/
- look for newer versions of Ghostscript
     1 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
     2 
     3 ADD_LIBRARY(lemon
     4   arg_parser.cc
     5   base.cc
     6   color.cc
     7   random.cc
     8   bits/windows.cc
     9 )
    10 
    11 INSTALL(
    12   TARGETS lemon
    13   ARCHIVE DESTINATION lib
    14   COMPONENT library)
    15 
    16 INSTALL(
    17   DIRECTORY . bits concepts
    18   DESTINATION include/lemon
    19   COMPONENT headers
    20   FILES_MATCHING PATTERN "*.h")