mirror of
https://github.com/gelldur/EventBus.git
synced 2025-01-14 01:07:59 +08:00
Update compile flags
This commit is contained in:
parent
a46362bc6b
commit
ffbf4b91a9
@ -20,12 +20,12 @@ TARGET_INCLUDE_DIRECTORIES(EventBus PUBLIC
|
||||
)
|
||||
|
||||
TARGET_COMPILE_OPTIONS(EventBus
|
||||
PRIVATE -Wall -pedantic -Wno-unused-private-field -Wnon-virtual-dtor #-Werror
|
||||
PRIVATE -Wall -pedantic -Wno-unused-private-field -Wnon-virtual-dtor -Wno-gnu
|
||||
-Werror
|
||||
)
|
||||
|
||||
SET_TARGET_PROPERTIES(EventBus PROPERTIES
|
||||
CXX_STANDARD 14
|
||||
CXX_STANDARD_REQUIRED YES
|
||||
)
|
||||
|
||||
TARGET_COMPILE_FEATURES(EventBus
|
||||
|
@ -13,7 +13,8 @@ ADD_EXECUTABLE(EventBusPerformance
|
||||
)
|
||||
|
||||
TARGET_COMPILE_OPTIONS(EventBusPerformance
|
||||
PRIVATE -Wall -pedantic -Wno-unused-private-field -Wnon-virtual-dtor #-Werror
|
||||
PRIVATE -Wall -pedantic -Wno-unused-private-field -Wnon-virtual-dtor
|
||||
-Werror
|
||||
)
|
||||
|
||||
SET_TARGET_PROPERTIES(EventBusPerformance PROPERTIES
|
||||
|
@ -5,7 +5,6 @@ ADD_EXECUTABLE(EventBusTest
|
||||
eventbus/EventCollectorTest.cpp
|
||||
eventbus/NotifierTest.cpp
|
||||
eventbus/NotificationTest.cpp
|
||||
eventbus/sample.cpp
|
||||
)
|
||||
|
||||
SET_TARGET_PROPERTIES(EventBusTest PROPERTIES
|
||||
@ -14,7 +13,8 @@ SET_TARGET_PROPERTIES(EventBusTest PROPERTIES
|
||||
)
|
||||
|
||||
TARGET_COMPILE_OPTIONS(EventBusTest
|
||||
PRIVATE -Wall -pedantic -Wno-unused-private-field -Wnon-virtual-dtor #-Werror
|
||||
PRIVATE -Wall -pedantic -Wno-unused-private-field -Wnon-virtual-dtor -Wno-gnu
|
||||
-Werror
|
||||
)
|
||||
|
||||
TARGET_INCLUDE_DIRECTORIES(EventBusTest PRIVATE Catch/single_include/)
|
||||
|
Loading…
x
Reference in New Issue
Block a user