"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ginsh/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)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../ginac
${CMAKE_CURRENT_BINARY_DIR}/../ginac
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR})
add_definitions(-DIN_GINAC)
bison_target(ginsh_parser bison_target(ginsh_parser
ginsh_parser.ypp ginsh_parser.ypp
${CMAKE_CURRENT_BINARY_DIR}/ginsh_parser.cpp) ${CMAKE_CURRENT_BINARY_DIR}/ginsh_parser.cpp)
flex_target(ginsh_lexer flex_target(ginsh_lexer
ginsh_lexer.lpp ginsh_lexer.lpp
${CMAKE_CURRENT_BINARY_DIR}/ginsh_lexer.cpp) ${CMAKE_CURRENT_BINARY_DIR}/ginsh_lexer.cpp)
add_flex_bison_dependency(ginsh_lexer ginsh_parser) add_flex_bison_dependency(ginsh_lexer ginsh_parser)
set(ginsh_SOURCES set(ginsh_SOURCES
skipping to change at line 37 skipping to change at line 31
set(ginsh_DISTRIB set(ginsh_DISTRIB
${ginsh_SOURCES} ${ginsh_SOURCES}
${ginsh_HEADERS} ${ginsh_HEADERS}
ginsh_parser.ypp ginsh_parser.ypp
ginsh_lexer.lpp ginsh_lexer.lpp
ginsh.1.in ginsh.1.in
ginsh_fcn_help.py ginsh_fcn_help.py
ginsh_op_help.py ginsh_op_help.py
) )
set(ginsh_include_directories ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_BIN ARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
if (READLINE_FOUND) if (READLINE_FOUND)
include_directories(${READLINE_INCLUDE_DIRS}) set(ginsh_include_directories ${ginsh_include_directories} ${READLINE_INC LUDE_DIRS})
endif() endif()
add_custom_command( add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ginsh_fcn_help.h OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ginsh_fcn_help.h
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/ginsh_fcn_help.py -o ginsh_fcn_help.h ${CMAKE_CURRENT_SOURCE_DIR}/ginsh.1.in COMMAND ${PYTHON} ${CMAKE_CURRENT_SOURCE_DIR}/ginsh_fcn_help.py -o ginsh_ fcn_help.h ${CMAKE_CURRENT_SOURCE_DIR}/ginsh.1.in
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ginsh.1.in ${CMAKE_CURRENT_SOURCE_DIR }/ginsh_fcn_help.py DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ginsh.1.in ${CMAKE_CURRENT_SOURCE_DIR }/ginsh_fcn_help.py
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
add_custom_command( add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ginsh_op_help.h OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ginsh_op_help.h
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/ginsh_op_help.py -o ginsh_op_help.h $ {CMAKE_CURRENT_SOURCE_DIR}/ginsh.1.in COMMAND ${PYTHON} ${CMAKE_CURRENT_SOURCE_DIR}/ginsh_op_help.py -o ginsh_o p_help.h ${CMAKE_CURRENT_SOURCE_DIR}/ginsh.1.in
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ginsh.1.in ${CMAKE_CURRENT_SOURCE_DIR }/ginsh_op_help.py DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ginsh.1.in ${CMAKE_CURRENT_SOURCE_DIR }/ginsh_op_help.py
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
add_custom_command( add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ginsh_parser.hpp OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ginsh_parser.hpp
DEPENDS ${BISON_ginsh_parser_OUTPUTS} DEPENDS ${BISON_ginsh_parser_OUTPUTS}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
set(ginsh_extra_libs) set(ginsh_extra_libs)
if (READLINE_FOUND) if (READLINE_FOUND)
set(ginsh_extra_libs ${READLINE_LIBRARIES}) set(ginsh_extra_libs ${READLINE_LIBRARIES})
endif() endif()
add_executable(ginsh ${ginsh_SOURCES} ${ginsh_HEADERS}) add_executable(ginsh ${ginsh_SOURCES} ${ginsh_HEADERS})
target_link_libraries(ginsh ginac ${ginsh_extra_libs} ${LIBDL_LIBRARIES}) target_link_libraries(ginsh ginac::ginac ${ginsh_extra_libs})
install(TARGETS ginsh RUNTIME DESTINATION "${BIN_INSTALL_DIR}") target_include_directories(ginsh PRIVATE ${ginsh_include_directories})
target_compile_definitions(ginsh PRIVATE HAVE_CONFIG_H)
install(TARGETS ginsh RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
 End of changes. 6 change blocks. 
9 lines changed or deleted 4 lines changed or added

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