English 中文(简体)
我如何能够在莫诺·迪奥普2.8项目模板(xpt.xml)中具体说明有条件的汇编符号?
原标题:How could I specify a conditional compilation symbol within a MonoDevelop 2.8 project template (.xpt.xml)?

Something similar to (picked from a .csproj)

<DefineConstants>DEBUG; ANDROID</DefineConstants>
问题回答

Right click the project, go to Options -> Build -> Compiler. You can add the constants where it says Define Symbols.





相关问题
java in-memory on-the-fly class compilation (and loading)

I want to revisit an old question of mine about in-memory "compilation" of classes. Since about 1/2 a year have passed since I asked (and was somewhat answered), I d like to re-raise the issue and see ...

(c)make - resursive compile

Let s assume I have directories like: dir1 main.cpp dir2 abc.cpp dir3 def.cpp dir4 ghi.cpp jkl.cpp And let s assume that main.cpp ...

How to link to a static library in C?

I use code::blocks to compile my static library. The output result is a libstatic.a file. Now, how do I link to my library to use functions that were compiled? (I tried to use #include "libstatic.a"...

Statically linking Winsock?

I m using Winsock 1.1 in my project. I include wsock32.lib in "Additional Dependencies". I m looking at the DLL project using depends.exe and notice that the DLL depends on wsock32.dll. How can I ...

热门标签