Rewrite the src SConscript

This commit is contained in:
Eryn Wells 2015-10-17 00:24:54 -07:00
parent 8a00e0a00d
commit 7266c24896
2 changed files with 9 additions and 21 deletions

View file

@ -1,25 +1,5 @@
# SConscript
# vim: set ft=python:
#
# Eryn Wells <eryn@erynwells.me>
import os.path
Import('env')
subdirs = [
# TODO: Put subdirectories here.
]
for d in subdirs:
env.SConscript(os.path.join(d, 'SConscript'), {'env': env})
files = [
# TODO: Put files here.
]
objs = []
for f in files:
objs.append(env.Object(f))
Program('hello', ['hello.cc'])

8
src/hello.cc Normal file
View file

@ -0,0 +1,8 @@
#include <iostream>
int
main()
{
std::cout << "Hello world!" << std::endl;
return 0;
}