title: How can I create an executable linking the pybind11 module I created
body: <p>The following works. It creates an executable and links to test_pybind11_module.</p>
  <pre><code>add_executable(test_pybind11 test_pybind11.cpp)
  target_link_libraries(test_pybind11 PRIVATE pybind11::embed)
  pybind11_add_module(test_pybind11_module SHARED test_pybind11.cpp)
  
  </code></pre>
  <p>All good with the above. However, I want to link another executable(larger application) which resides in another folder in the project with test_pybind11_module.</p>
  <p>I tried the below unsuccessfully - It fails to link to the methods defined in test_pybind11_module(test_pybind11.cpp). Note I cant really specify test_pybind11_module anywhere strangely and I do not want to have the source file(test_pybind11.cpp) to be part of the ${LARGE_APP_SOURCES} - that will be ugly.</p>
  <pre><code>add_executable( large_app ${LARGE_APP_SOURCES} )
  target_link_libraries(large_app pybind11::embed pybind11::module ${LARGE_APP_LIBS} )
  </code></pre>
  <p>Any idea how can I achieve this?</p>