On 9/2/2010 1:43 PM, Ingolf Steinbach wrote:
Hi,

2010/9/2 Ryan Pavlik<[email protected]>:
  Set the appropriate variables at the top of the CMakeLists.txt file of the
given subdirectory.  Each add_subdirectory call creates a new scope, so
variables set in sub-directories do not propagate to parents unless
specifically told to.
But which variables would I have to set? Up to now I have used
set_target_properties(... LINK_FLAGS ...).

Kind regards
Ingolf

CMAKE_EXE_LINKER_FLAGS
http://cmake.org/cmake/help/cmake-2-8-docs.html#variable:CMAKE_EXE_LINKER_FLAGS

I could have sworn there were matching variables for the other target types, but I can't seem to find them on the online documentation.

Hope this helps!

Ryan

--
Ryan Pavlik
HCI Graduate Student
Virtual Reality Applications Center
Iowa State University

[email protected]
http://academic.cleardefinition.com
Internal VRAC/HCI Site: http://tinyurl.com/rpavlik

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to