Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7065059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:54:37+00:00 2026-05-28T04:54:37+00:00

I have the following setup: I’m working with C++ projects under a custom build

  • 0

I have the following setup: I’m working with C++ projects under a custom build system and the source code directories are not very stable on my development machine because I’m constantly checking out specific versions of some projects in their own directories (off of a single source directory where I store all source code) for maintenance or new feature development and then deleting them when I’m finished. I want to use EDE/CEDET, but I don’t want to store project definitions in my home area. What I would really like is some sort of auto-loader, which seems to exist, but I can’t make sense of the documentation. Can someone please point me to instructions on how to set up such a thing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T04:54:37+00:00Added an answer on May 28, 2026 at 4:54 am

    There are a few options, but I’m guessing that with your C++ project showing up in a bunch of random locations, you want to create a custom way to auto-create ede-cpp-root projects.

    If you look in ede/ede-cpp-root.el, or in emacs lisp/cedet/ede/cpp-root.el, in the comments at the top look for ADVANCED EXAMPLE. This shows how to create three simple functions in your .emacs with rules that will create new projects upon discovery.

    Lets say every one of your projects is in a dir like this:

    /home/BD/somewhere/MYPROJ/
    

    then you might have code in MY-FILE-FOR-DIR (from the example) that looks like this:

      (when (string-match "/MYPROJ/" dir)
          (expand-file-name "Makefile" (substring dir (match-end 0)) )
    

    or if every project always has some special file, like “.SPECIAL”, you might have

      (when (file-exists-p (expand-file-name ".SPECIAL" dir)))
          (expand-file-name ".SPECIAL" dir))
    

    It is likely you can get a lot of milage from some simple Emacs Lisp code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following code to build a custom taxonomy for my portfolio: add_action(
I have the following setup: Code on my local machine (OS X) shared as
I have a following setup: App - Magnolia site running under Tomcat 6.0.16 ISAPI
I need to setup a custom action within WiX 3.0. I have the following
I am working on my first NHibernate project, and have the following setup/requirement. I
I have the following setup using Core Data: Nib1: A WindowController with two custom
I have a MySQL table with following setup: CREATE TABLE IF NOT EXISTS `coords`
I have the following setup in my web.config (within system.webSever tag) to compress components
I have the following setup code: MockOf<IObjectSet<Dummy>>().Setup(c => c.AddObject(dummy)).Verifiable(); MockOf<IObjectContextWrapper>().Setup(c => c.GetObjectSet<Dummy>()).Returns(MockOf<IObjectSet<Dummy>>().Object); where Dummy
I have the following setup Many Users can have Many Projects (Collaborators) /** *

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.