diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-06-28 17:56:44 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-06-28 17:57:26 +0200 |
commit | 1676b285ae726eb858d4d7ed089496133ce3de4b (patch) | |
tree | b7c2a9a59c2a9a0377d266567e545f5a1c23ae58 /gui/CMakeLists.txt | |
parent | 2037fff7426e252a8692b971f88689c1dd8c03e8 (diff) | |
download | nextpnr-1676b285ae726eb858d4d7ed089496133ce3de4b.tar.gz nextpnr-1676b285ae726eb858d4d7ed089496133ce3de4b.tar.bz2 nextpnr-1676b285ae726eb858d4d7ed089496133ce3de4b.zip |
adapted python-console for easier use
Diffstat (limited to 'gui/CMakeLists.txt')
-rw-r--r-- | gui/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index 78c273c5..2021b7ea 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -8,6 +8,10 @@ set(PYTHON_CONSOLE_SRC ../3rdparty/python-console/ParseHelper.BracketParseState.cpp ../3rdparty/python-console/ParseHelper.ContinuationParseState.cpp ../3rdparty/python-console/ParseMessage.cpp + + ../3rdparty/python-console/modified/pyredirector.cc + ../3rdparty/python-console/modified/pyinterpreter.cc + ../3rdparty/python-console/modified/pyconsole.cc ) aux_source_directory(. GUI_SOURCE_FILES) @@ -21,6 +25,6 @@ set(GUI_LIBRARY_FILES_${ufamily} Qt5::Widgets Qt5::OpenGL ${OPENGL_LIBRARIES} Qt add_library(gui_${family} STATIC ${GUI_SOURCE_FILES} ${PYTHON_CONSOLE_SRC} ${GUI_RESOURCE_FILES}) -target_include_directories(gui_${family} PRIVATE ../${family} ${family} ../3rdparty/QtPropertyBrowser/src) +target_include_directories(gui_${family} PRIVATE ../${family} ${family} ../3rdparty/QtPropertyBrowser/src ../3rdparty/python-console ../3rdparty/python-console/modified) target_compile_definitions(gui_${family} PRIVATE NEXTPNR_NAMESPACE=nextpnr_${family} ARCH_${ufamily} ARCHNAME=${family} QT_NO_KEYWORDS) target_link_libraries(gui_${family} Qt5::Widgets) |