]> www.ginac.de Git - ginac.git/blob - tools/CMakeLists.txt
Really finalize 1.8.4 release.
[ginac.git] / tools / CMakeLists.txt
1
2 add_executable(viewgar viewgar.cpp)
3 target_link_libraries(viewgar ginac::ginac)
4 install(TARGETS viewgar RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
5
6 if (CMAKE_COMPILER_IS_GNUCC)
7         set (CC gcc)
8         configure_file (
9           "${CMAKE_CURRENT_SOURCE_DIR}/ginac-excompiler.in"
10           "${CMAKE_CURRENT_BINARY_DIR}/ginac-excompiler"
11         )
12
13         install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/ginac-excompiler DESTINATION "${CMAKE_INSTALL_LIBEXECDIR}")
14 endif (CMAKE_COMPILER_IS_GNUCC)