Questions
Answer the following questions to test your knowledge of this chapter:
- What is the CMake command for creating an executable target?
- What is the CMake command for creating a library target?
- How can you specify whether a library is statically or dynamically linked?
- What is special about object libraries and where do they come in handy?
- How can you specify the default symbol visibility for shared libraries?
- How are compiler options specified for a target and how can you see the compile commands?