The documentation says:<br><br>OUTPUT_NAME sets the real name of a target when it is built and can be
used to help create two targets of the same name even though CMake
requires unique logical target names.<br><br>The target being built here seems to be the VCPROJ when using "cmake -G" for visual studio 2008. Can someone help me understand the purpose of OUTPUT_NAME if I am mistaken?<br>
<br><div class="gmail_quote">On Thu, Dec 4, 2008 at 10:32 PM, Mike Jackson <span dir="ltr"><<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#FFFFFF"><div>Nope. Sorry.<br><br>Sent from my iPod</div><div><div></div><div class="Wj3C7c"><div><br>On Dec 4, 2008, at 22:55, "Robert Dailey" <<a href="mailto:rcdailey@gmail.com" target="_blank">rcdailey@gmail.com</a>> wrote:<br>
<br></div><div></div><blockquote type="cite"><div>I wanted my vcproj files to be placed in "test_projects". Any idea how I can make this happen?<br><br><div class="gmail_quote">On Thu, Dec 4, 2008 at 8:30 PM, Mike Jackson <span dir="ltr"><<a href="mailto:mike.jackson@bluequartz.net" target="_blank"></a><a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">CMAKE_CURRENT_SOURCE_DIR denotes your source tree and NOT the build<br>
tree. Are you building in your source tree instead of using a<br>
dedicated build directory?<br>
<br>
To answer your code you are setting the output directory of where the<br>
executable will be placed in a directory called "test_projects" at the<br>
top level of your build tree.<br>
<br>
Mike Jackson<br>
<div><div></div><div><br>
<br>
On Thu, Dec 4, 2008 at 7:40 PM, Robert Dailey <<a href="mailto:rcdailey@gmail.com" target="_blank"></a><a href="mailto:rcdailey@gmail.com" target="_blank">rcdailey@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I'm trying to use set_target_properties() to make CMake place generated<br>
> vcproj files in a subdirectory of ${CMAKE_CURRENT_SOURCE_DIR}. This isn't<br>
> working and I'm not sure what I'm doing wrong. Below is what I'm doing:<br>
><br>
> set( test_project_name ${project_name}_test_${test_name} )<br>
> project( ${test_project_name} )<br>
> source_group( "" ${file} )<br>
> add_executable( ${test_project_name} ${file} )<br>
> set_target_properties( ${test_project_name} PROPERTIES<br>
> OUTPUT_NAME test_projects/${test_project_name} )<br>
><br>
> My project should be getting placed inside of a test_projects subdirectory,<br>
> right?<br>
><br>
</div></div>> _______________________________________________<br>
> CMake mailing list<br>
> <a href="mailto:CMake@cmake.org" target="_blank"></a><a href="mailto:CMake@cmake.org" target="_blank">CMake@cmake.org</a><br>
> <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank"></a><a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
><br>
</blockquote></div><br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>CMake mailing list</span><br><span><a href="mailto:CMake@cmake.org" target="_blank">CMake@cmake.org</a></span><br>
<span><a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a></span></div></blockquote></div></div></div></blockquote></div><br>