Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11
Commits
c2514340
Commit
c2514340
authored
Jun 10, 2019
by
nstelzen
Committed by
Wenzel Jakob
Jun 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added note in documentation regarding make install (#1801)
* Added note regarding make install
parent
97784dad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
docs/compiling.rst
+12
-0
No files found.
docs/compiling.rst
View file @
c2514340
...
@@ -149,6 +149,18 @@ See the `Config file`_ docstring for details of relevant CMake variables.
...
@@ -149,6 +149,18 @@ See the `Config file`_ docstring for details of relevant CMake variables.
find_package(pybind11 REQUIRED)
find_package(pybind11 REQUIRED)
pybind11_add_module(example example.cpp)
pybind11_add_module(example example.cpp)
Note that ``find_package(pybind11)`` will only work correctly if pybind11
has been correctly installed on the system, e. g. after downloading or cloning
the pybind11 repository :
.. code-block:: bash
cd pybind11
mkdir build
cd build
cmake ..
make install
Once detected, the aforementioned ``pybind11_add_module`` can be employed as
Once detected, the aforementioned ``pybind11_add_module`` can be employed as
before. The function usage and configuration variables are identical no matter
before. The function usage and configuration variables are identical no matter
if pybind11 is added as a subdirectory or found as an installed package. You
if pybind11 is added as a subdirectory or found as an installed package. You
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment