mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-07-04 12:03:41 +02:00
CMakeLists.txt: add option to build extras.
This commit is contained in:
parent
18178da53a
commit
fcbe784fc8
1 changed files with 9 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ project(eosio-keygen VERSION 0.1.6)
|
||||||
# Options
|
# Options
|
||||||
option(USE_THREADS "Compile with support for threads (if available)." ON)
|
option(USE_THREADS "Compile with support for threads (if available)." ON)
|
||||||
option(FORCE_ANSI "Force ANSI console colors even on windows" OFF)
|
option(FORCE_ANSI "Force ANSI console colors even on windows" OFF)
|
||||||
|
option(EXTRAS "Include non essential (extra) files in the build. (only for *nix)" OFF)
|
||||||
|
|
||||||
# Use installpath from GNUInstallDirs as default.
|
# Use installpath from GNUInstallDirs as default.
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
|
|
@ -119,3 +120,11 @@ if (UNIX) # Only include in bash environments.
|
||||||
FILE_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
|
FILE_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
|
||||||
)
|
)
|
||||||
endif (UNIX)
|
endif (UNIX)
|
||||||
|
|
||||||
|
# --------------------------------
|
||||||
|
# Extras
|
||||||
|
# --------------------------------
|
||||||
|
|
||||||
|
if (UNIX AND EXTRAS)
|
||||||
|
add_subdirectory(extras)
|
||||||
|
endif()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue