• chuck cranor's avatar
    add cmake build files for margo. example usage: · c0b790e5
    chuck cranor authored
     [assuming you are in src dir and want an out of tree build]
     mkdir ../build-margo
     cd ../build
     cmake -DBUILD_SHARED_LIBS=ON \
        -DCMAKE_PREFIX_PATH=/proj/testbed/data/chuck \
        -DCMAKE_INSTALL_PREFIX=/tmp/test-install \
        ../margo
    
    BUILD_SHARED_LIBS turns on shared libs (off by default)
    CMAKE_PREFIX_PATH is where to look for required packages (abt-snoozer, libev)
    CMAKE_INSTALL_PREFIX is where to install abt-snoozer
    
     make
     ctest                  # optional: run tests
     make install
    c0b790e5
margo-config.cmake 178 Bytes