build-automation

Generate C# project using CMake

旧时模样 提交于 2019-11-27 18:06:56
I'm trying to generate a C# project within an existing C++ CMake code base on Windows. After some research, I could find only two projects that built their own CSharp compilers for CMake: gdcm and kde . I tried both of them. Unfortunately, the first one failed to generate a C# project. Instead it created a VS C++ project with cs files in it, and because of C++ flags set for linker, the build always failed with errors. After experimenting with the sample project they provided, I wonder whether this could be due to a limitation of the "Visual Studio 8 2005" code generator? The second project was

Delphi MSBuild Build Configurations From Command Line

谁都会走 提交于 2019-11-27 18:00:25
Delphi 2009 uses build configurations . When you create a new project you have two default build configurations "Debug" and "Release". Now I asked myself how to automate builds using MSBuild (which is supported by Delphi since version 2007). You can start the "msbuild" command in the "RAD Studio Command Prompt" in some Delphi project directory and it will build the default build configuration (the last activated build configuration inside the Delphi IDE). Now, I want to specify a certain (non-default) build configuration by a command line parameter. The Delphi help asserts that the parameter

Build NuGet Package automatically including referenced dependencies

你说的曾经没有我的故事 提交于 2019-11-27 17:48:46
I want to run a local/internal NuGet repository . I think I've figured out how to "reuse" existing NuGet packages by including them in a dummy project using NuGet and scanning the package file to grab my locally-cached .nupkg files , but... How do you create a nuget package ( .nupkg ) from a project, automatically including all dll dependencies and not just those grabbed via NuGet? Specifically: Create a solution Add a new Project Add references to various .dll files/other projects <-- this is the missing part Add NuGet packages via package manager / cmdline / whatever something automatically

TFS 2010 Custom Build Activity TF215097 error

孤街醉人 提交于 2019-11-27 17:32:46
问题 For the Build Process in TFS 2010 I've created a library containing some custom code activities. In the past it all worked fine by adding the library (*.dll) to Source Control and setting the 'Build Controller - Version Control Path to Custom Assemblies' to the path where the library could be found in Source Control. But since a few days (and I've been updating the library often) the build doesn't succeed anymore. The error reported is: TF215097: An error occurred while initializing a build

Getting started with autotools

我是研究僧i 提交于 2019-11-27 16:58:18
Anyone recommend how a person could get started with autotools in building a C project? Follow the autotools tutorial . You can also get the autobook . Chapter 4 covers a minimal GNU autotools project. Alexandre Duret-Lutz 's tutorial is my resource of choice. There are also: Autotools: a practitioner's guide to Autoconf, Automake and Libtool Autotools Mythbuster To me, the autobook is not up to date anymore and more difficult to read. However it still contains interesting chapters like Writing Portable Bourne Shell . Also, consider learning about non-recursive automake which addresses the

How do I remove app from iOS 8 Simulator from command line?

给你一囗甜甜゛ 提交于 2019-11-27 13:44:54
问题 I have an automation running in the iOS Simulator that I have to remove before another run. How do I remove the app from the iOS Simulator from the command line? For each simulator device directory (located at ~/Library/Developer/CoreSimulator/Devices/* ), I tried to delete ./data/Containers/Bundle/Application/ and ./data/Containers/Data/Application/ . Even when I tried to delete the app by long pressing the app in the Simulator (the app becomes jiggly) and click on the X button, the user

Could Free Pascal benefit of something like Apache Maven?

百般思念 提交于 2019-11-27 13:29:42
问题 Apache Maven is a very popular build and dependency management tool in the Java open source ecosphere. I did some tests to find out if it can handle compiled Free Pascal / Delphi units and found it easy to implement. So it would be possible to release open source libraries precompiled for Free Pascal (or Delphi) in a public Maven repository include metadata in this repository which contains dependency information use Maven on the command line to download the open source library from the

Configure Intellij IDEA to run batch file

耗尽温柔 提交于 2019-11-27 13:28:17
问题 I'm using InteliJ IDEA (Community addition) and I found myself doing some file transfers to and from the project folder. After reapeating the task for a while I've created some batch scripts that transfering the files automaticly. Now, I'll be much more happy if I could run the scripts directly from the IDE - by pressing a button for example... Question is: Can I add buttons to IntelliJ IDE - that will run a batch file? If it's possible I'll be happy to know how it can be done. Thanks! 回答1:

Automatic Copy of Dependent Files in Qt Creator

二次信任 提交于 2019-11-27 13:07:20
问题 I've build a program using Qt Creator 2.2.1 and Qt 4.7.4 (32 bit) whose output is an executable. Opening the exe using DependencyWalker it shows that the exe uses following DLLs: KERNEL32.DLL MSVCRT.DLL MINGWM10.DLL LIBGCC_S_DW2-1.DLL QTCORE4.DLL QTGUI4.DLL I want after the build all dependent files (which may be different in some other project) except Windows specific files (the first two in the above list) to be automatically copied in the directory where the exe is located. How can I do it

How to make MSBuild to automatically copy all indirect references to output (bin) folder

强颜欢笑 提交于 2019-11-27 12:51:34
问题 Subj. "Automatically" is essential here. References from GAC must not be copied. I've seen e.g. VS2008.NET: Getting a referenced project’s dependencies to copy to main project’s bin folder, and this isn't interesting for me. I'd like all the dependencies get copied automatically. 回答1: For C++ projects, i.e. *.vcxproj set the <OutDir> property. for C# projects, i.e. *.csproj set the <OutputPath> property. Make sure nothing overwrites those properties. In all my years doing builds for major,