Skip to content

Commit

Permalink
add option to disable programs
Browse files Browse the repository at this point in the history
  • Loading branch information
tonytheodore committed Jul 20, 2017
1 parent acf7e61 commit e02518c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ option(JAS_ENABLE_STRICT "Enable pedantic error checking" false)
option(JAS_ENABLE_AUTOMATIC_DEPENDENCIES "Enable automatic dependencies" true)
option(JAS_LOCAL "Enable local hacks for developers (do not enable)" false)
option(JAS_ENABLE_DOC "Enable building of the documentation" true)
option(JAS_ENABLE_PROGRAMS "Enable building of the programs" true)

################################################################################
#
Expand Down Expand Up @@ -368,7 +369,9 @@ endif()
################################################################################

add_subdirectory(src/libjasper)
add_subdirectory(src/appl)
if (JAS_ENABLE_PROGRAMS)
add_subdirectory(src/appl)
endif ()
if (JAS_ENABLE_DOC)
add_subdirectory(doc)
endif ()
Expand Down

0 comments on commit e02518c

Please sign in to comment.