-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commented out faulty edif parser and changed process generation in bo…
…olean influence (WIP)
- Loading branch information
Simon Klix
committed
Sep 28, 2023
1 parent
890bc6e
commit 4dd9609
Showing
3 changed files
with
22 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,14 @@ | ||
option(PL_BOOLEAN_INFLUENCE "PL_BOOLEAN_INFLUENCE" OFF) | ||
if(PL_BOOLEAN_INFLUENCE OR BUILD_ALL_PLUGINS) | ||
|
||
if(APPLE AND CMAKE_HOST_APPLE AND NOT Qt5_DIR) | ||
set (Qt5_DIR "/usr/local/opt/qt@5/lib/cmake" ) | ||
endif() | ||
|
||
find_package(Qt5 COMPONENTS Core REQUIRED) | ||
|
||
if(Qt5Core_FOUND) | ||
message(VERBOSE "Qt5Core_INCLUDE_DIRS: ${Qt5Core_INCLUDE_DIRS}") | ||
elseif(NOT Qt5Core_FOUND) | ||
message(STATUS "Qt5Core not found for boolean_influence") | ||
endif(Qt5Core_FOUND) | ||
|
||
file(GLOB_RECURSE BOOLEAN_INFLUENCE_INC ${CMAKE_CURRENT_SOURCE_DIR}/include/*.h) | ||
file(GLOB_RECURSE BOOLEAN_INFLUENCE_SRC ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp) | ||
file(GLOB_RECURSE BOOLEAN_INFLUENCE_PYTHON_SRC ${CMAKE_CURRENT_SOURCE_DIR}/python/*.cpp) | ||
qt5_wrap_cpp(MOC_HDR ${BOOLEAN_INFLUENCE_INC}) | ||
|
||
hal_add_plugin(boolean_influence | ||
SHARED | ||
HEADER ${BOOLEAN_INFLUENCE_INC} | ||
SOURCES ${BOOLEAN_INFLUENCE_SRC} ${BOOLEAN_INFLUENCE_PYTHON_SRC} ${MOC_HDR} | ||
LINK_LIBRARIES PUBLIC ${Z3_LIBRARIES} z3_utils OpenMP::OpenMP_CXX Qt5::Core | ||
LINK_LIBRARIES PUBLIC ${Z3_LIBRARIES} z3_utils OpenMP::OpenMP_CXX subprocess::subprocess | ||
PYDOC SPHINX_DOC_INDEX_FILE ${CMAKE_CURRENT_SOURCE_DIR}/documentation/boolean_influence.rst | ||
) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters