set(CMAKE_BUILD_TYPE “Release”)
set(CMAKE_CXX_FLAGS_RELEASE "
C
M
A
K
E
C
X
X
F
L
A
G
S
R
E
L
E
A
S
E
−
s
t
d
=
c
+
+
11
−
O
2
−
p
t
h
r
e
a
d
−
f
o
p
e
n
m
p
"
)
m
e
s
s
a
g
e
(
"
B
u
i
l
d
T
y
p
e
:
"
{CMAKE_CXX_FLAGS_RELEASE} -std=c++11 -O2 -pthread -fopenmp") message("Build Type:"
CMAKECXXFLAGSRELEASE−std=c++11−O2−pthread−fopenmp")message("BuildType:"{CMAKE_BUILD_TYPE} ${CMAKE_CXX_FLAGS})
so
最新推荐文章于 2024-04-06 22:11:07 发布