mirror of
https://github.com/hufrea/byedpi.git
synced 2025-07-04 21:14:18 +00:00
Updated project settings.
This commit is contained in:
parent
199665fbc6
commit
253f777f79
@ -36,9 +36,12 @@ project( ByeDPI
|
|||||||
|
|
||||||
set( PROJECT_VENDOR "hufrea" )
|
set( PROJECT_VENDOR "hufrea" )
|
||||||
|
|
||||||
add_compile_definitions( _XOPEN_SOURCE=500 )
|
set( CMAKE_C_STANDARD 99 )
|
||||||
|
|
||||||
|
#add_compile_definitions( _XOPEN_SOURCE=500 )
|
||||||
|
add_compile_options( -Wall -Wno-unused )
|
||||||
# Optimizations
|
# Optimizations
|
||||||
add_compile_options( $<$<NOT:$<CONFIG:Debug>>:-O3> )
|
add_compile_options( $<$<NOT:$<CONFIG:Debug>>:-O2> )
|
||||||
# Link time optimizations
|
# Link time optimizations
|
||||||
add_compile_options( $<$<NOT:$<CONFIG:Debug>>:-flto> )
|
add_compile_options( $<$<NOT:$<CONFIG:Debug>>:-flto> )
|
||||||
# Strip debug symbols
|
# Strip debug symbols
|
||||||
@ -85,7 +88,7 @@ if( WIN32 )
|
|||||||
# NSIS package - https://sourceforge.net/projects/nsis/
|
# NSIS package - https://sourceforge.net/projects/nsis/
|
||||||
list( APPEND CPACK_GENERATOR NSIS )
|
list( APPEND CPACK_GENERATOR NSIS )
|
||||||
set( CPACK_NSIS_MENU_LINKS
|
set( CPACK_NSIS_MENU_LINKS
|
||||||
"readme.txt" "Read Me"
|
"README.md" "Read Me"
|
||||||
"byedpi.bat" "Run standalone"
|
"byedpi.bat" "Run standalone"
|
||||||
"proxy_reset.bat" "Proxy reset"
|
"proxy_reset.bat" "Proxy reset"
|
||||||
"proxy_set.bat" "Proxy setup"
|
"proxy_set.bat" "Proxy setup"
|
||||||
@ -123,7 +126,7 @@ install( TARGETS ciadpi
|
|||||||
)
|
)
|
||||||
|
|
||||||
install( FILES
|
install( FILES
|
||||||
readme.txt
|
README.md
|
||||||
TYPE DOC
|
TYPE DOC
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user