|
|
@@ -4,10 +4,6 @@ Include ( cotire OPTIONAL RESULT_VARIABLE HAS_COTIRE |
|
|
|
Include ( pedantic OPTIONAL RESULT_VARIABLE HAS_PEDANTIC ) |
|
|
|
Include ( strip_symbols OPTIONAL RESULT_VARIABLE HAS_STRIP_SYMBOLS ) |
|
|
|
|
|
|
|
If ( HAS_PEDANTIC ) |
|
|
|
Pedantic_Apply_Flags ( ALL ) |
|
|
|
EndIf ( ) |
|
|
|
|
|
|
|
Option ( LIBHELLOWORLD_INSTALL_HEADER |
|
|
|
"Install headers of libhelloworld." |
|
|
|
ON ) |
|
|
@@ -70,6 +66,14 @@ Target_Include_Directories ( libhelloworld-shared |
|
|
|
|
|
|
|
# Optimization #################################################################################### |
|
|
|
|
|
|
|
# pedantic |
|
|
|
If ( HAS_PEDANTIC ) |
|
|
|
Pedantic_Apply_Flags_Target ( libhelloworld-objects ALL ) |
|
|
|
Pedantic_Apply_Flags_Target ( libhelloworld-static ALL ) |
|
|
|
Pedantic_Apply_Flags_Target ( libhelloworld-shared ALL ) |
|
|
|
EndIf ( ) |
|
|
|
|
|
|
|
# cotire |
|
|
|
If ( HAS_COTIRE ) |
|
|
|
Cotire ( libhelloworld-objects ) |
|
|
|
Cotire ( libhelloworld-static ) |
|
|
|