-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from lanl/refactor
Refactor
- Loading branch information
Showing
18 changed files
with
3,680 additions
and
1,170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,27 @@ | ||
cmake_minimum_required(VERSION 3.1...3.25) | ||
|
||
project( | ||
gs_patterns | ||
VERSION 1.0 | ||
LANGUAGES C) | ||
project( gs_patterns VERSION 1.0 LANGUAGES CXX) | ||
|
||
add_executable(gs_patterns gs_patterns.c) | ||
set (CMAKE_C_FLAGS "-lz -lm") | ||
set(CMAKE_CXX_STANDARD 17) | ||
set(CMAKE_CXX_STANDARD_REQUIRED On) | ||
#set(CMAKE_CXX_EXTENSIONS Off) | ||
|
||
add_library(gs_patterns_core SHARED | ||
utils.h | ||
utils.cpp | ||
gs_patterns.h | ||
gs_patterns_core.h | ||
gs_patterns_core.cpp | ||
gsnv_patterns.h | ||
gsnv_patterns.cpp | ||
gspin_patterns.h | ||
gspin_patterns.cpp | ||
) | ||
|
||
add_executable( gs_patterns | ||
gs_patterns_main.cpp | ||
) | ||
|
||
target_link_libraries(gs_patterns gs_patterns_core) | ||
|
||
set(CMAKE_CXX_STANDARD_LIBRARIES "-lm -lz ${CMAKE_CXX_STANDARD_LIBRARIES}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.