|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r73490 - sandbox/tools/profile_templates2
From: dsaritz_at_[hidden]
Date: 2011-08-02 08:57:36
Author: psiha
Date: 2011-08-02 08:57:34 EDT (Tue, 02 Aug 2011)
New Revision: 73490
URL: http://svn.boost.org/trac/boost/changeset/73490
Log:
Tweak target dependencies (still does not seem to work).
Text files modified:
sandbox/tools/profile_templates2/profiler.cmake | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
Modified: sandbox/tools/profile_templates2/profiler.cmake
==============================================================================
--- sandbox/tools/profile_templates2/profiler.cmake (original)
+++ sandbox/tools/profile_templates2/profiler.cmake 2011-08-02 08:57:34 EDT (Tue, 02 Aug 2011)
@@ -78,7 +78,10 @@
OUTPUT ${target}.template_profile
COMMAND echo "${profiler_cxx_flags} ${INCLUDE_DIRECTORIES}" > "${PROJECT_BINARY_DIR}/${target}.compiler_options.rsp"
COMMAND "${PROJECT_BINARY_DIR}/tools/${CMAKE_CFG_INTDIR}/template.profiler" "${full_compiler_path}" "${response_file_path}" "${CMAKE_CURRENT_SOURCE_DIR}/${src}" "${target}.template_profile"
- DEPENDS ${src} template.profiler
+ DEPENDS ${src}
)
+
add_custom_target( ${target} DEPENDS ${target}.template_profile )
+
+ add_dependencies( ${target} template.profiler )
endfunction()
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk