Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ project(PerformanceBenchmarking
)

set(PerformanceBenchmarking_LIBRARIES PerformanceBenchmarking)
# Path for configured PerformanceBenchmarkingInformation.h
set(PerformanceBenchmarking_INCLUDE_DIRS ${CMAKE_BINARY_DIR}/include/)

set(Module_PerformanceBenchmarking_BUILD_EXAMPLES ON)

if(NOT ITK_SOURCE_DIR)
find_package(ITK REQUIRED)
Expand Down Expand Up @@ -51,5 +55,4 @@ else()
itk_module_impl()
endif()

itk_module_examples() # This builds the src directory
add_subdirectory(examples) # this builds each of the itk benchmark domains
itk_module_examples() # This builds the examples directory
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ set(MAPPING_VALUES "
configure_file(PerformanceBenchmarkingInformation.cxx.in ${CMAKE_BINARY_DIR}/PerformanceBenchmarkingInformation.cxx)
configure_file(PerformanceBenchmarkingInformation.h.in ${CMAKE_BINARY_DIR}/include/PerformanceBenchmarkingInformation.h)


set( PerformanceBenchmarking_SRCS
jsonxx.cc ## MIT License https://github.com/hjiang/jsonxx
${CMAKE_BINARY_DIR}/PerformanceBenchmarkingInformation.cxx
Expand Down
Loading