Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Problems for running "Triangulation_2_Examples" code with QT and VS2017
Chronological Thread
- From: Aomandeyi <>
- To:
- Subject: Re: [cgal-discuss] Problems for running "Triangulation_2_Examples" code with QT and VS2017
- Date: Wed, 10 Mar 2021 05:02:34 -0600 (CST)
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=SoftFail ; spf=Pass
- Ironport-phdr: 9a23:oyGI1xPzUEgY/ZfY9cUl6mtUPXoX/o7sNwtQ0KIMzox0Ivz8rarrMEGX3/hxlliBBdydt6sVzbOP4+u5CCQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTagZb5+Ngi6oRjSu8UZnIdvLrs6xwfUrHdPZ+lY335jK0iJnxb76Mew/Zpj/DpVtvk86cNOUrj0crohQ7BAAzsoL2465MvwtRneVgSP/WcTUn8XkhVTHQfI6gzxU4rrvSv7sup93zSaPdHzQLspVzmu87tnRRn1gyoBKjU38nzYitZogaxVoByvuR9xzIzaYI+IO/VxYqzTcMgGRWdDQspdSzBNDp+iY4YJEuEPPfxYr474p1YWsRa+AgysC/npyjBVmHD33aw62PkmHA7c2wwgGsgBsHLJo9rrNKYSUPu4zKbNzTrZbvNW3S3x55TPchAkuPyBW697fsXNx0c1DQzFkkmQppL/PzOTzukBrmyW4/R+WO6yiWMqqR19rzyvyMojloTEmIAYx17F+Ch9w4s7JdK2RkBnbdCkEZZdqy+XOohyT80sTWxlpTo2x7sbspC1eygKzY4oxx/Za/GfdYiH+AnsW/2VIThmnn5qZLW/hxO0/EO9yeP8TtG53EtOoydBiNXBuHMA2wbQ58WGUPdw/0as1DCS3A7J8O5EO1o7la/DJp4h3LEwkp0TvFzFHiL5gkn2irWZeV4/9eis9evreKnpppiZN4NsiwH+NLohmtCnDOglNgUDW3KX9Oq/2bH5/kD0Qa9Gg/w3n6XBtZDVP8Ubpqq3Aw9P1YYj7g6yAC2h0NQdh3YHKk9KdwyHjojoIFzOL/X4Au2+g1Soijtk2/fGPrj5DpXXMnfDiKvhfap660NE1AUzwspQ55ZNBr4cIfLzQVP+tMHDDh8iKAG02ObmCNBl1owEQ26PA6mZMLnTsVCS/O4vLfOMN8cpv2P2JPEhovLvlnQkgkQ1fK+z3JJRZmrrMO5hJhCwZn/lhNsMAGZC6gM5SeXshFCTUBZcYn+zW+Q34TRtW9HuNpvKWo342O/J5yy8BJADPjkbWGDJKm/hcsC/Y9lJaC+WJZY8wDpYE76oQYUl2FelswqokuM7fNqRwTURsNfY7PYw//fazEhg+jl9DsDb2GaIHTktzzE4AgQu1aU6mnRTj1KK0Kx2mftdTIUB6PZAUwN8PpnZnbd3
the CMakeLists.txt is offered by offical examples as follow, i didn't modify
it
---------------------------------------------------------------------------------------------------
# Created by the script cgal_create_cmake_script
# This is the CMake script for compiling a CGAL application.
cmake_minimum_required(VERSION 3.1...3.15)
project(Triangulation_2_Examples)
if(NOT POLICY CMP0070 AND POLICY CMP0053)
# Only set CMP0053 to OLD with CMake<3.10, otherwise there is a warning.
cmake_policy(SET CMP0053 OLD)
endif()
if(POLICY CMP0071)
cmake_policy(SET CMP0071 NEW)
endif()
find_package(CGAL REQUIRED OPTIONAL_COMPONENTS Qt5)
if(CGAL_Qt5_FOUND)
add_definitions(-DCGAL_USE_BASIC_VIEWER -DQT_NO_KEYWORDS)
endif()
# create a target per cppfile
file(
GLOB cppfiles
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
foreach(cppfile ${cppfiles})
create_single_source_cgal_program("${cppfile}")
endforeach()
if(CGAL_Qt5_FOUND)
target_link_libraries(draw_triangulation_2 PUBLIC CGAL::CGAL_Qt5)
else()
message(
STATUS
"NOTICE: The example draw_triangulation_2 requires Qt and will not be
compiled."
)
endif()
-----------------------------------------------------------------------
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] Problems for running "Triangulation_2_Examples" code with QT and VS2017, Aomandeyi, 03/10/2021
- Re: [cgal-discuss] Problems for running "Triangulation_2_Examples" code with QT and VS2017, Kabir Kedia, 03/10/2021
- Re: [cgal-discuss] Problems for running "Triangulation_2_Examples" code with QT and VS2017, Aomandeyi, 03/10/2021
- Re: [cgal-discuss] Problems for running "Triangulation_2_Examples" code with QT and VS2017, Maxime Gimeno, 03/10/2021
- Re: [cgal-discuss] Problems for running "Triangulation_2_Examples" code with QT and VS2017, Aomandeyi, 03/10/2021
- Re: [cgal-discuss] Problems for running "Triangulation_2_Examples" code with QT and VS2017, Maxime Gimeno, 03/10/2021
- Re: [cgal-discuss] Problems for running "Triangulation_2_Examples" code with QT and VS2017, Aomandeyi, 03/10/2021
- Re: [cgal-discuss] Problems for running "Triangulation_2_Examples" code with QT and VS2017, Andreas Fabri, 03/10/2021
- Re: [cgal-discuss] Problems for running "Triangulation_2_Examples" code with QT and VS2017, Aomandeyi, 03/10/2021
- Re: [cgal-discuss] Problems for running "Triangulation_2_Examples" code with QT and VS2017, Maxime Gimeno, 03/10/2021
- Re: [cgal-discuss] Problems for running "Triangulation_2_Examples" code with QT and VS2017, Aomandeyi, 03/10/2021
- Re: [cgal-discuss] Problems for running "Triangulation_2_Examples" code with QT and VS2017, Andreas Fabri, 03/10/2021
- Re: [cgal-discuss] Problems for running "Triangulation_2_Examples" code with QT and VS2017, Andreas Fabri, 03/10/2021
- Re: [cgal-discuss] Problems for running "Triangulation_2_Examples" code with QT and VS2017, Aomandeyi, 03/10/2021
- Re: [cgal-discuss] Problems for running "Triangulation_2_Examples" code with QT and VS2017, Maxime Gimeno, 03/10/2021
- Re: [cgal-discuss] Problems for running "Triangulation_2_Examples" code with QT and VS2017, Aomandeyi, 03/10/2021
- Re: [cgal-discuss] Problems for running "Triangulation_2_Examples" code with QT and VS2017, Kabir Kedia, 03/10/2021
Archive powered by MHonArc 2.6.19+.