Skip to content

Commit e078fe3

Browse files
committed
Added barnsley SConstructs + relevant .gitignore clauses
1 parent cc457b9 commit e078fe3

File tree

5 files changed

+17
-0
lines changed

5 files changed

+17
-0
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,3 +517,10 @@ vscode/
517517

518518
# aspell
519519
*.bak
520+
521+
# SCons database files
522+
**/.sconsign.dblite
523+
524+
# SCons compiled files
525+
*.out
526+
*.o

contents/barnsley/code/c++/SConstruct

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
executable = Program('barnsley.out', 'barnsley.cpp', CCFLAGS='-std=c++17 -Wall -Wextra -Wshadow -Wnon-virtual-dtor -Wold-style-cast -Wcast-align -Wunused -Woverloaded-virtual -Wpedantic -Wconversion -Wsign-conversion -Wnull-dereference -Wdouble-promotion -Wformat=2')
2+
3+
Command(target='out.dat', source=executable, action='./$SOURCE')

contents/barnsley/code/c/SConstruct

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
executable = Program('barnsley.out', 'barnsley.c', CCFLAGS='-Wall -Wextra -Wshadow -Wcast-align -Wunused -Wpedantic -Wconversion -Wsign-conversion -Wnull-dereference -Wdouble-promotion -Wformat=2')
2+
3+
data_file = Command(target='barnsley.dat', source=executable, action='./$SOURCE')
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
class_files = Java('.', '.')
2+
3+
Command(target='barnsley.dat', source=class_files, action='java Barnsley')
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Command(target='out.dat', source='barnsley.jl', action='julia $SOURCE')

0 commit comments

Comments
 (0)