Skip to content

Commit

Permalink
#20 Find cppwg in pipx
Browse files Browse the repository at this point in the history
  • Loading branch information
kwabenantim committed Nov 14, 2024
1 parent fa009a4 commit 219e371
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-cells-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
use-mamba: true
miniforge-version: latest
python-version: ${{ matrix.python-version }}
channels: conda-forge
conda-remove-defaults: "true"
channels: conda-forge,defaults
conda-remove-defaults: "false"

- name: Install cppwg
run: |
Expand Down
3 changes: 2 additions & 1 deletion examples/cells/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ if(SKBUILD)
endif()

# Target for re-generating wrappers
find_program(CPPWG cppwg)
add_custom_target(pycells_wrappers
COMMAND ${Python3_EXECUTABLE} -m cppwg ${CMAKE_SOURCE_DIR}/src/cpp
COMMAND ${CPPWG} ${CMAKE_SOURCE_DIR}/src/cpp
-w ${CMAKE_SOURCE_DIR}/dynamic/wrappers
-p ${CMAKE_SOURCE_DIR}/dynamic/config.yaml
-i "$<JOIN:$<TARGET_PROPERTY:_pycells_all,INCLUDE_DIRECTORIES>,;>"
Expand Down

0 comments on commit 219e371

Please sign in to comment.