mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: @VMODULE
This commit is contained in:
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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user