1# Copyright (c) PLUMgrid, Inc. 2# Licensed under the Apache License, Version 2.0 (the "License") 3configure_file(wrapper.sh.in "${CMAKE_CURRENT_BINARY_DIR}/wrapper.sh" @ONLY) 4 5set(TEST_WRAPPER ${CMAKE_CURRENT_BINARY_DIR}/wrapper.sh) 6 7add_test(NAME style-check COMMAND ${CMAKE_SOURCE_DIR}/scripts/c-style-check.sh) 8set_tests_properties(style-check PROPERTIES PASS_REGULAR_EXPRESSION ".*") 9 10if(ENABLE_CLANG_JIT) 11add_subdirectory(cc) 12add_subdirectory(python) 13add_subdirectory(lua) 14endif() 15