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
12 changes: 12 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
project(MultiVariatePointProcess C CXX)
cmake_minimum_required(VERSION 2.8)

file(GLOB cpp_files src/*.cc)

include_directories(include 3rd-party)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -m64 -Wall")

add_library(ptpack ${cpp_files})

add_subdirectory(example)
23 changes: 23 additions & 0 deletions example/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
set(ptpack_example_targets
learning_network_dynamics_exp_kernel
learning_network_structure_exp_kernel
learning_network_dynamics_general_kernel
learning_network_structure_general_kernel
learning_sparse_standard_hawkes
learning_standard_hawkes
fast_simulating_standard_hawkes
learning_standard_hawkes_lowrank_constraint
learning_lowrank_hawkes
learning_hawkes_with_customized_kernel
learning_sparse_hawkes_with_customized_kernel
learning_standard_hawkes_learning_triggering_kernel
influence_maximization
learning_standard_self_inhibiting_process
learning_sparse_self_inhibiting_process
basic_residual_analysis
)

foreach(ptpack_example_target ${ptpack_example_targets})
add_executable(${ptpack_example_target} ${ptpack_example_target}.cc)
target_link_libraries(${ptpack_example_target} ptpack)
endforeach()