File: CMakeLists.txt

package info (click to toggle)
nextpnr 0.10-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 40,060 kB
  • sloc: cpp: 176,747; python: 18,011; ansic: 10,558; pascal: 1,367; sh: 383; makefile: 223; vhdl: 44; objc: 42; tcl: 41
file content (86 lines) | stat: -rw-r--r-- 1,570 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
add_library(nextpnr_kernel INTERFACE)

target_include_directories(nextpnr_kernel INTERFACE .)

target_sources(nextpnr_kernel PUBLIC
    arch_api.h
    archcheck.cc
    arch_pybindings_shared.h
    array2d.h
    base_arch.h
    base_clusterinfo.h
    basectx.cc
    basectx.h
    bits.cc
    bits.h
    chain_utils.h
    command.cc
    command.h
    constraints.h
    constraints.impl.h
    context.cc
    context.h
    design_utils.cc
    design_utils.h
    deterministic_rng.h
    dynamic_bitarray.h
    embed.cc
    embed.h
    exclusive_state_groups.h
    exclusive_state_groups.impl.h
    handle_error.cc
    hashlib.h
    idstring.cc
    idstring.h
    idstringlist.cc
    idstringlist.h
    indexed_store.h
    log.cc
    log.h
    nextpnr_assertions.cc
    nextpnr_assertions.h
    nextpnr_base_types.h
    nextpnr.cc
    nextpnr.h
    nextpnr_namespaces.cc
    nextpnr_namespaces.h
    nextpnr_types.cc
    nextpnr_types.h
    property.cc
    property.h
    pybindings.cc
    pybindings.h
    pycontainers.h
    pywrappers.h
    relptr.h
    report.cc
    scope_lock.h
    sdc.cc
    sdf.cc
    sso_array.h
    str_ring_buffer.cc
    str_ring_buffer.h
    svg.cc
    timing.cc
    timing.h
    timing_log.cc
    util.h
)

target_link_libraries(nextpnr_kernel INTERFACE
    nextpnr_version
    nextpnr_frontend
    nextpnr_json
    nextpnr_rust
    json11
)

if (BUILD_PYTHON)
    target_include_directories(nextpnr_kernel INTERFACE
        ${Python3_INCLUDE_DIRS}
    )

    target_link_libraries(nextpnr_kernel INTERFACE
        pybind11::headers
    )
endif()