mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
This commit is contained in:
parent
6908e471e7
commit
dc9c81256d
@ -118,6 +118,7 @@ install(DIRECTORY include TYPE DATA FILES_MATCHING
|
|||||||
PATTERN "include/verilated.mk"
|
PATTERN "include/verilated.mk"
|
||||||
PATTERN "include/*.[chv]"
|
PATTERN "include/*.[chv]"
|
||||||
PATTERN "include/*.cpp"
|
PATTERN "include/*.cpp"
|
||||||
|
PATTERN "include/*.sv"
|
||||||
PATTERN "include/gtkwave/*.[chv]*"
|
PATTERN "include/gtkwave/*.[chv]*"
|
||||||
PATTERN "include/vltstd/*.[chv]*"
|
PATTERN "include/vltstd/*.[chv]*"
|
||||||
)
|
)
|
||||||
|
@ -489,8 +489,10 @@ string V3Options::fileExists(const string& filename) {
|
|||||||
std::set<string>* setp = &(diriter->second);
|
std::set<string>* setp = &(diriter->second);
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
try {
|
||||||
for (const auto& dirEntry : std::filesystem::directory_iterator(dir.c_str()))
|
for (const auto& dirEntry : std::filesystem::directory_iterator(dir.c_str()))
|
||||||
setp->insert(dirEntry.path().filename().string());
|
setp->insert(dirEntry.path().filename().string());
|
||||||
|
} catch(std::filesystem::filesystem_error const& ex) { return ""; }
|
||||||
#else
|
#else
|
||||||
if (DIR* const dirp = opendir(dir.c_str())) {
|
if (DIR* const dirp = opendir(dir.c_str())) {
|
||||||
while (struct dirent* direntp = readdir(dirp)) setp->insert(direntp->d_name);
|
while (struct dirent* direntp = readdir(dirp)) setp->insert(direntp->d_name);
|
||||||
|
@ -267,11 +267,7 @@ private:
|
|||||||
bool m_relativeIncludes = false; // main switch: --relative-includes
|
bool m_relativeIncludes = false; // main switch: --relative-includes
|
||||||
bool m_reportUnoptflat = false; // main switch: --report-unoptflat
|
bool m_reportUnoptflat = false; // main switch: --report-unoptflat
|
||||||
bool m_savable = false; // main switch: --savable
|
bool m_savable = false; // main switch: --savable
|
||||||
#ifdef _MSC_VER
|
|
||||||
bool m_std = false; // main switch: --std
|
|
||||||
#else
|
|
||||||
bool m_std = true; // main switch: --std
|
bool m_std = true; // main switch: --std
|
||||||
#endif
|
|
||||||
bool m_structsPacked = false; // main switch: --structs-packed
|
bool m_structsPacked = false; // main switch: --structs-packed
|
||||||
bool m_systemC = false; // main switch: --sc: System C instead of simple C++
|
bool m_systemC = false; // main switch: --sc: System C instead of simple C++
|
||||||
bool m_stats = false; // main switch: --stats
|
bool m_stats = false; // main switch: --stats
|
||||||
|
Loading…
Reference in New Issue
Block a user