Skip to content

Commit

Permalink
(semi-experiment: cont)
Browse files Browse the repository at this point in the history
  • Loading branch information
ygoldfeld committed Feb 25, 2024
1 parent f9e6b19 commit 0ad84ee
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,11 @@ foreach(ipc_meta_project ${IPC_META_PROJECTS})
endblock()
endforeach()

include("${FLOW_LIKE_META_ROOT_flow}/tools/cmake/FlowLikeProject.cmake")
include("${FLOW_LIKE_META_ROOT_flow}/tools/cmake/FlowLikeProject.cmake") # Determine $PROJ_VERSION, at least.
project(${PROJ_CAMEL} VERSION ${PROJ_VERSION} DESCRIPTION ${PROJ_HUMAN} LANGUAGES CXX)

# Got through that; now actually do the add_subdirectory()s. Output/error handling is crisper this way than doing
# add_subdirectory() within the above loop.
# Got through that; now actually do the add_subdirectory()s. This needs to below the project() call just above.
# (Also, output/error handling is crisper this way than doing add_subdirectory() within the above loop.)
foreach(ipc_meta_project ${IPC_META_PROJECTS})
# Finally! Note in the build output the name is normalized to simply ${ipc_meta_project} (e.g., "flow").
add_subdirectory(${FLOW_LIKE_META_ROOT_${ipc_meta_project}} ${ipc_meta_project})
Expand Down

0 comments on commit 0ad84ee

Please sign in to comment.