custom-build-step

Visual studio custom build step rule?

空扰寡人 提交于 2019-12-30 06:08:59
问题 Using Visual Studio 2008, When I add to a C++ project a file that is not .c/.cpp/.h/.rc or anything the IDE doesn't recognize a dialog pops up which asks me if I want to create a custom build step rule for this kind of files. Does anybody know how to get to this dialog without adding a file? I can't seem to be able to find in any of the menus. Edit: I know all about the .rules file. What I'm talking about is a GUI Dialog from within Visual Studio 2008 which allows you to create and edit these

Visual studio custom build step rule?

六月ゝ 毕业季﹏ 提交于 2019-12-30 06:08:44
问题 Using Visual Studio 2008, When I add to a C++ project a file that is not .c/.cpp/.h/.rc or anything the IDE doesn't recognize a dialog pops up which asks me if I want to create a custom build step rule for this kind of files. Does anybody know how to get to this dialog without adding a file? I can't seem to be able to find in any of the menus. Edit: I know all about the .rules file. What I'm talking about is a GUI Dialog from within Visual Studio 2008 which allows you to create and edit these

VS2008: Add custom build rule to a Property Sheet (vsprops)?

做~自己de王妃 提交于 2019-12-23 19:15:37
问题 I'm using the CUDA .rules file which comes with the CUDA SDK for custom build steps in my project. To save on property duplication I'd like to define the properties of the CUDA rule in a .vsprops file. For some reason, the CUDA rule branch of the properties tree does not show under any of my property sheets, only under the main configurations sheets. I tried editing the .vsprops with a text edition and add the section by hand but there is no change it still does't show when in visual studio.

How can I retrieve a list of all Jenkins build steps available to a job?

只谈情不闲聊 提交于 2019-12-23 04:41:59
问题 I'm currently looking for a way to get a list of all available build steps for a Jenkins job. Kinda like: FreeStyleProject newJob = Jenkins.getInstance().createProject( FreeStyleProject.class, this.jobName ); // TODO: Get the available build steps of the created job, following is pseudocode newJob.getAvailableBuilders(); Thanks in advance! 回答1: Well, apparently Builder.all() does exist. This solved my problem: List<BuildStepDescriptor<? extends Builder>> builders = new ArrayList

How can I retrieve a list of all Jenkins build steps available to a job?

╄→гoц情女王★ 提交于 2019-12-23 04:41:29
问题 I'm currently looking for a way to get a list of all available build steps for a Jenkins job. Kinda like: FreeStyleProject newJob = Jenkins.getInstance().createProject( FreeStyleProject.class, this.jobName ); // TODO: Get the available build steps of the created job, following is pseudocode newJob.getAvailableBuilders(); Thanks in advance! 回答1: Well, apparently Builder.all() does exist. This solved my problem: List<BuildStepDescriptor<? extends Builder>> builders = new ArrayList

MSBuild custom task “Hello World” walkthrough

眉间皱痕 提交于 2019-12-22 04:01:41
问题 Can someone write (or link to) a walkthrough that explains exactly how to create a custom MSBuild task and run it during a build? I'm looking for a custom task that inherits from Microsoft.Build.Utilities.Task and does only this: public override bool Execute() { Log.LogMessage("Hello world!"); return true; } (I've been working on this for hours and keep getting the "The [whatever] task was not found. Check the following" message. I think I must be missing an essential step somewhere. If there

XCode Different Resources For Different Targets

青春壹個敷衍的年華 提交于 2019-12-19 03:08:23
问题 I am developing an iPhone app and there will be a Full as well as a Lite version of that app. In order get both bundles from the same source code and xcode project I added another target to the xcode project. Now, I want to have the Lite target copy only a subset of the resource files to the bundle. But, xcode won't simply let me delete individual files from the "Copy Files to Bundle" build step, since I imported all my resources as folder references. I need this in order to maintain a

Jenkins conditional build step ${GitLastCommit}!=${GIT_COMMIT}

北城余情 提交于 2019-12-13 04:46:21
问题 I've inherited a Jenkins server so I'm trying to determine the purpose of a conditional build step that is failing: Running the build produces this exception: Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'GitLastCommit' in '${GitLastCommit}!=e2859cd109f46e889da99391f149ea68c20b1c75'], action = [Don't run] So the value of GIT_COMMIT is being filled but GitLastCommit is not being filled. Since it doesn't work I'm wondering

How do I resolve error MSB6006: “cmd.exe” exited with code 3?

谁都会走 提交于 2019-12-11 12:08:03
问题 I am getting the following error when building my code: C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 3. Done executing task "CustomBuild" -- FAILED. (TaskId:40) How do I resolve this? 回答1: Open your .vcxproj file as a .xml file (so with Notepad++ or equivalent.) You should be able to search the file for the "CustomBuild" tag. Something in the task defined by that tag is failing. You can test what it is by

Visual Studio custom build event always executing

和自甴很熟 提交于 2019-12-10 16:13:37
问题 I am using the odb compiler as a custom build tool. The build tool is always executing even though the input file is not changing. The command line: odb -Ic:\menuplan\src\ingredient -o c:\menuplan\src\ingredient -d mysql --hxx-prologue "#include \"odb/traits.hxx\"" --generate-query --generate-schema --schema-format separate c:\menuplan\src\ingredient\ing_odb_category.hpp` The input file is: ing_odb_category.hpp . The outputs: ing_odb_category-odb.hxx;ing_odb_category-odb.ixx;ing_odb_category