And this adds a "Hello World" executable for dummy build.
add_subdirectory(externals)
add_subdirectory(tools)
+add_subdirectory(src)
--- /dev/null
+add_subdirectory(runtime)
--- /dev/null
+add_subdirectory(ref)
--- /dev/null
+file(GLOB SRCS *.cc)
+file(GLOB HDRS *.h)
+
+add_executable(runtime_run ${SRCS} ${HDRS})
+target_include_directories(runtime_run PRIVATE .)
--- /dev/null
+#include <iostream>
+#include "main.h"
+
+int main()
+{
+ std::cout << HELLO_RUNTIME << std::endl;
+ return 0;
+}
--- /dev/null
+#ifndef __RUNTIME_MAIN_H__
+#define __RUNTIME_MAIN_H__
+
+const char *HELLO_RUNTIME = "Hello Runtime!";
+
+#endif // __RUNTIME_MAIN_H__