Skip to content

Commit

Permalink
cmake build system: add command line flag to avoid installing old help
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Blechmann <tim@klingt.org>
  • Loading branch information
timblechmann committed Sep 25, 2011
1 parent 81ae212 commit 5b43805
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ option(SSE42 "Compile with support for SSE4.2 instructions.")


option(INSTALL_HELP "Install help docs and examples along with the software" ON)
option(INSTALL_OLD_HELP "Install old and deprecated help files" ON)
option(SC_DOC_RENDER "Pre-render SCDoc documentation. (For putting online, etc)" OFF)

if(CMAKE_SYSTEM_NAME MATCHES "Linux")
Expand Down Expand Up @@ -350,8 +351,15 @@ endif()
install(DIRECTORY sounds
DESTINATION ${auxresourcesdir}
)

if(INSTALL_OLD_HELP)
install(DIRECTORY Help
DESTINATION ${auxresourcesdir}
)
endif()

if(INSTALL_HELP)
install(DIRECTORY Help examples HelpSource
install(DIRECTORY examples HelpSource
DESTINATION ${auxresourcesdir}
)
endif()
Expand Down

0 comments on commit 5b43805

Please sign in to comment.