Rename the project.
This commit is contained in:
parent
32a2bed59f
commit
cf961ec522
|
@ -1,12 +1,12 @@
|
||||||
cmake_minimum_required(VERSION 3.1)
|
cmake_minimum_required(VERSION 3.1)
|
||||||
project(cmdAbacus)
|
project(abcs)
|
||||||
|
|
||||||
find_package(PkgConfig REQUIRED)
|
find_package(PkgConfig REQUIRED)
|
||||||
pkg_check_modules(MPFR REQUIRED mpfr)
|
pkg_check_modules(MPFR REQUIRED mpfr)
|
||||||
set(CMAKE_CXX_STANDARD 11)
|
set(CMAKE_CXX_STANDARD 11)
|
||||||
|
|
||||||
add_subdirectory(external/libabacus)
|
add_subdirectory(external/libabacus)
|
||||||
add_executable(cmdAbacus src/main.cpp src/ref.cpp src/abacus.cpp src/types.cpp src/string_functions.cpp src/util.cpp src/operator_functions.cpp src/trig_functions.cpp src/other_functions.cpp)
|
add_executable(abcs src/main.cpp src/ref.cpp src/abacus.cpp src/types.cpp src/string_functions.cpp src/util.cpp src/operator_functions.cpp src/trig_functions.cpp src/other_functions.cpp)
|
||||||
target_link_libraries(cmdAbacus abacus ${MPFR_LIBRARIES} readline)
|
target_link_libraries(abcs abacus ${MPFR_LIBRARIES} readline)
|
||||||
target_include_directories(cmdAbacus PUBLIC include ${MPFR_INCLUDE_DIRS})
|
target_include_directories(abcs PUBLIC include ${MPFR_INCLUDE_DIRS})
|
||||||
target_compile_options(cmdAbacus PUBLIC ${MPFR_CFLAGS_OTHER})
|
target_compile_options(abcs PUBLIC ${MPFR_CFLAGS_OTHER})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user