FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
algorithm-archive/sconscripts/csharp_SConscript at develop · rdugue/algorithm-archive · GitHub
rdugue
/
algorithm-archive
Public
forked from
algorithm-archivists/algorithm-archive
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
algorithm-archive
/
sconscripts
/
csharp_SConscript
Copy path
More file actions
More file actions
Latest commit
History
History
History
15 lines (11 loc) · 498 Bytes
Breadcrumbs
algorithm-archive
/
sconscripts
/
csharp_SConscript
Copy path
File metadata and controls
15 lines (11 loc) · 498 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Import('files_to_compile env')
language = files_to_compile[0].language
chapter = files_to_compile[0].chapter
from collections import defaultdict
chapter_files = defaultdict(list)
for file_info in files_to_compile:
chapter_files[file_info.chapter].append(file_info.path)
for chapter, files in chapter_files.items():
build_target = f'#/build/{language}/{chapter}/{chapter}'
build_result = env.MCS(build_target, [str(file) for file in files])
env.Alias(str(chapter), build_result)
Back
|
FazBrowse Home
|
New Git URL