Skip to content

Commit e472c6c

Browse files
committed
first commit
0 parents  commit e472c6c

File tree

96 files changed

+136653
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+136653
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/CMakeLists.txt~

CMakeLists.txt

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
2+
3+
project(Compare)
4+
5+
set (CMAKE_PREIX_PATH /home/labuser/libtorch)
6+
7+
find_package (Eigen3 3.3 REQUIRED NO_MODULE)
8+
9+
if(NOT CMAKE_BUILD_TYPE)
10+
set(CMAKE_BUILD_TYPE Release)
11+
endif()
12+
13+
set(CMAKE_CXX_FLAGS "-Wall -Wextra -fpermissive")
14+
set(CMAKE_CXX_FLAGS_DEBUG "-g -pg")
15+
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
16+
17+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GCC_RL_FLAGS} ")
18+
19+
add_executable(generate src/Generate.cpp
20+
include/Wavepacket.hpp
21+
include/Environment_MhollandRL.hpp
22+
)
23+
24+
target_include_directories(generate PRIVATE include)
25+
26+
target_link_libraries(generate Eigen3::Eigen)
27+
28+
set_property(TARGET generate PROPERTY CXX_STANDARD 23)

0 commit comments

Comments
 (0)