Suppose I have following C project structure:
├── CMakeLists.txt
├── include
│ ├── header.h
├── README.md
├── src
│ └── src.c
└── test
├── CMakeLists.txt
└── test.c
The CMakeLists.txt in the root directory contains a project called cproj
PROJECT(cproj C)
Also in test/CMakeLists.txt, I have another project
PROJECT(test C)
The question is how can I assess the project name cproj in the CMakeLists.txt in test directory?