| # Copyright 2016, Quickstep Research Group, Computer Sciences Department, |
| # University of Wisconsin—Madison. |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| add_subdirectory(command_executor) |
| |
| add_executable(quickstep_cli_tests_CommandExecutorTest |
| CommandExecutorTest.cpp |
| CommandExecutorTestRunner.cpp |
| CommandExecutorTestRunner.hpp |
| "${PROJECT_SOURCE_DIR}/utility/textbased_test/TextBasedTest.cpp" |
| "${PROJECT_SOURCE_DIR}/utility/textbased_test/TextBasedTest.hpp") |
| |
| target_link_libraries(quickstep_cli_tests_CommandExecutorTest |
| glog |
| gtest |
| gtest_main |
| quickstep_catalog_CatalogDatabase |
| quickstep_cli_CommandExecutor |
| quickstep_cli_DropRelation |
| quickstep_cli_PrintToScreen |
| quickstep_parser_ParseStatement |
| quickstep_parser_SqlParserWrapper |
| quickstep_queryexecution_Foreman |
| quickstep_queryexecution_QueryContext |
| quickstep_queryexecution_QueryExecutionTypedefs |
| quickstep_queryexecution_Worker |
| quickstep_queryexecution_WorkerDirectory |
| quickstep_queryexecution_WorkerMessage |
| quickstep_queryoptimizer_ExecutionGenerator |
| quickstep_queryoptimizer_LogicalGenerator |
| quickstep_queryoptimizer_OptimizerContext |
| quickstep_queryoptimizer_PhysicalGenerator |
| quickstep_queryoptimizer_QueryHandle |
| quickstep_queryoptimizer_QueryPlan |
| quickstep_queryoptimizer_physical_Physical |
| quickstep_queryoptimizer_tests_TestDatabaseLoader |
| quickstep_utility_Macros |
| quickstep_utility_MemStream |
| quickstep_utility_SqlError |
| quickstep_utility_TextBasedTestDriver |
| tmb |
| ${LIBS}) |