945f541965
* Added documentation markdown source * Replaced AARInternal with AMDResearch in URLs * Renamed cpack artifact names * Fix to testing and lulesh submodule checkout * Docker updates * CMake and CPack - force CMAKE_INSTALL_LIBDIR to lib - CPACK_DEBIAN_PACKAGE_RELEASE uses OMNITRACE_CPACK_SYSTEM_NAME - CPACK_RPM_PACKAGE_RELEASE uses OMNITRACE_CPACK_SYSTEM_NAME - Tweak LIBOMP_LIBRARY find in examples/openmp - Tweak setup-env.sh.in * Partial update of README - status badges - docs link - removed install info (covered by docs) * OMNITRACE_SAMPLING_CPUS setting - enables control over which CPUs are sampled for frequency * omnitrace exe updates - exclude transaction clone, virtual thunk, non-virtual thunk - module_function::start_address - module_function::instructions - verbosity > 0 encodes instructions into JSON * Miscellaneous fixes - relocate setup-env.sh.in - add modulefile.in - Updated README.md and source/docs/about.md - cmake fix for libomp - fix license in miscellaneous places - dl.hpp and dl.cpp * Update timemory and dyninst submodules - timemory signals updates - dyninst Movement-adhoc updates * cmake format
20 라인
704 B
CMake
20 라인
704 B
CMake
if(NOT DEFINED SOURCE_DIR)
|
|
message(FATAL_ERROR "Please define SOURCE_DIR")
|
|
endif()
|
|
|
|
get_filename_component(SOURCE_DIR "${SOURCE_DIR}" ABSOLUTE)
|
|
|
|
find_program(DOT_EXECUTABLE NAMES dot)
|
|
|
|
if(NOT DOT_EXECUTABLE)
|
|
message(FATAL_ERROR "Please install dot and/or specify DOT_EXECUTABLE")
|
|
endif()
|
|
|
|
file(READ "${SOURCE_DIR}/VERSION" FULL_VERSION_STRING LIMIT_COUNT 1)
|
|
string(REGEX REPLACE "(\n|\r)" "" FULL_VERSION_STRING "${FULL_VERSION_STRING}")
|
|
string(REGEX REPLACE "([0-9]+)\\.([0-9]+)\\.([0-9]+)(.*)" "\\1.\\2.\\3" OMNITRACE_VERSION
|
|
"${FULL_VERSION_STRING}")
|
|
|
|
configure_file(${SOURCE_DIR}/docs-source/omnitrace.dox.in
|
|
${SOURCE_DIR}/docs-source/omnitrace.dox @ONLY)
|