[brlcad-commits] SF.net SVN: brlcad:[49922] brlcad/trunk/misc/CMake/Distcheck.cmake
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <sta...@us...> - 2012-04-05 17:07:53
|
Revision: 49922 http://brlcad.svn.sourceforge.net/brlcad/?rev=49922&view=rev Author: starseeker Date: 2012-04-05 17:07:41 +0000 (Thu, 05 Apr 2012) Log Message: ----------- Whoops - right, this should be a macro. Modified Paths: -------------- brlcad/trunk/misc/CMake/Distcheck.cmake Modified: brlcad/trunk/misc/CMake/Distcheck.cmake =================================================================== --- brlcad/trunk/misc/CMake/Distcheck.cmake 2012-04-05 16:59:43 UTC (rev 49921) +++ brlcad/trunk/misc/CMake/Distcheck.cmake 2012-04-05 17:07:41 UTC (rev 49922) @@ -32,7 +32,7 @@ DEPENDS distcheck-repo-verify) # Utility function for defining individual distcheck targets - function(CREATE_DISTCHECK TARGET_SUFFIX CMAKE_OPTS source_dir build_dir install_dir) + macro(CREATE_DISTCHECK TARGET_SUFFIX CMAKE_OPTS source_dir build_dir install_dir) # Check if a custom template was specified (optional) if(NOT "${ARGV5}" STREQUAL "") set(distcheck_template_file "${BRLCAD_CMAKE_DIR}/${ARGV5}") @@ -83,7 +83,7 @@ else(NOT not_in_all) message(WARNING "Distcheck target distcheck-${TARGET_SUFFIX} already defined, skipping...") endif(NOT not_in_all) - endfunction(CREATE_DISTCHECK) + endmacro(CREATE_DISTCHECK) # Top level macro for defining the common "standard" cases and lets a CMake build select either # the standard Debug + Release or all defined distchecks as the build that is triggered by the This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |