Fix link error when using --exe with --trace.

git-svn-id: file://localhost/svn/verilator/trunk/verilator@813 77ca24e4-aefa-0310-84f0-b9a241c72d87
This commit is contained in:
Wilson Snyder
2006-10-09 13:38:15 +00:00
parent 1c8fd37745
commit 710d7c0ee5
3 changed files with 26 additions and 11 deletions
+3
View File
@@ -96,6 +96,9 @@ public:
// Imply generating verilated.o
if (v3Global.opt.exe()) {
v3Global.opt.addCppFile("verilated.cpp");
if (v3Global.opt.trace()) {
v3Global.opt.addCppFile("SpTraceVcdC.cpp");
}
}
V3StringSet dirs;