Skip to content

Instantly share code, notes, and snippets.

@kyuucr
Created December 18, 2018 23:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kyuucr/d8f7239e111a5a421c1145594a8a7dda to your computer and use it in GitHub Desktop.
Save kyuucr/d8f7239e111a5a421c1145594a8a7dda to your computer and use it in GitHub Desktop.
Sublime project file for ns-3, build system included
{
"folders":
[
{
"path": "ns-3-dev-lbt",
"folder_exclude_patterns": [".git", ".hg", ".waf*", "build"],
"follow_symlinks": true
}
],
"settings":
{
"tab_size": 2
},
"build_systems":
[
{
"name": "ns-3",
"windows": {
"shell_cmd": "bash -c \"./waf build\""
},
"linux": {
"shell_cmd": "./waf build"
},
"file_patterns": ["*.cc", "*.h"],
"working_dir": "$folder",
"variants": [
{
"name": "Configure",
"windows": {
"shell_cmd": "bash -c \"./waf configure -d debug --enable-examples --enable-tests\""
},
"linux": {
"shell_cmd": "./waf configure -d debug --enable-examples --enable-tests"
},
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment