Questions tagged [subproject]

Use this tag for questions related to a subproject, i.e. a project within a larger project.

is used in questions related to the configuration of a subproject (i.e. a project within a larger project.) in Maven, Xcode, Gradle, etc. .

159 questions
2
votes
2 answers

git - Including submodules into the main repository

It's been about 6 months I used submodules for subprojects developed alongside a main project with a dev team. - v-- Repository (developer(s)) --v - Main project (dev team) - Sub project 1 (me) - Sub project 2 (me) For several reasons now…
Pierre de LESPINAY
  • 44,700
  • 57
  • 210
  • 307
2
votes
0 answers

Xcode include header files from other sub project

I have a main xcode project (in C++) with many subprojects. In subproject A, I want to include some header files in subproject B, and B's product could be a dynamic library. How can I set up so that there will not be "file not found" error or…
2
votes
1 answer

Create a custom target that call subproject custom targets

I've many sub-folders home | |-library1 |-library2 | |-libraryn I have a main CMakeLists.txt in home folder, and a CMakeLists.txt for every subfolder. In every subproject I've a custom target that I use to compile documentation # in…
Jepessen
  • 11,744
  • 14
  • 82
  • 149
2
votes
0 answers

Project architecture with CocoaPods - Private main-project and public sub-project

For my needs I am developing a private main-project which integrates a public sub-project that I've maid. Currently, I have three git repositories: One private repository with the main-project. One public repository with the sub-project. One public…
Jean Lebrument
  • 5,079
  • 8
  • 33
  • 67
2
votes
1 answer

How to avoid CMAKE error "Could NOT find " when is included as "add_subdirectory" of the same master project

I am trying to create a CMAKE project that includes other third party projects (OGRE3D, CEGUI, etc) and my specific project (or projects). More specifically, I have a directory tree like this: + myMasterProject -----+ OGRE3D_DEPENDENCIES -----+…
Danduk82
  • 769
  • 1
  • 10
  • 29
2
votes
2 answers

'MyHeader.h file not found' when building Project with embedded Framework Project

When building an app project with an embedded framework project as a dependency, I added a protocol and builds got errors for MyProtocol.h file not found Where could the error be?
uchuugaka
  • 12,679
  • 6
  • 37
  • 55
2
votes
0 answers

CTest CDash: SubProject xml elements missing under Sites using include(CTest) only to submit test results

I built a source tree with several independent projects using CMake to build each individual project. Important: I do NOT have a global CMakeLists.txt file to perform the whole build, I use generic scripts (windows (.cmd) and unix (.sh)) to loop on…
tomoyo255
  • 153
  • 1
  • 8
2
votes
1 answer

Framework headers from PCH file not found when built as a subproject

I have the following project setup: 1) A main iOS project ('super project')... nothing special here, the project was built on top of one of the default iOS templates from Xcode. 2) A second project ('subproject'), which was created on top of the…
hagi
  • 11,503
  • 3
  • 35
  • 48
2
votes
2 answers

How do you setup Codeigniter to handle multiple projects with shared ci base?

I've seen several CI implementation examples that claim you can put project folders under the "applications" folder for Codeigniter. However I've not been able to see this work as promised. Here is what I have done and what I would like to do -…
ChronoFish
  • 3,589
  • 5
  • 27
  • 38
2
votes
1 answer

github - Possible to have a sub-project that only subscribes to part of the target project?

I'd like to set up a git sub-project that pulls in just one file from the target project - I just want to pull in the built JavaScript library from the target project, not the whole project. Is this possible?
xeolabs
  • 1,369
  • 1
  • 9
  • 16
2
votes
1 answer

Gradle. How to specify shared configuration for a list of subprojects?

There are subprojects and allprojects properties, but how can I just literally list the known subset of projects? I try the following approach: [project(':child1'), project(':child2')] { ... } which is inspired by the output of println…
Dmitrii Volosnykh
  • 1,165
  • 1
  • 12
  • 33
1
vote
2 answers

Why has GitLab saved one folder of my project as a Subproject commit?

I have started developing a website, saved in my local folders, and I am trying to save it to a GitLab repository. I created a new repository on GitLab and then did the following: cd existing_folder git init --initial-branch=main git remote add…
1
vote
0 answers

Best practices to build vendored code with CMake

I'm trying to understand what some of the best practices are when using modern CMake (3.13+) with respect to building and including vendored or submoduled code. Say I'm building a library MyLib. My file structure is something like…
Ipiano
  • 234
  • 1
  • 8
1
vote
1 answer

How to configure Gradle module name in InteliJ IDEA

I have project with numerous of submodules located in different directories: enter image description here How you can see, the module name of IDEA (in []) differs from directory root. I've tried to modify it though Project Settings, but after gradle…
Nick Aden
  • 13
  • 2
1
vote
1 answer

Gradle: copy subprojects files into rootproject when build it

Given this gradle project: org.mycompany.rootProject | |--org.mycompany.subProject0001 | | | |-src/ | | | | | |-dist/ | | | | | | | |-README.MD | | | |-runSubProject0001.cmd | | |-main/ | | |-test/ | | | | …
skrenato
  • 87
  • 1
  • 8