FILE(APPEND filename "message to write"... ) FILE(READ filename variable) FILE(GLOB variable [RELATIVE path] [globbing expressions]...) FILE(GLOB_RECURSE variable [RELATIVE path][globbing expressions]...) FILE(REMOVE [directory]...) FILE(REMOVE_RECURSE [directory]...) FILE(MAKE_DIRECTORY ...
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_FILE}/avcodec-58.dll ${EXECUTABLE_OUTPUT_PATH}/$(CONFIGURATION) COMMAND ${CMAKE_COMMAND} -E copy ${LIB_FILE}/avfilter-7.dll ${EXECUTABLE_OUTPUT_PATH}/$<CONFIGURATION> COMMAND ${CMAKE_COMMAND} -E copy ${LIB_FILE}/avformat-58.dll ${EXECUTABLE_...
file(GLOB_RECURSE _py_sources CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/gmxapi/*.py) else() file(GLOB_RECURSE _py_sources ${CMAKE_CURRENT_SOURCE_DIR}/gmxapi/*.py) endif() foreach(_package_file IN LISTS _py_sources) get_filename_component(_absolute_dir ${_package_file} DIRECTORY...
Original file line numberDiff line numberDiff line change @@ -30,24 +30,24 @@ find_package(Python REQUIRED COMPONENTS Interpreter ${DEV_MODULE} REQUIRED) find_package(pybind11 2.13.0 REQUIRED) file(GLOB_RECURSE SOURCE_FILES "${PROJECT_SOURCE_DIR}/../src/pycolmap/*.cc") pybind11_add_mod...
chdir(path) paths = glob.glob('**/*.zip',recursive = True) for path in paths: file_...
>> file(GLOB_RECURSE MY_SOURCES CONFIGURE_DEPENDS >> "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp") >> message("My sources: ${MY_SOURCES}") >> >> file(GLOB_RECURSE MY_HEADERS CONFIGURE_DEPENDS >> "${CMAKE_CURRENT_SOURCE_DIR}/*.h") ...
[pytest] ini-optionsinthe first pytest.ini|tox.ini|setup.cfg file found: markers (linelist) markersfortest functions empty_parameter_set_mark (string) default markerforempty parametersets norecursedirs (args) directory patterns to avoidforrecursion ...
Source File: loader.py From tbot with GNU General Public License v3.0 6 votes def list_dir( d: pathlib.Path, recurse: bool = True ) -> typing.Generator[pathlib.Path, None, None]: """ List all files ending in ``.py`` inside ``d``. :param pathlib.Path d: Where to search :...
{PYBIND11_DIR}/include/) # CMAKE_BINARY_DIR:表示build的根路径,这里是在build文件夹增加pybind11文件夹 add_subdirectory(${PYBIND11_DIR} ${CMAKE_BINARY_DIR}/pybind11) # CMAKE_SOURCE_DIR:表示项目的根路径 file(GLOB_RECURSE SOURCE_FILES ${CMAKE_SOURCE_DIR}/plugin/*.cpp) # Bindings library....
There is also a command line shortcut for running testfile(). You can instruct the Python interpreter to run the doctest module directly from the standard library and pass the file name(s) on the command line: python -m doctest -v example.txt Because the file name does not end with ...