tmp update

This commit is contained in:
张壹 2023-12-15 22:01:18 +08:00
parent df61a914cf
commit 87d348c8ad
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -33,4 +33,5 @@
.DS_Store
build/
.vscode/
*.nc

View File

@ -6,7 +6,7 @@ set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
add_executable(magtet ${SRC_DIR})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11 -O2")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11 -O3")
find_library(GCTL_LIBRARY gctl /usr/local/lib)
target_link_libraries(magtet PUBLIC ${GCTL_LIBRARY})