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