Skip to content

Commit

Permalink
Set project layout for IDEs
Browse files Browse the repository at this point in the history
  • Loading branch information
deniskovalchuk committed Sep 11, 2023
1 parent b5069fd commit 1dda5ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ set(sources
test_helpers.hpp
utils.cpp)

# Set project layout for IDEs.
get_filename_component(parent_dir "${CMAKE_CURRENT_SOURCE_DIR}" DIRECTORY)
source_group(TREE "${parent_dir}" FILES ${sources})

add_executable(ftp_tests ${sources})

target_link_libraries(ftp_tests
Expand Down

0 comments on commit 1dda5ce

Please sign in to comment.