"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ginac/CMakeLists.txt" between
ginac-1.7.11.tar.bz2 and ginac-1.8.0.tar.bz2

About: GiNaC (GiNaC is Not a CAS (Computer Algebra System)) is a C++ library for symbolic calculations.

CMakeLists.txt  (ginac-1.7.11.tar.bz2):CMakeLists.txt  (ginac-1.8.0.tar.bz2)
cmake_minimum_required(VERSION 2.6)
set(ginaclib_sources set(ginaclib_sources
add.cpp add.cpp
archive.cpp archive.cpp
basic.cpp basic.cpp
clifford.cpp clifford.cpp
color.cpp color.cpp
constant.cpp constant.cpp
excompiler.cpp excompiler.cpp
ex.cpp ex.cpp
skipping to change at line 24 skipping to change at line 23
exprseq.cpp exprseq.cpp
factor.cpp factor.cpp
fail.cpp fail.cpp
fderivative.cpp fderivative.cpp
function.cpp function.cpp
idx.cpp idx.cpp
indexed.cpp indexed.cpp
inifcns.cpp inifcns.cpp
inifcns_gamma.cpp inifcns_gamma.cpp
inifcns_nstdsums.cpp inifcns_nstdsums.cpp
inifcns_elliptic.cpp
inifcns_trans.cpp inifcns_trans.cpp
integration_kernel.cpp
integral.cpp integral.cpp
lst.cpp lst.cpp
matrix.cpp matrix.cpp
mul.cpp mul.cpp
ncmul.cpp ncmul.cpp
normal.cpp normal.cpp
numeric.cpp numeric.cpp
operators.cpp operators.cpp
parser/default_reader.cpp parser/default_reader.cpp
parser/lexer.cpp parser/lexer.cpp
skipping to change at line 92 skipping to change at line 93
fail.h fail.h
factor.h factor.h
fderivative.h fderivative.h
flags.h flags.h
${CMAKE_CURRENT_BINARY_DIR}/function.h ${CMAKE_CURRENT_BINARY_DIR}/function.h
hash_map.h hash_map.h
idx.h idx.h
indexed.h indexed.h
inifcns.h inifcns.h
integral.h integral.h
integration_kernel.h
lst.h lst.h
matrix.h matrix.h
mul.h mul.h
ncmul.h ncmul.h
normal.h normal.h
numeric.h numeric.h
operators.h operators.h
power.h power.h
print.h print.h
pseries.h pseries.h
skipping to change at line 120 skipping to change at line 122
wildcard.h wildcard.h
parser/parser.h parser/parser.h
parser/parse_context.h parser/parse_context.h
) )
set(ginaclib_private_headers set(ginaclib_private_headers
remember.h remember.h
utils.h utils.h
crc32.h crc32.h
hash_seed.h hash_seed.h
utils_multi_iterator.h
parser/lexer.h parser/lexer.h
parser/debug.h parser/debug.h
polynomial/gcd_euclid.h polynomial/gcd_euclid.h
polynomial/remainder.h polynomial/remainder.h
polynomial/normalize.h polynomial/normalize.h
polynomial/upoly.h polynomial/upoly.h
polynomial/ring_traits.h polynomial/ring_traits.h
polynomial/mod_gcd.h polynomial/mod_gcd.h
polynomial/cra_garner.h polynomial/cra_garner.h
polynomial/upoly_io.h polynomial/upoly_io.h
skipping to change at line 150 skipping to change at line 153
polynomial/newton_interpolate.h polynomial/newton_interpolate.h
polynomial/optimal_vars_finder.h polynomial/optimal_vars_finder.h
polynomial/pgcd.h polynomial/pgcd.h
polynomial/poly_cra.h polynomial/poly_cra.h
polynomial/primes_factory.h polynomial/primes_factory.h
polynomial/smod_helpers.h polynomial/smod_helpers.h
polynomial/debug.h polynomial/debug.h
) )
add_library(ginac ${ginaclib_sources}) add_library(ginac ${ginaclib_sources})
add_definitions(-DLIBEXECDIR="${LIBEXECDIR}/") add_library(ginac::ginac ALIAS ginac)
set_target_properties(ginac PROPERTIES set_target_properties(ginac PROPERTIES
SOVERSION ${ginaclib_soversion} SOVERSION ${ginaclib_soversion}
VERSION ${ginaclib_version}) VERSION ${ginaclib_version})
target_link_libraries(ginac ${CLN_LIBRARIES}) target_compile_definitions(ginac
include_directories(${CMAKE_SOURCE_DIR}/ginac) PUBLIC $<BUILD_INTERFACE:IN_GINAC>
PRIVATE -DLIBEXECDIR="${LIBEXECDIR}/" HAVE_CONFIG_H
)
target_link_libraries(ginac PUBLIC cln::cln ${LIBDL_LIBRARIES})
target_include_directories(ginac PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/..>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
)
if (WIN32 AND CMAKE_COMPILER_IS_GNUCXX AND BUILD_SHARED_LIBS)
set_target_properties(ginac PROPERTIES
LINK_FLAGS "-Wl,--enable-auto-import -Wl,--export-all-symbols"
)
endif()
if (NOT BUILD_SHARED_LIBS) if (NOT BUILD_SHARED_LIBS)
set_target_properties(ginac PROPERTIES OUTPUT_NAME "ginac") set_target_properties(ginac PROPERTIES OUTPUT_NAME "ginac")
# Avoid the static library vs import library conflict (necessary for # Avoid the static library vs import library conflict (necessary for
# m$ toolchain). # m$ toolchain).
set_target_properties(ginac PROPERTIES PREFIX "lib") set_target_properties(ginac PROPERTIES PREFIX "lib")
endif() endif()
install(TARGETS ginac LIBRARY DESTINATION "${LIB_INSTALL_DIR}" install(TARGETS ginac
RUNTIME DESTINATION "${BIN_INSTALL_DIR}" EXPORT ginac-exports
ARCHIVE DESTINATION "${LIB_INSTALL_DIR}") LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
install(FILES ${ginaclib_public_headers} DESTINATION "${INCLUDE_INSTALL_DIR}/gin RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
ac") ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
)
install(FILES ${ginaclib_public_headers} DESTINATION "${CMAKE_INSTALL_INCLUDEDIR
}/ginac")
install(EXPORT ginac-exports
FILE ginac-targets.cmake
NAMESPACE ginac::
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/ginac
)
add_custom_command( add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/function.h OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/function.h
COMMAND python ${CMAKE_CURRENT_SOURCE_DIR}/function.py -o ${CMAKE_CURRENT _BINARY_DIR}/function.h ${CMAKE_CURRENT_SOURCE_DIR}/function.hppy COMMAND ${PYTHON} ${CMAKE_CURRENT_SOURCE_DIR}/function.py -o ${CMAKE_CURR ENT_BINARY_DIR}/function.h ${CMAKE_CURRENT_SOURCE_DIR}/function.hppy
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/function.hppy ${CMAKE_CURRENT_SOURCE_ DIR}/function.py) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/function.hppy ${CMAKE_CURRENT_SOURCE_ DIR}/function.py)
add_custom_command( add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/function.cpp OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/function.cpp
COMMAND python ${CMAKE_CURRENT_SOURCE_DIR}/function.py -o ${CMAKE_CURRENT _BINARY_DIR}/function.cpp ${CMAKE_CURRENT_SOURCE_DIR}/function.cppy COMMAND ${PYTHON} ${CMAKE_CURRENT_SOURCE_DIR}/function.py -o ${CMAKE_CURR ENT_BINARY_DIR}/function.cpp ${CMAKE_CURRENT_SOURCE_DIR}/function.cppy
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/function.h ${CMAKE_CURRENT_SOURCE_DIR }/function.cppy ${CMAKE_CURRENT_SOURCE_DIR}/function.py) DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/function.h ${CMAKE_CURRENT_SOURCE_DIR }/function.cppy ${CMAKE_CURRENT_SOURCE_DIR}/function.py)
 End of changes. 10 change blocks. 
11 lines changed or deleted 37 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)