build-process

How can I make Visual Studio's build be very verbose?

我与影子孤独终老i 提交于 2019-12-17 04:47:54
问题 I need to get a hold of every flag, every switch used in the build process by the Visual Studio binaries. I tried to obtain a verbose output by using vcbuild , but I wasn't able. What do I have to do to see everything performed by Visual Studio for me? It's not necessary to obtain the output in the build window. Anywhere would be fine. 回答1: Open the project properties dialog, then choose Configuration Properties → C/C++ → General Change the setting for Suppress Startup Banner to No The cl

How can I make Visual Studio's build be very verbose?

此生再无相见时 提交于 2019-12-17 04:47:13
问题 I need to get a hold of every flag, every switch used in the build process by the Visual Studio binaries. I tried to obtain a verbose output by using vcbuild , but I wasn't able. What do I have to do to see everything performed by Visual Studio for me? It's not necessary to obtain the output in the build window. Anywhere would be fine. 回答1: Open the project properties dialog, then choose Configuration Properties → C/C++ → General Change the setting for Suppress Startup Banner to No The cl

Can I compile all .cpp files in src/ to .o's in obj/, then link to binary in ./?

不问归期 提交于 2019-12-17 03:21:43
问题 My project directory looks like this: /project Makefile main /src main.cpp foo.cpp foo.h bar.cpp bar.h /obj main.o foo.o bar.o What I would like my makefile to do would be to compile all .cpp files in the /src folder to .o files in the /obj folder, then link all the .o files in /obj into the output binary in the top-level folder /project . I have next to no experience with Makefiles, and am not really sure what to search for to accomplish this. Also, is this a "good" way to do this, or is

How do I get the Git commit count?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-16 22:23:12
问题 I'd like to get the number of commits of my Git repository, a bit like SVN revision numbers. The goal is to use it as a unique, incrementing build number. I currently do like that, on Unix/Cygwin/msysGit: git log --pretty=format:'' | wc -l But I feel it's a bit of a hack. Is there a better way to do that? It would be cool if I actually didn't need wc or even Git, so it could work on a bare Windows. Just read a file or a directory structure... 回答1: To get a commit count for a revision ( HEAD ,

How to include a parent Spring project (using Git submodule)?

本秂侑毒 提交于 2019-12-14 01:52:54
问题 I'm currently developing multiple web applications using Spring. I'm using Maven for building and Git for version control. At the moment I'm trying to find a way to split development of some things used by all webapps, e.g. I have some helper classes that are the same for all projects. The problem is, I don't want to use only classes, but also resource files and some sort of parent POM while still being independent from a repository and able to benefit from Git. Although I'm not enthusiastic

How can I get the build number of a Visual Studio project to increment?

大憨熊 提交于 2019-12-14 01:09:35
问题 Why does building a project in Visual Studio not increment the Build number? I've got this in AssemblyInfo.cs: [assembly: AssemblyVersion("1.5.*")] ...and this in frmAbout's constructor: Version versionInfo = Assembly.GetExecutingAssembly().GetName().Version; String versionStr = String.Format("{0}.{1}.{2}.{3}", versionInfo.Major.ToString(), versionInfo.Minor.ToString(), versionInfo.Build.ToString(), versionInfo.Revision.ToString()); lblVersion.Text = String.Format("Version {0}", versionStr);

Maven - which projects or techologies you are using it for?

╄→尐↘猪︶ㄣ 提交于 2019-12-13 16:07:57
问题 I've been leading rather large project that strives to "Mavenize" various testing apps produced by the engineering tools group over past 5+ years to test and optimize our home-built database. So far our group managed to successfully retrofit (beside obvious Java) few Coldfusion -based apps, PHP app, large .NET app with about 30 modules and currently working on roughly 40 C/C++ apps. Actually, once you abstract yourself from Java-centric nature of Maven and throw in few useful plugins such as

How to restart the IIS Site when re-compiling an asp.net website

假装没事ソ 提交于 2019-12-13 15:17:45
问题 What is the best way to add into the build/compile script of an Asp.net project to initiate a IIS to restart the website on DLL rebuild instead of the first request to the site. Current Process Compile Project Wait Hit APSX Page IIS starts reload Wait Page loads Ideal process: Compile Project & Reload IIS Wait Hit APSX Page Page loads The first way I though of was add a request to just hit one of the pages in the "Post-Build events". Just wondering best practices. This would be similar to

Maven - Include Different Files at Build Time

╄→гoц情女王★ 提交于 2019-12-13 13:19:38
问题 I have ten WAR files, all of which have nearly identical code and markup. The only differences lie in the images, CSS and Messages. I hit on the concept of Profiles but I haven't quite groked it yet and I'm not sure if this can handle what I need it to do. Basically, I want a base project with different profiles for the 10 different WARs. Whenever a build is started with a given profile, it goes to a repository (either local or my organization's) and retrieves the CSS, images and messages

Building Vocaluxe on Windows using Visual Studio 2012 or Xamarin Studio on Windows

你。 提交于 2019-12-13 04:41:45
问题 I want to build https://github.com/Vocaluxe/Vocaluxe/ on windows. I currently have installed mono-3.2.3 with gtksharp-2.12.11, howerver I can't build that project neither on Microsoft Visual Studio 2012 nor on Xamarin studio. When Vacaluxe is opened in Visual Studio 2012, two warning messages appear instantly. Visual Studio complains that: 1) The referenced component 'SlimDX' could not be found and 2) The referenced component 'System.Data.SQLite' could not be found. As a result build fails.