File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed
Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -50,14 +50,14 @@ include_directories(${CMAKE_BINARY_DIR})
5050
5151
5252# Create the first executable dynamont-NT
53- # add_library(NT_library src/cpp/utils.cpp src/cpp/NT.cpp)
54- # add_executable(dynamont-NT src/cpp/NT_main.cpp)
55- # target_link_libraries(dynamont-NT PRIVATE NT_library)
56- # if(OpenMP_CXX_FOUND)
57- # target_link_libraries(dynamont-NT PUBLIC OpenMP::OpenMP_CXX)
58- # endif()
53+ add_library (NT_library src/cpp/utils.cpp src/cpp/NT.cpp )
54+ add_executable (dynamont-NT src/cpp/NT_main.cpp )
55+ target_link_libraries (dynamont-NT PRIVATE NT_library )
56+ if (OpenMP_CXX_FOUND)
57+ target_link_libraries (dynamont-NT PUBLIC OpenMP::OpenMP_CXX )
58+ endif ()
5959# Include header files for NT_library
60- # target_include_directories(dynamont-NT PRIVATE include)
60+ target_include_directories (dynamont-NT PRIVATE include )
6161
6262# Create the second executable dynamont-NTC
6363add_library (NTC_library src/cpp/utils.cpp src/cpp/NTC.cpp )
Original file line number Diff line number Diff line change @@ -29,11 +29,12 @@ cd ..
2929mkdir -p src/bin
3030cp $BUILD_DIR /bin/dynamont-NTC $BIN_DIR
3131cp $BUILD_DIR /bin/dynamont-NT-banded $BIN_DIR
32- strip " $BIN_DIR /dynamont-NTC" " $BIN_DIR /dynamont-NT-banded"
32+ cp $BUILD_DIR /bin/dynamont-NT $BIN_DIR
33+ strip " $BIN_DIR /dynamont-NTC" " $BIN_DIR /dynamont-NT-banded" " $BIN_DIR /dynamont-NT"
3334
3435# Build Python package (wheel + sdist)
3536echo " [INFO] Building Python package..."
36- # python -m pip install --user --upgrade setuptools wheel build --ignore-installed -v .
37+ python -m pip install --user --upgrade setuptools wheel build --ignore-installed -v .
3738python -m build
3839rm -rf $BUILD_DIR
3940# twine upload dist/*
You can’t perform that action at this time.
0 commit comments