File tree Expand file tree Collapse file tree 5 files changed +28
-0
lines changed Expand file tree Collapse file tree 5 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ build
Original file line number Diff line number Diff line change 1+ cmake_minimum_required (VERSION 3.10)
2+ project (expression_tree)
3+
4+ enable_testing ()
5+
6+ include_directories ( include )
7+ add_subdirectory ( tests )
Original file line number Diff line number Diff line change 1+ #pragma once
2+
3+ #include < iostream>
4+
5+ namespace attwoodn ::expression_tree {
6+ static inline void say_hello () {
7+ std::cout << " hello world!" << std::endl;
8+ }
9+ }
Original file line number Diff line number Diff line change 1+ set (VERSION 0.0.1)
2+
3+ add_executable ( expression_tree_test test .cpp )
4+ add_test ( expression_tree_test ${EXECUTABLE_OUTPUT_PATH} /expression_tree_test )
Original file line number Diff line number Diff line change 1+ #include < expression_tree/expression_tree.hpp>
2+
3+ int main (int argc, char ** argv) {
4+ attwoodn::expression_tree::say_hello ();
5+
6+ return EXIT_SUCCESS;
7+ }
You can’t perform that action at this time.
0 commit comments