<div dir="ltr"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Greetings,<br><span style="background-color:rgb(255,255,255)"><span></span></span><br></div><div>Can I add a variable, was set before, to add_executable ?<br><br>set(PROJ_NAME Test01)<br>,,,<br></div><div>file( GLOB ${PROJ_NAME}_SRC "*.h" "*.cpp" )<br></div><div>add_executable( ${PROJ_NAME}  ${PROJ_NAME}_SRC)<br></div><div dir="ltr">...<br><br></div><div>error in add_executable(..)<br><br></div><div>Any help is appreciated.<br></div><div dir="ltr"><br>Best Regards,<br>Joshua Robinson<br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>