Loading CMakeLists.txt +6 −1 Original line number Diff line number Diff line Loading @@ -358,10 +358,15 @@ macro (add_tool_target target lang) set_source_files_properties (${CMAKE_CURRENT_SOURCE_DIR}/${target}.${lang} PROPERTIES LANGUAGE OBJC SKIP_PRECOMPILE_HEADERS ON ) endif () endif () if (${lang} STREQUAL "c") set_source_files_properties (${CMAKE_CURRENT_SOURCE_DIR}/${target}.${lang} PROPERTIES SKIP_PRECOMPILE_HEADERS ON ) endif () target_link_libraries (${target} PUBLIC Loading graph_c_binding/CMakeLists.txt +6 −4 Original line number Diff line number Diff line Loading @@ -12,10 +12,12 @@ target_sources (graph_c PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/graph_c_binding.cpp> ) if (${USE_METAL}) set_source_files_properties (${CMAKE_CURRENT_SOURCE_DIR}/graph_c_binding.cpp PROPERTIES LANGUAGE OBJCXX ) endif () target_compile_features (graph_c PUBLIC c_std_17 Loading graph_c_binding/graph_c_binding.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -3108,7 +3108,7 @@ extern "C" { } //------------------------------------------------------------------------------ /// @brief Copy data to a host buffer. /// @brief Print a value from nodes. /// /// @param[in] c The graph C context. /// @param[in] index Particle index to print. Loading graph_c_binding/graph_c_binding.h +2 −2 Original line number Diff line number Diff line Loading @@ -419,7 +419,7 @@ extern "C" { const size_t max_iter); //------------------------------------------------------------------------------ /// @brief Compile the work items /// @brief Compile the work items. /// /// @param[in] c The graph C context. //------------------------------------------------------------------------------ Loading Loading @@ -469,7 +469,7 @@ extern "C" { void *destination); //------------------------------------------------------------------------------ /// @brief Copy data to a host buffer. /// @brief Print a value from nodes. /// /// @param[in] c The graph C context. /// @param[in] index Particle index to print. Loading graph_fortran_binding/CMakeLists.txt +4 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,10 @@ target_link_libraries (graph_f PUBLIC graph_c ) target_compile_options (graph_f PUBLIC $<$<COMPILE_LANGUAGE:Fortran>:-cpp> ) target_sources (graph_f PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/graph_fortran_binding.f90> Loading Loading
CMakeLists.txt +6 −1 Original line number Diff line number Diff line Loading @@ -358,10 +358,15 @@ macro (add_tool_target target lang) set_source_files_properties (${CMAKE_CURRENT_SOURCE_DIR}/${target}.${lang} PROPERTIES LANGUAGE OBJC SKIP_PRECOMPILE_HEADERS ON ) endif () endif () if (${lang} STREQUAL "c") set_source_files_properties (${CMAKE_CURRENT_SOURCE_DIR}/${target}.${lang} PROPERTIES SKIP_PRECOMPILE_HEADERS ON ) endif () target_link_libraries (${target} PUBLIC Loading
graph_c_binding/CMakeLists.txt +6 −4 Original line number Diff line number Diff line Loading @@ -12,10 +12,12 @@ target_sources (graph_c PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/graph_c_binding.cpp> ) if (${USE_METAL}) set_source_files_properties (${CMAKE_CURRENT_SOURCE_DIR}/graph_c_binding.cpp PROPERTIES LANGUAGE OBJCXX ) endif () target_compile_features (graph_c PUBLIC c_std_17 Loading
graph_c_binding/graph_c_binding.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -3108,7 +3108,7 @@ extern "C" { } //------------------------------------------------------------------------------ /// @brief Copy data to a host buffer. /// @brief Print a value from nodes. /// /// @param[in] c The graph C context. /// @param[in] index Particle index to print. Loading
graph_c_binding/graph_c_binding.h +2 −2 Original line number Diff line number Diff line Loading @@ -419,7 +419,7 @@ extern "C" { const size_t max_iter); //------------------------------------------------------------------------------ /// @brief Compile the work items /// @brief Compile the work items. /// /// @param[in] c The graph C context. //------------------------------------------------------------------------------ Loading Loading @@ -469,7 +469,7 @@ extern "C" { void *destination); //------------------------------------------------------------------------------ /// @brief Copy data to a host buffer. /// @brief Print a value from nodes. /// /// @param[in] c The graph C context. /// @param[in] index Particle index to print. Loading
graph_fortran_binding/CMakeLists.txt +4 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,10 @@ target_link_libraries (graph_f PUBLIC graph_c ) target_compile_options (graph_f PUBLIC $<$<COMPILE_LANGUAGE:Fortran>:-cpp> ) target_sources (graph_f PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/graph_fortran_binding.f90> Loading