Skip to content

Commit 6de697d

Browse files
committed
test fix
1 parent c5770ad commit 6de697d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

conda-recipe/meta.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,9 @@ build:
2020
script: |
2121
export CFLAGS="-I${PREFIX}/include $CFLAGS"
2222
export CXXFLAGS="-I${PREFIX}/include $CXXFLAGS"
23-
24-
cmake -S cpp/standalone -B build/standalone \
25-
-DCMAKE_INSTALL_PREFIX=$PREFIX \
26-
-DCMAKE_BUILD_TYPE=Release
27-
cmake --build build/standalone --parallel ${CPU_COUNT:-1}
28-
cmake -S cpp/test -B build/test
29-
cmake --build build/test --parallel ${CPU_COUNT:-1}
23+
24+
cmake -S cpp/all -B build -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_BUILD_TYPE=Release
25+
cmake --build build --parallel ${CPU_COUNT:-1}
3026
(cd build/test && ctest --output-on-failure)
3127
cmake --install build/standalone
3228

cpp/standalone/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ file(GLOB sources CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp)
2424

2525
add_executable(${PROJECT_NAME} ${sources})
2626

27-
set_target_properties(${PROJECT_NAME} PROPERTIES CXX_STANDARD 17 OUTPUT_NAME "Aligncount")
27+
set_target_properties(${PROJECT_NAME} PROPERTIES CXX_STANDARD 20 OUTPUT_NAME "Aligncount")
2828

2929
target_link_libraries(${PROJECT_NAME} Aligncount::Aligncount cxxopts)
30+
31+
install(TARGETS AligncountStandalone
32+
RUNTIME DESTINATION bin
33+
COMPONENT Runtime)

0 commit comments

Comments
 (0)