mirror of
https://github.com/vlang/v.git
synced 2025-09-14 23:12:33 +03:00
compiler: @VMODULE
This commit is contained in:
parent
f67fca826e
commit
f9d5c0110f
11 changed files with 223 additions and 27 deletions
7
vlib/compiler/tests/project_with_c_code/mod1/v.mod
Normal file
7
vlib/compiler/tests/project_with_c_code/mod1/v.mod
Normal file
|
@ -0,0 +1,7 @@
|
|||
#V Module#
|
||||
|
||||
Module {
|
||||
name: 'mod1',
|
||||
description: 'A simple module, containing C code.',
|
||||
dependencies: []
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
module mod1
|
||||
|
||||
#flag -I @VMODULE/c
|
||||
#flag @VMODULE/c/implementation.o
|
||||
#flag -I @VROOT/c
|
||||
#flag @VROOT/c/implementation.o
|
||||
|
||||
#include "header.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue