Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 1.17 KB

README.md

File metadata and controls

24 lines (20 loc) · 1.17 KB

This is a template of how to get started with vxl, pyvxl, and your own pybind11 package

Getting started

source 'setup.env'
just setup
just run vxl

Configuring the template

  1. Edit ./CMakeFiles.txt and change project to your project name, and rename PROJ_ variables to your own PREFIX_
  2. Rename hello to what you want to call it and replace with your own files. (I will reference the new name as {hello}, but substitute the actual name when following these instructions)
  3. Update ./CMakeFiles.txt and find the add_subdirectory line for hello and change to {hello}
  4. Update ./{hello}/CMakeFiles.txt to reflect your new files
  5. Update ./{hello}/tests/CMakeFiles.txt to reflect your new names
  6. Rename ./pyproj to your name ({pyproj} refers to the new name)
  7. Update ./CMakeFiles.txt and find the add_subdirectory line for pyproj and change to {pyproj}
  8. Rename ./{pyproj}/{pyhello}.* files
  9. Update pyproj and pyhello names in {pyproj}/CMakeList.txt
  10. Update pyproj and pyhello names in {pyproj}/tests/CMakeList.txt
  11. Update proj in PYBIND11_MODULE line of {pyproj}/{pyproj.cxx}

Clean and rebuild