Skip to content

Commit

Permalink
Reorders
Browse files Browse the repository at this point in the history
  • Loading branch information
deniskovalchuk committed Sep 10, 2023
1 parent 8013d8c commit 537c001
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ project(ftp

string(COMPARE EQUAL "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}" is_top_level)

option(LIBFTP_BUILD_APPS "Build the applications" ${is_top_level})
option(LIBFTP_BUILD_EXAMPLES "Build the examples" ${is_top_level})
option(LIBFTP_BUILD_TESTS "Build the tests" ${is_top_level})
option(LIBFTP_BUILD_EXAMPLES "Build the examples" ${is_top_level})
option(LIBFTP_BUILD_CMDLINE_CLIENT "Build the command-line FTP client application" ${is_top_level})

add_subdirectory(src)

if (LIBFTP_BUILD_APPS)
add_subdirectory(apps)
if (LIBFTP_BUILD_TESTS)
enable_testing()
add_subdirectory(tests)
endif()

if (LIBFTP_BUILD_EXAMPLES)
add_subdirectory(examples)
endif()

if (LIBFTP_BUILD_TESTS)
enable_testing()
add_subdirectory(tests)
if (LIBFTP_BUILD_CMDLINE_CLIENT)
add_subdirectory(apps)
endif()

0 comments on commit 537c001

Please sign in to comment.