mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-23 04:38:55 +00:00
Sneak FlexLexer.h into VS build
This commit is contained in:
parent
3b80afa26e
commit
65e026f4df
2 changed files with 8 additions and 0 deletions
|
@ -20,6 +20,13 @@ mv zlib-1.2.11/* "$vcxsrc"/yosys/libs/zlib/.
|
|||
rm -rf zlib-1.2.11
|
||||
pushd "$vcxsrc"/yosys
|
||||
ls libs/zlib/*.c | sed 's,.*:,,; s,//*,/,g; s,/[^/]*/\.\./,/,g; y, \\,\n\n,;' | grep '^[^/]' >> ../../srcfiles.txt
|
||||
|
||||
if [ -f "/usr/include/FlexLexer.h" ] ; then
|
||||
mkdir -p libs/flex
|
||||
cp /usr/include/FlexLexer.h libs/flex/FlexLexer.h
|
||||
ls libs/flex/*.h >> ../../srcfiles.txt
|
||||
fi
|
||||
|
||||
popd
|
||||
{
|
||||
n=$(grep -B999 '<ItemGroup>' "$vcxsrc"/YosysVS/YosysVS.vcxproj | wc -l)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue