IncludeModule c/dotnet ;
For the given project TARGET, assign the reference DIRECTORIES to the appropriate configuration and platform.
| TARGET | The target to assign the reference DIRECTORIES to. TARGET is optional if rule ActiveProject PROJECT has been specified. If TARGET is *, the defines are made available globally. | |
| DIRECTORIES | The list of reference directories to apply. Absolute paths are used directly. Relative paths are local to . That is, they are relative to the subdirectory specified via SubDir. | |
| THE_CONFIG | (optional) If not specified, the default is all configurations. | |
| THE_PLATFORM | (optional) If not specified, the default is all platforms. |
# Add c:/some/directory to myproject for all configurations and # all platforms. C.ReferenceDirectories myproject : c:/some/directory ; # Relative path: C.ReferenceDirectories myproject : ../lib ;
After the executable has been built for TARGET, sign the assembly with the strong name SNK_NAME. This rule must be run AFTER C.Application or C.Library has been run.
| TARGET | The target representing the executable to assign the strong name to. TARGET is optional if rule ActiveProject PROJECT has been specified. | |
| SNK_NAME | The name of the keyfile. |
C.Library ManagedLuaPlus : $(SRCS) : shared noexportlib ;
C.StrongName ManagedLuaPlus : $(SEARCH_SOURCE)/ManagedLuaPlus.snk ;
Applies .NET Framework settings to the specified C++/CLI TARGET.
| TARGET | The target to assign the settings to. TARGET is optional if rule ActiveProject PROJECT has been specified. | |
| OPTIONS | (optional) The following options are available: |
link- When linking the assembly, this option sets up the .NET link settings.
# Applies .NET settings to MyLibrary. C.UseDotNet MyLibrary ; # Applies .NET settings, including the appropriate linker flags, to MyApplication. C.UseDotNet MyApplication : link ;