contrib/CMakeLists.txt
changeset 1031 06491fd08efd
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/contrib/CMakeLists.txt	Fri Dec 03 13:26:38 2010 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +INCLUDE_DIRECTORIES(
     1.5 +  ${PROJECT_SOURCE_DIR}
     1.6 +  ${PROJECT_BINARY_DIR}
     1.7 +)
     1.8 +
     1.9 +LINK_DIRECTORIES(
    1.10 +  ${PROJECT_BINARY_DIR}/lemon
    1.11 +)
    1.12 +
    1.13 +# Uncomment (and adjust) the following two lines. 'myprog' is the name
    1.14 +# of the final executable ('.exe' will automatically be added to the
    1.15 +# name on Windows) and 'myprog-main.cc' is the source code it is
    1.16 +# compiled from. You can add more source files separated by
    1.17 +# whitespaces. Moreover, you can add multiple similar blocks if you
    1.18 +# want to build more than one executables.
    1.19 +
    1.20 +# ADD_EXECUTABLE(myprog myprog-main.cc)
    1.21 +# TARGET_LINK_LIBRARIES(myprog lemon)
    1.22 +