File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ file(GLOB sources CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp)
2424
2525add_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
2929target_link_libraries (${PROJECT_NAME} Aligncount::Aligncount cxxopts)
30+
31+ install (TARGETS AligncountStandalone
32+ RUNTIME DESTINATION bin
33+ COMPONENT Runtime)
You can’t perform that action at this time.
0 commit comments