CMake does not directly provide compilation information per transaction unit. However, you can use the VERBOSE
flag to enable compiler output during compilation, which will give you more information about the actions being performed during compilation.
To enable the VERBOSE
flag in CMake, you can set the CMAKE_VERBOSE_MAKEFILE
variable to ON
in your CMakeLists.txt
file:
set(CMAKE_VERBOSE_MAKEFILE ON)
This will enable verbose output during the build process, which should give you more information about the compilation process.
Alternatively, you can also use a build system like Ninja or Make which have built-in support for displaying verbose build output during compilation. To use these build systems with CMake, you can set the CMAKE_GENERATOR
variable to the appropriate build system when configuring your project with CMake:
cmake -G Ninja
This will generate a build system using Ninja, which you can then use to build your project and see more detailed compilation information.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-09-25 11:00:00 +0000
Seen: 21 times
Last updated: Sep 21 '22
How can libxml++ library be added to cmake?
Using CMake, what is the process to include a pre-existing static library in a project?
How can I include a font in my Xcode project through CMake?
What is the meaning of the Cmake error stating that Wayland (WAYLAND_CLIENT_INCLUDE_DIR) is missing?
How can information be extracted by dividing a line?
What is the method to retrieve LegacyIAccessible information using UiAutomation?
What is the method to transfer information from a popup to the main content in a Chrome extension?
What are some examples of entities in Microservice Architecture that have common properties?
What is the best approach to calculate pairwise mutual information using numpy?