project-settings

XCode xcconfig: Configuring a dependency based on the target

In the quest to resolve the Objective-C namespace issue I'd like to experiment with prefixing a dependency's Objective-C classes based on the target being built. As an example, suppose I have in my shared library (ObjCStaticLib) a class (CWindow). I have two plugins (A and B) that will use this CWindow. To avoid A's CWindow from collidi...

Is it possible to define some macro into the header file using some project settings or makefile options?

Is it possible to add a #define _MYDEFINE_ in my header file based on some options in the project settings. For Ex: Suppose in my exposed header file (which is delivered along with the library) I have some macros like shown below: #ifdef _MYDEFINE_ #define ABC 2 #else #define ABC 4 #endif Now, while building my library, I can add _MYD...

How to Specify Project-Specific Package Settings?

How can I specify project-specific package settings in the Delphi 2010 IDE? Changing the packages in the project options does change the packages for all projects in the project group. This is annoying because I build my application with a package that needs to be disabled in order to compile the BPLs in the project group. ...

Targeting a static library to Mac and iPhone

I have a few static library projects which are used in a Mac application, I'm working on porting these libs to the iPhone and I would like to use the project to build both the Mac and iPhone versions. For that purpose I setup an additional target for the iPhone. This looks like it should work but I see that if I try, for example, to add...

Which m2eclipse archetype to use for JBoss/Hibernate based projects ?

Hello, I am new to Java world but I am pretty good at using Flex, actionscript 3, Ant and even Maven to some extent. Now I would like to learn some java and use Hibernate and JBoss (webapp). I already have Maven working and have found the m2eclipse plugin on the web, it seem pretty nice for maven integration. Now I would like to know ...

Eclipse thinks my project is an Android project - can I remove without starting over?

I created a project, probably as an Android project without thinking. I then did a lot of work bringing in source, etc. but it is not an Android target. However, when I start up Eclipse, it keeps popping-up a dialog reminding me that I have not established the Adroid device settings. How can I make it stop -- without restarting the wo...

Compiling into files whose names are different than the project name in MSVS (2005+)

Hello, I was wondering: If I am using MSVS2005 or later and wish to compile my project into a file (exe, dll, lib, etc) whose name is different than the project name, what should I do? Where is this setting? I couldn't seem to find this setting anywhere. Thanks! ...

Want to downgrade from an Universal app to just an ipad app.

I originally wanted to make a universal app, but now scopes have been changed and I am stuck with a universal app, now all I want is an iPad app. So I went and changed the Targeted Device Family to just 'iPad' (or 2) but when I submit the app it claims I am still stuck in Device Family '1,2' or Universal, and is asking for iPhone screen ...

My ipad project does not run on a real ipad device

Hello I cannot figure out why it's not working. I run the project on the simulator. It works fine, I test it on the ipad, it does not run. When launch, a black screen appears and it does not even enter the delegate. Please help. Thanks ...

Porting code which requires default char to be unsigned to a code-base which does not have this requirement

Hi all, i have gone through the numerous questions regarding signed/unsigned char. I understand there are three distinct char types in C++. Currently i have a large code-base which is compiled with Visual Studio - the "default char unsigned" setting is set to "No". Now i'm supposed to add a particular project to our code-base (integrate...