Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ RUN mkdir -p /home/vscode/.local/share/CMakeTools \
&& chown vscode:conda /home/vscode/.local/share/CMakeTools/cmake-tools-kits.json

# Install the yardl tool
ARG YARDL_VERSION=0.6.3
ARG YARDL_VERSION=0.6.5
RUN wget --quiet "https://github.com/microsoft/yardl/releases/download/v${YARDL_VERSION}/yardl_${YARDL_VERSION}_linux_x86_64.tar.gz" \
&& tar -xzf "yardl_${YARDL_VERSION}_linux_x86_64.tar.gz" \
&& mv yardl "/opt/conda/envs/${CONDA_ENVIRONMENT_NAME}/bin/" \
Expand Down
10 changes: 3 additions & 7 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,15 @@ else()
add_compile_options(-Wall -Wextra -pedantic)
endif()

set(PETSIRD_dir ../PETSIRD/cpp/generated)
add_subdirectory(${PETSIRD_dir} PETSIRD_generated)
set(PETSIRD_dir ../PETSIRD/cpp/)
add_subdirectory(${PETSIRD_dir} PETSIRD)

# Add any packages, below is an example for ROOT (unlikely you'll need that one though!)
# find_package(ROOT REQUIRED COMPONENTS Tree)

# Example lines for a new executable
# add_executable(my_prog my_prog.cpp)
# target_include_directories(my_prog PUBLIC ${PETSIRD_dir})
# needed for helpers
# target_include_directories(my_prog PUBLIC ${PETSIRD_dir}/..)
# target_include_directories(my_prog PUBLIC ${PETSIRD_dir}/../helpers/include)
# target_link_libraries(my_prog PUBLIC petsird_generated)
# target_link_libraries(my_prog PUBLIC petsird_helpers)

# add any dependencies on packages here
# target_link_libraries(my_prog PUBLIC ROOT::Tree)
Expand Down
2 changes: 2 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ default: run
cd cpp/build; \
ninja

@run: build
echo Something here
Loading