<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Courier New, Courier, monospace">I would like to use
      OBJECT libraries with CUDA.<br>
      <br>
      If I try<br>
      <br>
      cuda_add_library(foo OBJECT <some .cpp files> <some .cu
      files>)<br>
      <br>
      I get<br>
      <br>
      CMake Error at
      /opt/contrib-clangcxx11/cmake-3.2.2-ser/share/cmake-3.2/Modules/FindCUDA.cmake:1518

      (add_library):<br>
        OBJECT library "txsbaseobj" contains:<br>
      <br>
          txsbaseobj_generated_TxsGpuInterpolator.cu.o<br>
          txsbaseobj_generated_TxsBaseTestKernels.cu.o<br>
          txsbaseobj_intermediate_link.o<br>
      <br>
      <br>
      Is there a standard way of dealing with this?<br>
      <br>
      Thx.......</font>
  </body>
</html>