Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloprobst committed Sep 11, 2024
1 parent 0b1cf6e commit cc62b6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion hyperon_das_atomdb_cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ project(AtomDB)
# Set C++ standard and optimization flags
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -w -g")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0 -w")
set(CMAKE_VERBOSE_MAKEFILE ON)

# Find OpenSSL package
find_package(OpenSSL REQUIRED)
Expand Down
5 changes: 4 additions & 1 deletion hyperon_das_atomdb_cpp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ format:
-iname "*.cc" \
| xargs clang-format -verbose -style=file -i

build: clean
build-make: clean
@mkdir -p build && cd build && cmake .. && make

build-ninja: clean
@mkdir -p build && cd build && cmake -G Ninja .. && ninja

clean:
Expand Down

0 comments on commit cc62b6a

Please sign in to comment.