<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Hello CMake community,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I have experience using CMake to generate sime cuda-enabled executables 
(where the cpp’s reside in one folder, etc.).</DIV>
<DIV>I am attempting to move a large project that utilizes CMake, from just c++ 
to CUDA enabled c++.&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>It is a project that generates a large set of libraries (comprising a 
toolkit), using various cmake scripts.&nbsp; I have modified the “add_libraries” 
call to be “cuda_add_libraries”, and changed all of the .cc files to .cu (but 
with no additional CUDA code).&nbsp; An approach I thought would be similar to 
changing a simple program from add_executable to “cuda_add_executable” and 
renaming the extension to “.cu”</DIV>
<DIV>My goal was first to have it compile properly in its original form post 
migration, but am met with some very strange errors in visual studio.&nbsp; 
</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am wondering if anyone else has undertaken such a migration before 
(libraries or binaries), and if so, what types of general steps need to be taken 
other than just telling CMake we’re adding “.cu” files?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks all in advance,</DIV>
<DIV>Ming</DIV></DIV></DIV></BODY></HTML>