Untitled
unknown
plain_text
2 years ago
325 B
6
Indexable
cmake_minimum_required(VERSION 3.2) project(vpi) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -I/home/r2com/eda/install/ghdl/include/ghdl") add_library(vpi.vpi SHARED ../test.c) find_library(ghdl /home/r2com/eda/install/ghdl/lib) include_directories(/home/r2com/eda/install/ghdl/include/ghdl) target_link_libraries(vpi.vpi ghdl)
Editor is loading...