build-dependencies

Can I nest subrepos in Mercurial?

╄→гoц情女王★ 提交于 2019-12-06 23:03:00
问题 I am having trouble setting up a project in Mercurial with subrepos. Goal: I want to set up the structure like so: -- Build_Repo (this repo will be used to track dependencies) -- Subrepo_A (this is the main source) -- Modules (Part of Subrepo_A) -- Subrepo_B So there are three repos: Build, A, and B. B is nested inside A, A is nested inside the root build repository. The build repo will be used to track dependencies, subrepo A will be used to track the main source files, and subrepo B (and

Automatically added ConstraintLayout dependency in gradle

心不动则不痛 提交于 2019-12-06 00:54:32
问题 Just I update my studio (version 2.3) and build version ('25.0.0') , now, when i try to create new activity then automatically constraintlayout dependency added in my build.gradle file. and layout render as parent ConstraintLayout , can anyone know how to remove this dependency when activity is created. Before activity creation gradle code. dependencies { compile 'com.android.support:support-v4:23.2.1' } After activity creation gradle code. dependencies { compile 'com.android.support:support

How to install dependencies while creating a .deb installer?

痞子三分冷 提交于 2019-12-05 22:39:35
I have created a deb package say abc.deb . Now there are few dependencies like python-dev, python-mysql etc., which are needed to be installed as a part of deb installation itself. (i.e. when user runs dpkg -i abc.deb , the dependencies should also get installed automatically). I am using a control file which contains few parameters like preinst, postinst etc. I tried to add Depends to the control file, but I guess, Depends only stops package installation if dependencies mentioned are not present. How could I install the dependencies as a part of deb package installation itself? I am looking

Using --whole-archive in CMake on a library you build

荒凉一梦 提交于 2019-12-05 12:59:46
I have a CMake project while builds a static library and links it with other code into an executable. For reasons I won't go into, I want this linking to happen with the --whole-archive linker flag. Now, this flag is tricky, since you can't just add it anywhere - you have to toggle it, then list the libraries for which you want it to apply, then untoggle it. I've read somewhere (the URL escapes me) that if you have a pre-existing library, you can effectively add this linker flags by doing the following: # Just an example, find_library calls should really be isolated to separate find modules

How do I reference a dependent project built with a different configuration in Xcode?

微笑、不失礼 提交于 2019-12-05 04:06:46
问题 I have two Xcode projects: Super and Sub . Super has a custom configuration: Enterprise . Sub only has the default configurations: Debug and Release . Super has a target dependency on Sub . When I build Super with the Enterprise configuration, Sub builds with its default configuration: Release . This yields the following hierarchy: Build |-Products |-Enterprise-iphoneos |-Super.app |-Release-iphoneos |-libSub.a |-Sub |-Sub.h Clang fails to build because libSub.a and Sub/Sub.h is normally in

Automatically added ConstraintLayout dependency in gradle

核能气质少年 提交于 2019-12-04 06:51:29
Just I update my studio (version 2.3) and build version ('25.0.0') , now, when i try to create new activity then automatically constraintlayout dependency added in my build.gradle file. and layout render as parent ConstraintLayout , can anyone know how to remove this dependency when activity is created. Before activity creation gradle code. dependencies { compile 'com.android.support:support-v4:23.2.1' } After activity creation gradle code. dependencies { compile 'com.android.support:support-v4:23.2.1' compile 'com.android.support.constraint:constraint-layout:1.0.0' } You can modify default

How to get Maven dependencies printed to a file in a readable format?

你离开我真会死。 提交于 2019-12-03 14:31:30
问题 I am working on a big projects with many pom.xml files and I need to specify all the libraries that I use. This means that I need to read pom.xml files recursively and get groupId, artifactId, scope and version. I checked out mvn dependency:tree but I can't find a way to print it to a file in a readable format. I saw appendOutput but I saw no example on how to use it in cmd. I saw some solutions done in Linux but I only have access to Windows XP. 回答1: This can (at least now) be done with

How to get Maven dependencies printed to a file in a readable format?

佐手、 提交于 2019-12-03 04:19:05
I am working on a big projects with many pom.xml files and I need to specify all the libraries that I use. This means that I need to read pom.xml files recursively and get groupId, artifactId, scope and version. I checked out mvn dependency:tree but I can't find a way to print it to a file in a readable format. I saw appendOutput but I saw no example on how to use it in cmd. I saw some solutions done in Linux but I only have access to Windows XP. This can (at least now) be done with command line options to the dependency:tree plugin. Try: mvn dependency:tree -Doutput=/path/to/file Reference:

Maven managed dependencies - resolving ${project.version} from parent pom

北慕城南 提交于 2019-11-30 07:50:57
How is placeholder ${project.version} resolved for managed properties from parent pom? I've expected that it is resolved globally, so when the parent pom has version 2, ${project.version} would also be resolved to version 2. In parent pom I have: <groupId>my.group</groupId> <artifactId>parent</artifactId> <version>2</version> <packaging>pom</packaging> <dependencyManagement> <dependencies> <dependency> <groupId>my.group</groupId> <artifactId>dep</artifactId> <version>${project.version}</version> </dependency> </dependencies> </dependencyManagement> In child I use <parent> <groupId>my.group<

Xcode 4: How to Add Static Library Target Dependency to Project

て烟熏妆下的殇ゞ 提交于 2019-11-30 03:53:32
I know, this has been asked a few times, but mostly for Xcode 3.x. For the iPad, I have two projects both living in a common workspace Foo, a view-based application and Foolib, a static Cocoa-Touch library the former depending on the latter. I seem unable to work out how to add that dependency. It's not well explained in the documentation, so I tried the following: Click on the Foo project in the Navigation Area on the left, Select Build Phases up the top and expand the Target Dependencies section Click the plus button, but the resulting list is empty. I have also tried to drag/drop the .a