Skip to content

Commit

Permalink
add precompiled header for algebra
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyMlashkin committed Sep 19, 2024
1 parent e717055 commit 90575fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion crypto3/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ TSWLatexianTemp*

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
Expand Down
2 changes: 2 additions & 0 deletions crypto3/libs/algebra/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ cm_setup_version(VERSION 0.1.0 PREFIX ${CMAKE_WORKSPACE_NAME}_${CURRENT_PROJECT_

add_library(${CMAKE_WORKSPACE_NAME}_${CURRENT_PROJECT_NAME} INTERFACE)

target_precompile_headers(${CMAKE_WORKSPACE_NAME}_${CURRENT_PROJECT_NAME} INTERFACE include/nil/crypto3/algebra/algebra.pch)

set_target_properties(${CMAKE_WORKSPACE_NAME}_${CURRENT_PROJECT_NAME} PROPERTIES
EXPORT_NAME ${CURRENT_PROJECT_NAME})

Expand Down

0 comments on commit 90575fa

Please sign in to comment.