Projects STRLCPY LIEF Commits 9d627769
🤬
  • ■ ■ ■ ■
    CMakeLists.txt
    skipped 398 lines
    399 399   set_target_properties(LIB_LIEF PROPERTIES MACOSX_RPATH ON)
    400 400  endif()
    401 401   
    402  -include(LIEFApi)
     402 +add_subdirectory(api)
    403 403   
    404 404  if(LIEF_EXAMPLES)
    405 405   add_subdirectory(examples)
    skipped 128 lines
  • ■ ■ ■ ■ ■ ■
    api/CMakeLists.txt
     1 +if (LIEF_PYTHON_API)
     2 + add_subdirectory(python)
     3 +endif()
     4 + 
     5 +if(LIEF_C_API)
     6 + add_subdirectory(c)
     7 +endif()
     8 + 
     9 + 
  • ■ ■ ■ ■ ■ ■
    cmake/LIEFApi.cmake
    1  -if(__add_lief_api)
    2  - return()
    3  -endif()
    4  -set(__add_lief_api ON)
    5  - 
    6  -# Python
    7  -# ------
    8  -if (LIEF_PYTHON_API)
    9  - add_subdirectory(api/python)
    10  -endif()
    11  - 
    12  -# C API
    13  -# -----
    14  -if(LIEF_C_API)
    15  - target_include_directories(LIB_LIEF PUBLIC
    16  - "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/api/c/include>")
    17  - 
    18  - add_subdirectory(api/c)
    19  -endif()
    20  - 
    21  - 
Please wait...
Page is in error, reload to recover