Setting up the projects NSS and NSPR in CLion
Hello,
The structure of NSS (https://github.com/nss-dev/nss) is unusual: it requires NSPR, on which NSS itself depends, to be present at the same level as NSS's directory:
nss
├── dist
├── nspr
│ ├── admin
│ ├── automation
│ ├── build
│ ├── config
│ ├── configure
│ ├── configure.in
│ ├── Debug
│ ├── lib
│ ├── LICENSE
│ ├── Makefile.in
│ ├── pkg
│ ├── pr
│ └── tools
└── nss
In the hierarchy above, nss is the main repository, nspr is the supporting directory, which consists of many subdirectories such as lib and pr, and dist is the built artifacts.
I tried to load a project from the nss subdirectory, but then nspr directories could not be added. Then I tried to load the project from the nss parent directory by setting the nss subdirectory as PROJECT_ROOT, but nspr source directories didn't work even if I had marked them as source directories or header files.
How will CLion handle this structure, or is it unable to handle it?
Please sign in to leave a comment.