Skip to content

Commit 2d09590

Browse files
Source cleanup
1 parent 4dc43f7 commit 2d09590

File tree

3 files changed

+5
-282
lines changed

3 files changed

+5
-282
lines changed

CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ if(XEUS_CPP_EMSCRIPTEN_WASM_BUILD)
145145
set(EMSCRIPTEN_FEATURES "${EMSCRIPTEN_FEATURES} -s \"EXTRA_EXPORTED_RUNTIME_METHODS=[ENV']\"")
146146
endif()
147147

148-
#find_package(Clang REQUIRED)
149148
find_package(CppInterOp REQUIRED CONFIG PATHS "${CPPINTEROP_DIR}" "${CPPINTEROP_DIR}/lib")
150149
find_package(argparse REQUIRED)
151150
find_package(pugixml REQUIRED)
@@ -268,7 +267,6 @@ macro(xeus_cpp_create_target target_name linkage output_name)
268267
set(XEUS_CPP_XEUS_TARGET xeus-static)
269268
endif ()
270269

271-
## target_link_libraries(${target_name} PUBLIC ${XEUS_CPP_XEUS_TARGET} clangInterpreter pugixml argparse::argparse xtl)
272270
target_link_libraries(${target_name} PUBLIC ${XEUS_CPP_XEUS_TARGET} clangCppInterOp pugixml argparse::argparse xtl)
273271
if (WIN32 OR CYGWIN)
274272
#
@@ -378,7 +376,6 @@ endif ()
378376
# Install xcpp
379377
if (XEUS_CPP_BUILD_EXECUTABLE)
380378
install(TARGETS xcpp
381-
# RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
382379
RUNTIME DESTINATION ${CMAKE_VENV_PATH}/bin)
383380

384381
# Configuration and data directories for jupyter and xeus-cpp
@@ -387,7 +384,6 @@ if (XEUS_CPP_BUILD_EXECUTABLE)
387384
set(KERNELSPEC_DIR ${CMAKE_CURRENT_BINARY_DIR}/share/jupyter/kernels)
388385
install(DIRECTORY ${KERNELSPEC_DIR}
389386
DESTINATION ${XJUPYTER_DATA_DIR}
390-
# DESTINATION ${CMAKE_INSTALL_PREFIX}/${XJUPYTER_DATA_DIR}
391387
PATTERN "*.in" EXCLUDE)
392388

393389
# Extra path for installing Jupyter kernelspec

include/xeus-cpp/xinterpreter.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ namespace xcpp
7979

8080
std::string get_stdopt(int argc, const char* const* argv);
8181

82-
// std::unique_ptr<clang::Interpreter> m_interpreter;
83-
8482
std::string m_version;
8583

8684
xmagics_manager xmagics;

0 commit comments

Comments
 (0)