Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
enp1s0 committed Oct 3, 2023
1 parent e8fe4fa commit 0a22ca0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/src/cuda-cutoff-small-abs-values/Make
COMMAND_ERROR_IS_FATAL ANY)
endif()

if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/src/json/CMakeLists.txt)
execute_process(COMMAND ${GIT_EXECUTABLE} submodule update --init --recursive -- ${dir}
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
COMMAND_ERROR_IS_FATAL ANY)
endif()


foreach(library cublas)
set(lib_name culip_${library})
Expand Down Expand Up @@ -95,6 +101,15 @@ add_executable(CULiP_analyzer ${SRCDIR}/analyzer.cpp ${SRCDIR}/params.hpp)
target_include_directories(CULiP_analyzer PRIVATE ${INCDIR})
set_target_properties(CULiP_analyzer PROPERTIES RUNTIME CULiP_analyzer)

##########################################################################
# ExpStats Analyzer
##########################################################################

add_executable(CULiP_exp_stats_analyzer ${SRCDIR}/exp_stats_analyzer.cpp)
set(jsonlib ${CMAKE_CURRENT_SOURCE_DIR}/src/json)
include_directories(CULiP_exp_stats_analyzer PRIVATE ${jsonlib}/include)
target_include_directories(CULiP_exp_stats_analyzer PRIVATE ${INCDIR})

##########################################################################
# Installing
##########################################################################
Expand Down

0 comments on commit 0a22ca0

Please sign in to comment.