Commit 62af4b8b authored by plgruener's avatar plgruener

rename gui/cli

parent 4cba97e6
......@@ -5,7 +5,7 @@ set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
find_package(OpenMP)
add_executable(dynamicsystems main.cpp compute.cpp picture.cpp)
add_executable(dynamicsystems-cli cli.cpp compute.cpp picture.cpp)
find_package(FLTK)
find_package(OpenGL)
......@@ -13,16 +13,16 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${-lfltk_images} ${-lfltk_png}")
find_package(PNG REQUIRED)
include_directories(${PNG_INCLUDE_DIR})
add_executable(gui gui.cpp compute.cpp picture.cpp)
target_link_libraries(gui ${FLTK_LIBRARIES} ${OPENGL_LIBRARIES} ${PNG_LIBRARY})
add_executable(dynamicsystems-gui gui.cpp compute.cpp picture.cpp)
target_link_libraries(dynamicsystems-gui ${FLTK_LIBRARIES} ${OPENGL_LIBRARIES} ${PNG_LIBRARY})
if(OPENMP_FOUND)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
endif()
find_package(Boost REQUIRED COMPONENTS program_options)
target_include_directories(dynamicsystems PRIVATE ${Boost_INCLUDE_DIR})
target_link_libraries(dynamicsystems PRIVATE ${PNG_LIBRARY} ${Boost_LIBRARIES})
target_include_directories(dynamicsystems-cli PRIVATE ${Boost_INCLUDE_DIR})
target_link_libraries(dynamicsystems-cli PRIVATE ${PNG_LIBRARY} ${Boost_LIBRARIES})
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment