{"action":"created","issue":{"url":"https://api.github.com/repos/RobotLocomotion/drake/issues/1325","repository_url":"https://api.github.com/repos/RobotLocomotion/drake","labels_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/1325/labels{/name}","comments_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/1325/comments","events_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/1325/events","html_url":"https://github.com/RobotLocomotion/drake/issues/1325","id":105349229,"number":1325,"title":"separate configure and build steps for gnu make pods externals? ","user":{"login":"RussTedrake","id":6442292,"avatar_url":"https://avatars.githubusercontent.com/u/6442292?v=3","gravatar_id":"","url":"https://api.github.com/users/RussTedrake","html_url":"https://github.com/RussTedrake","followers_url":"https://api.github.com/users/RussTedrake/followers","following_url":"https://api.github.com/users/RussTedrake/following{/other_user}","gists_url":"https://api.github.com/users/RussTedrake/gists{/gist_id}","starred_url":"https://api.github.com/users/RussTedrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RussTedrake/subscriptions","organizations_url":"https://api.github.com/users/RussTedrake/orgs","repos_url":"https://api.github.com/users/RussTedrake/repos","events_url":"https://api.github.com/users/RussTedrake/events{/privacy}","received_events_url":"https://api.github.com/users/RussTedrake/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-08T10:29:32Z","updated_at":"2016-05-01T02:39:50Z","closed_at":null,"body":"Just noticed that one result of us calling make exactly once is that we pass in the BUILD_TYPE for both the configure and build steps.  On msvc, that results in project files being built which support multiple build types, but are all hard-coded with the types passed in a configure time:\r\n\r\n```\r\nif %errorlevel% neq 0 goto :VCEnd</Command>\r\n      <AdditionalInputs Condition=\"'$(Configuration)|$(Platform)'=='Debug|x64'\">Z:/russt/drake-distro-win/pod-build/CMakeFiles/04423273ec4096187fbff0ee69951c62/gtk-build.rule;Z:\\russt\\drake-distro-win\\pod-build\\gtk-prefix\\src\\gtk-stamp\\$(Configuration)\\gtk-configure;%(AdditionalInputs)</AdditionalInputs>\r\n      <Outputs Condition=\"'$(Configuration)|$(Platform)'=='Debug|x64'\">Z:\\russt\\drake-distro-win\\pod-build\\gtk-prefix\\src\\gtk-stamp\\$(Configuration)\\gtk-build</Outputs>\r\n      <LinkObjects Condition=\"'$(Configuration)|$(Platform)'=='Debug|x64'\">false</LinkObjects>\r\n      <Message Condition=\"'$(Configuration)|$(Platform)'=='Release|x64'\">Performing build step for 'gtk'</Message>\r\n      <Command Condition=\"'$(Configuration)|$(Platform)'=='Release|x64'\">setlocal\r\ncd Z:\\russt\\drake-distro-win\\externals\\gtk\r\nif %errorlevel% neq 0 goto :cmEnd\r\nZ:\r\nif %errorlevel% neq 0 goto :cmEnd\r\n\"C:\\Program Files (x86)\\GnuWin32\\bin\\make.exe\" BUILD_PREFIX=Z:/russt/drake-distro-win/build BUILD_TYPE=Release\r\nif %errorlevel% neq 0 goto :cmEnd\r\n\"C:\\Program Files (x86)\\CMake\\bin\\cmake.exe\" -E touch Z:/russt/drake-distro-win/pod-build/gtk-prefix/src/gtk-stamp/$(Configuration)/gtk-build\r\nif %errorlevel% neq 0 goto :cmEnd\r\n:cmEnd\r\nendlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone\r\n:cmErrorLevel\r\nexit /b %1\r\n:cmDone\r\nif %errorlevel% neq 0 goto :VCEnd</Command>\r\n      <AdditionalInputs Condition=\"'$(Configuration)|$(Platform)'=='Release|x64'\">Z:/russt/drake-distro-win/pod-build/CMakeFiles/04423273ec4096187fbff0ee69951c62/gtk-build.rule;Z:\\russt\\drake-distro-win\\pod-build\\gtk-prefix\\src\\gtk-stamp\\$(Configuration)\\gtk-configure;%(AdditionalInputs)</AdditionalInputs>\r\n      <Outputs Condition=\"'$(Configuration)|$(Platform)'=='Release|x64'\">Z:\\russt\\drake-distro-win\\pod-build\\gtk-prefix\\src\\gtk-stamp\\$(Configuration)\\gtk-build</Outputs>\r\n      <LinkObjects Condition=\"'$(Configuration)|$(Platform)'=='Release|x64'\">false</LinkObjects>\r\n      <Message Condition=\"'$(Configuration)|$(Platform)'=='MinSizeRel|x64'\">Performing build step for 'gtk'</Message>\r\n      <Command Condition=\"'$(Configuration)|$(Platform)'=='MinSizeRel|x64'\">setlocal\r\ncd Z:\\russt\\drake-distro-win\\externals\\gtk\r\nif %errorlevel% neq 0 goto :cmEnd\r\nZ:\r\nif %errorlevel% neq 0 goto :cmEnd\r\n\"C:\\Program Files (x86)\\GnuWin32\\bin\\make.exe\" BUILD_PREFIX=Z:/russt/drake-distro-win/build BUILD_TYPE=Release\r\nif %errorlevel% neq 0 goto :cmEnd\r\n\"C:\\Program Files (x86)\\CMake\\bin\\cmake.exe\" -E touch Z:/russt/drake-distro-win/pod-build/gtk-prefix/src/gtk-stamp/$(Configuration)/gtk-build\r\nif %errorlevel% neq 0 goto :cmEnd\r\n:cmEnd\r\nendlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone\r\n:cmErrorLevel\r\nexit /b %1\r\n:cmDone\r\nif %errorlevel% neq 0 goto :VCEnd</Command>\r\n```"},"comment":{"url":"https://api.github.com/repos/RobotLocomotion/drake/issues/comments/216010965","html_url":"https://github.com/RobotLocomotion/drake/issues/1325#issuecomment-216010965","issue_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/1325","id":216010965,"user":{"login":"RussTedrake","id":6442292,"avatar_url":"https://avatars.githubusercontent.com/u/6442292?v=3","gravatar_id":"","url":"https://api.github.com/users/RussTedrake","html_url":"https://github.com/RussTedrake","followers_url":"https://api.github.com/users/RussTedrake/followers","following_url":"https://api.github.com/users/RussTedrake/following{/other_user}","gists_url":"https://api.github.com/users/RussTedrake/gists{/gist_id}","starred_url":"https://api.github.com/users/RussTedrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RussTedrake/subscriptions","organizations_url":"https://api.github.com/users/RussTedrake/orgs","repos_url":"https://api.github.com/users/RussTedrake/repos","events_url":"https://api.github.com/users/RussTedrake/events{/privacy}","received_events_url":"https://api.github.com/users/RussTedrake/received_events","type":"User","site_admin":false},"created_at":"2016-05-01T02:39:50Z","updated_at":"2016-05-01T02:39:50Z","body":"now i believe it has been resolved.  @sherm1 -- please correct me if I'm wrong"}}