Skip to content

Commit 0ff8b19

Browse files
Source cleanup
1 parent c7b0e5a commit 0ff8b19

File tree

3 files changed

+9
-294
lines changed

3 files changed

+9
-294
lines changed

CMakeLists.txt

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

151-
#find_package(Clang REQUIRED)
152151
find_package(CppInterOp REQUIRED CONFIG PATHS "${CPPINTEROP_DIR}" "${CPPINTEROP_DIR}/lib")
153152
find_package(argparse REQUIRED)
154153
find_package(pugixml REQUIRED)
@@ -271,7 +270,6 @@ macro(xeus_cpp_create_target target_name linkage output_name)
271270
set(XEUS_CPP_XEUS_TARGET xeus-static)
272271
endif ()
273272

274-
## target_link_libraries(${target_name} PUBLIC ${XEUS_CPP_XEUS_TARGET} clangInterpreter pugixml argparse::argparse xtl)
275273
target_link_libraries(${target_name} PUBLIC ${XEUS_CPP_XEUS_TARGET} clangCppInterOp pugixml argparse::argparse xtl)
276274
if (WIN32 OR CYGWIN)
277275
#
@@ -381,7 +379,6 @@ endif ()
381379
# Install xcpp
382380
if (XEUS_CPP_BUILD_EXECUTABLE)
383381
install(TARGETS xcpp
384-
# RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
385382
RUNTIME DESTINATION ${CMAKE_VENV_PATH}/bin)
386383

387384
# Configuration and data directories for jupyter and xeus-cpp
@@ -390,7 +387,6 @@ if (XEUS_CPP_BUILD_EXECUTABLE)
390387
set(KERNELSPEC_DIR ${CMAKE_CURRENT_BINARY_DIR}/share/jupyter/kernels)
391388
install(DIRECTORY ${KERNELSPEC_DIR}
392389
DESTINATION ${XJUPYTER_DATA_DIR}
393-
# DESTINATION ${CMAKE_INSTALL_PREFIX}/${XJUPYTER_DATA_DIR}
394390
PATTERN "*.in" EXCLUDE)
395391

396392
# 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)