- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm updating a cmake build system for Linux to match our Windows (VS2019) compile options. Some of our projects use /Qip, others /Qipo. In the CMakeLists.txt file I have added -ip to CMAKE_Fortran_FLAGS_RELEASE (global compiler options for release builds). Some libraries have target_compile_options to add -ipo. This results in -ipo following -ip in the compiler options for those libraries. Is this going to behave as I would expect, with -ipo overriding -ip? The documentation seems to be silent on the subject. I'm working from analogy with the optimisation options (-On) in that the right hand most option is the one that applies for them.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes - and -ip is the default at -O2 and higher, anyway.


Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page