File: UseFastBuilds.cmake

package info (click to toggle)
opm-common 2022.10%2Bds-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 78,468 kB
  • sloc: cpp: 164,554; python: 2,872; sh: 216; xml: 174; ansic: 149; pascal: 136; makefile: 12
file content (11 lines) | stat: -rw-r--r-- 256 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
# - Try to build faster depending on the compiler

# faster builds by using a pipe instead of temp files
include (AddOptions)
include (UseCompVer)
is_compiler_gcc_compatible ()

if (CXX_COMPAT_GCC)
	add_options (ALL_LANGUAGES ALL_BUILDS "-pipe")
endif ()