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">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 class="Wj3C7c"><br>
<br>
On Thu, Dec 4, 2008 at 7:40 PM, Robert Dailey <<a href="mailto:rcdailey@gmail.com">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">CMake@cmake.org</a><br>
> <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
><br>
</blockquote></div><br>