mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-10 00:52:11 +01:00
15 lines
341 B
Plaintext
15 lines
341 B
Plaintext
|
#!/usr/bin/env python
|
||
|
|
||
|
Import("env_mod")
|
||
|
Import("env")
|
||
|
|
||
|
env_mod.core_sources = []
|
||
|
|
||
|
env_mod.add_source_files(env_mod.core_sources, "./hash-library/sha256.cpp")
|
||
|
|
||
|
env_mod.add_source_files(env_mod.core_sources, "*.cpp")
|
||
|
|
||
|
# Build it all as a library
|
||
|
lib = env_mod.add_library("backend_hash_hashlib", env_mod.core_sources)
|
||
|
env.Prepend(LIBS=[lib])
|