123456789101112131415161718192021222324252627 |
- # -*- coding: utf-8; mode: cmake -*-
- # test CMakeLists.txt
- # (c) lloda@sarc.name 2023
- # This library is free software; you can redistribute it and/or modify it under
- # the terms of the GNU Lesser General Public License as published by the Free
- # Software Foundation; either version 3 of the License, or (at your option) any
- # later version.
- cmake_minimum_required (VERSION 3.5)
- project (newra-test)
- include_directories ("..")
- set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/../config)
- # -------------------
- # bindings
- # -------------------
- find_package (Guile REQUIRED)
- foreach (target everything format maxwell)
- add_test (${target} ${GUILE_EXECUTABLE} -q -L "${CMAKE_CURRENT_SOURCE_DIR}/../mod" "${CMAKE_CURRENT_SOURCE_DIR}/../test/${target}.scm")
- endforeach ()
- enable_testing ()
|