Declare custom modules out of ns-3 directory

9 views
Skip to first unread message

Igor Plastov

unread,
Dec 18, 2025, 5:45:31 AM (3 days ago) Dec 18
to ns-3-...@googlegroups.com
Hello!
I would like to place my simulation and models separatly from the ns-3 directory. But, it is not clear how to add my modules paths to call of ns3 configure  command.  Ho to do this correctly?

Thanks,
Igor

-------------------------------------------------------------------------------

Tom Henderson

unread,
Dec 18, 2025, 9:59:47 AM (3 days ago) Dec 18
to ns-3-...@googlegroups.com, Igor Plastov

The usual way is to put your new library and executable code into a 'contrib' module.  But if you want to locate this directory outside of ns-3's directory, there is a facility for creating an ns-3 external contrib directory, as documented here:  https://www.nsnam.org/docs/manual/html/working-with-cmake.html#adding-a-new-module.

--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/CAGTgnLcYjJZYWTdgoJfXwdqrQkEEnmZvAvXRooHUTjrkeo5N-g%40mail.gmail.com.

Igor Plastov

unread,
Dec 18, 2025, 11:41:18 AM (3 days ago) Dec 18
to Tom Henderson, ns-3-...@googlegroups.com
Thank you, now it works!

Best regards,
Igor

чт, 18 дек. 2025 г. в 17:59, Tom Henderson <to...@tomh.org>:
Reply all
Reply to author
Forward
0 new messages