From d9628a7e4d2704e01ac86d9884a81f7e848b39f9 Mon Sep 17 00:00:00 2001 From: origamidance Date: Thu, 1 Jun 2017 17:53:38 +0200 Subject: [PATCH 01/14] added cmake --- proj/cmake/Cinder-ImGuiConfig.cmake | 30 +++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 proj/cmake/Cinder-ImGuiConfig.cmake diff --git a/proj/cmake/Cinder-ImGuiConfig.cmake b/proj/cmake/Cinder-ImGuiConfig.cmake new file mode 100644 index 0000000..29e81cb --- /dev/null +++ b/proj/cmake/Cinder-ImGuiConfig.cmake @@ -0,0 +1,30 @@ +if(NOT TARGET Cinder-ImGui) + get_filename_component( CINDER-IMGUI_PATH "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE) + get_filename_component( CINDER_PATH "${CMAKE_CURRENT_LIST_DIR}/../../../.." ABSOLUTE ) + file(GLOB IMGUI_ADDONS ${CINDER-IMGUI_PATH}/lib/imgui/addons/*/*.cpp) + # message("imgui_addons=${IMGUI_ADDONS}") + file(GLOB IMGUI_ADDONS_INCLUDE ${CINDER-IMGUI_PATH}/lib/imgui/addons/*/) + # message("imgui_addons_include=${IMGUI_ADDONS_INCLUDE}") + add_definitions(-DIMGUI_INCLUDE_IMGUI_USER_H) + add_definitions(-DIMGUI_INCLUDE_IMGUI_USER_INL) + add_definitions(-DYES_IMGUIMINIGAMES) + list( APPEND CINDER-IMGUI_SOURCES + ${CINDER-IMGUI_PATH}/src/CinderImGui.cpp + ${CINDER-IMGUI_PATH}/lib/imgui/imgui.cpp + ${CINDER-IMGUI_PATH}/lib/imgui/imgui_draw.cpp + ${CINDER-IMGUI_PATH}/lib/imgui/imgui_demo.cpp + ) + add_library(Cinder-ImGui ${CINDER-IMGUI_SOURCES}) + target_include_directories( Cinder-ImGui PUBLIC + "${CINDER-IMGUI_PATH}/include" + "${CINDER-IMGUI_PATH}/lib/imgui" + ) + target_include_directories( Cinder-ImGui SYSTEM BEFORE PUBLIC "${CINDER_PATH}/include" ) + if( NOT TARGET cinder ) + include( "${CINDER_PATH}/proj/cmake/configure.cmake" ) + find_package( cinder REQUIRED PATHS + "${CINDER_PATH}/${CINDER_LIB_DIRECTORY}" + "$ENV{CINDER_PATH}/${CINDER_LIB_DIRECTORY}" ) + endif() + target_link_libraries(Cinder-ImGui PRIVATE cinder) +endif() From 771e2146a29a308a74e78bf3827c63482bc9921d Mon Sep 17 00:00:00 2001 From: origamidance Date: Thu, 1 Jun 2017 19:34:27 +0200 Subject: [PATCH 02/14] Merge branch 'master' of https://gitlab.com/origamidance/StringFab # Conflicts: # Cinder-ImGui --- proj/cmake/Cinder-ImGuiConfig.cmake | 10 +++++----- src/CinderImGui.cpp | 6 +++++- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/proj/cmake/Cinder-ImGuiConfig.cmake b/proj/cmake/Cinder-ImGuiConfig.cmake index 29e81cb..9fe4335 100644 --- a/proj/cmake/Cinder-ImGuiConfig.cmake +++ b/proj/cmake/Cinder-ImGuiConfig.cmake @@ -1,13 +1,13 @@ if(NOT TARGET Cinder-ImGui) get_filename_component( CINDER-IMGUI_PATH "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE) get_filename_component( CINDER_PATH "${CMAKE_CURRENT_LIST_DIR}/../../../.." ABSOLUTE ) - file(GLOB IMGUI_ADDONS ${CINDER-IMGUI_PATH}/lib/imgui/addons/*/*.cpp) + # file(GLOB IMGUI_ADDONS ${CINDER-IMGUI_PATH}/lib/imgui/addons/*/*.cpp) # message("imgui_addons=${IMGUI_ADDONS}") - file(GLOB IMGUI_ADDONS_INCLUDE ${CINDER-IMGUI_PATH}/lib/imgui/addons/*/) + # file(GLOB IMGUI_ADDONS_INCLUDE ${CINDER-IMGUI_PATH}/lib/imgui/addons/*/) # message("imgui_addons_include=${IMGUI_ADDONS_INCLUDE}") - add_definitions(-DIMGUI_INCLUDE_IMGUI_USER_H) - add_definitions(-DIMGUI_INCLUDE_IMGUI_USER_INL) - add_definitions(-DYES_IMGUIMINIGAMES) + # add_definitions(-DIMGUI_INCLUDE_IMGUI_USER_H) + # add_definitions(-DIMGUI_INCLUDE_IMGUI_USER_INL) + # add_definitions(-DYES_IMGUIMINIGAMES) list( APPEND CINDER-IMGUI_SOURCES ${CINDER-IMGUI_PATH}/src/CinderImGui.cpp ${CINDER-IMGUI_PATH}/lib/imgui/imgui.cpp diff --git a/src/CinderImGui.cpp b/src/CinderImGui.cpp index 2fee60c..1edbd6e 100644 --- a/src/CinderImGui.cpp +++ b/src/CinderImGui.cpp @@ -835,8 +835,12 @@ namespace { void keyDown( ci::app::KeyEvent& event ) { ImGuiIO& io = ImGui::GetIO(); - + +#if defined CINDER_LINUX + auto character = event.getChar(); +#else uint32_t character = event.getCharUtf32(); +#endif io.KeysDown[event.getCode()] = true; From e5b9e79a9518f57cba4506a777b040af458777ef Mon Sep 17 00:00:00 2001 From: origamidance Date: Mon, 5 Jun 2017 02:06:06 +0200 Subject: [PATCH 03/14] merge upstream --- lib/imgui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/imgui b/lib/imgui index 1cd1ca2..0828a1f 160000 --- a/lib/imgui +++ b/lib/imgui @@ -1 +1 @@ -Subproject commit 1cd1ca259efd38d560ac3c44e6353af81a9b72e3 +Subproject commit 0828a1fd6c0ee7d53d4a7013a56002aaffc86896 From 35e0894436daafbed2b89bc615045a23e73466c8 Mon Sep 17 00:00:00 2001 From: origamidance Date: Mon, 5 Jun 2017 02:12:29 +0200 Subject: [PATCH 04/14] remove warning --- src/CinderImGui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CinderImGui.cpp b/src/CinderImGui.cpp index 663e323..09fb2fc 100644 --- a/src/CinderImGui.cpp +++ b/src/CinderImGui.cpp @@ -876,7 +876,7 @@ namespace { ImGuiIO& io = ImGui::GetIO(); #if defined CINDER_LINUX - auto character = event.getChar(); + uint32_t character = event.getChar(); #else uint32_t character = event.getCharUtf32(); #endif From eb3b4e1a7d7282853212602c48f7ca16be3d46b0 Mon Sep 17 00:00:00 2001 From: origamidance Date: Sun, 27 Aug 2017 23:36:38 +0200 Subject: [PATCH 05/14] update imgui --- include/CinderImGui.h | 14 +++++++------- lib/imgui | 2 +- src/CinderImGui.cpp | 26 +++++++++++++------------- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/include/CinderImGui.h b/include/CinderImGui.h index ec072ca..b9529c4 100644 --- a/include/CinderImGui.h +++ b/include/CinderImGui.h @@ -210,10 +210,10 @@ namespace ImGui { bool DragInt3(const char* label, T *object, ci::ivec3( T::*get )() const, void( T::*set )( const ci::ivec3& ), float v_speed = 1.0f, int v_min = 0, int v_max = 0, const char* display_format = "%.0f" ); template bool DragInt4(const char* label, T *object, ci::ivec4( T::*get )() const, void( T::*set )( const ci::ivec4& ), float v_speed = 1.0f, int v_min = 0, int v_max = 0, const char* display_format = "%.0f" ); - template - bool ColorPicker3( const char* label, T *object, ci::Color( T::*get )() const, void( T::*set )( const ci::Color& ) ); - template - bool ColorPicker4( const char* label, T *object, ci::ColorA( T::*get )() const, void( T::*set )( const ci::ColorA& ) ); + // template + // bool ColorPicker3( const char* label, T *object, ci::Color( T::*get )() const, void( T::*set )( const ci::Color& ) ); + // template + // bool ColorPicker4( const char* label, T *object, ci::ColorA( T::*get )() const, void( T::*set )( const ci::ColorA& ) ); // Scoped objects goodness (push the state when created and pop it when destroyed) @@ -276,8 +276,8 @@ namespace ImGui { IMGUI_API bool FilePicker( const char* label, ci::fs::path* path, bool open = true, const ci::fs::path &initialPath = ci::fs::path(), std::vector extensions = std::vector() ); IMGUI_API bool IconButton( const char* icon, const ImVec2& size = ImVec2(0,0), bool frame = false ); IMGUI_API bool IconToggle( const char* iconEnabled, const char* iconDisabled, bool *enabled, const ImVec2& size = ImVec2(0,0), bool frame = false ); - IMGUI_API bool ColorPicker3( const char* label, float col[3] ); - IMGUI_API bool ColorPicker4( const char* label, float col[4] ); + // IMGUI_API bool ColorPicker3( const char* label, float col[3] ); + // IMGUI_API bool ColorPicker4( const char* label, float col[4] ); // Context sharing utilities. Can be used to help sharing the context between host app and dlls. class ContextOwner { @@ -451,4 +451,4 @@ namespace ImGui { } return false; } -} \ No newline at end of file +} diff --git a/lib/imgui b/lib/imgui index 0828a1f..b295e18 160000 --- a/lib/imgui +++ b/lib/imgui @@ -1 +1 @@ -Subproject commit 0828a1fd6c0ee7d53d4a7013a56002aaffc86896 +Subproject commit b295e185ffae72e2f3edea83526b0324484f9f5b diff --git a/src/CinderImGui.cpp b/src/CinderImGui.cpp index 09fb2fc..c016663 100644 --- a/src/CinderImGui.cpp +++ b/src/CinderImGui.cpp @@ -1465,20 +1465,20 @@ namespace { } // anonymous namespace -bool ColorPicker3( const char* label, float col[3] ) -{ - ui::PushID( label ); - bool changed = ColorPickerImpl( &col[0], false ); - SameLine(); - TextUnformatted( label ); - ui::PopID(); - return changed; -} +// bool ColorPicker3( const char* label, float col[3] ) +// { +// ui::PushID( label ); +// bool changed = ColorPickerImpl( &col[0], false ); +// SameLine(); +// TextUnformatted( label ); +// ui::PopID(); +// return changed; +// } -bool ColorPicker4( const char* label, float col[4] ) -{ - return ColorPickerImpl( &col[0], true ); -} +// bool ColorPicker4( const char* label, float col[4] ) +// { +// return ColorPickerImpl( &col[0], true ); +// } #if defined( IMGUI_DOCK ) From 3d463686e7ce7c12c046cf4c5044f8be4255be0c Mon Sep 17 00:00:00 2001 From: origamidance Date: Mon, 23 Oct 2017 18:25:13 +0200 Subject: [PATCH 06/14] local changes --- lib/imgui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/imgui b/lib/imgui index b295e18..3b85a8b 160000 --- a/lib/imgui +++ b/lib/imgui @@ -1 +1 @@ -Subproject commit b295e185ffae72e2f3edea83526b0324484f9f5b +Subproject commit 3b85a8b6a0f0063a3fc7d1dbc18a0dff7a1d17e9 From 524a73942110d5957f5d3dd63a54b4f3510cf683 Mon Sep 17 00:00:00 2001 From: origamidance Date: Mon, 23 Oct 2017 18:56:52 +0200 Subject: [PATCH 07/14] merge upstream --- lib/imgui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/imgui b/lib/imgui index 3b85a8b..b295e18 160000 --- a/lib/imgui +++ b/lib/imgui @@ -1 +1 @@ -Subproject commit 3b85a8b6a0f0063a3fc7d1dbc18a0dff7a1d17e9 +Subproject commit b295e185ffae72e2f3edea83526b0324484f9f5b From 400e7c5036dc1b415d9fbe9f3c0e9904114eeda8 Mon Sep 17 00:00:00 2001 From: origamidance Date: Mon, 23 Oct 2017 19:16:27 +0200 Subject: [PATCH 08/14] fix id --- #%2Aediff-merge%2A#869IHX# | 2532 ----------------- lib/imgui | 2 +- proj/cmake/Cinder-ImGuiConfig.cmake | 1 + samples/Basic/linux/CMakeLists.txt | 4 +- samples/Basic/linux/build/CMakeCache.txt | 331 +++ .../CMakeFiles/3.9.4/CMakeCCompiler.cmake | 71 + .../CMakeFiles/3.9.4/CMakeCXXCompiler.cmake | 73 + .../3.9.4/CMakeDetermineCompilerABI_C.bin | Bin 0 -> 8192 bytes .../3.9.4/CMakeDetermineCompilerABI_CXX.bin | Bin 0 -> 8208 bytes .../build/CMakeFiles/3.9.4/CMakeSystem.cmake | 15 + .../3.9.4/CompilerIdC/CMakeCCompilerId.c | 567 ++++ .../build/CMakeFiles/3.9.4/CompilerIdC/a.out | Bin 0 -> 8352 bytes .../CompilerIdCXX/CMakeCXXCompilerId.cpp | 539 ++++ .../CMakeFiles/3.9.4/CompilerIdCXX/a.out | Bin 0 -> 8360 bytes .../linux/build/CMakeFiles/CMakeOutput.log | 529 ++++ .../linux/build/CMakeFiles/cmake.check_cache | 1 + .../linux/build/CMakeFiles/feature_tests.bin | Bin 0 -> 12248 bytes .../linux/build/CMakeFiles/feature_tests.c | 34 + .../linux/build/CMakeFiles/feature_tests.cxx | 405 +++ src/CinderImGui.cpp | 4 +- 20 files changed, 2571 insertions(+), 2537 deletions(-) delete mode 100644 #%2Aediff-merge%2A#869IHX# create mode 100644 samples/Basic/linux/build/CMakeCache.txt create mode 100644 samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeCCompiler.cmake create mode 100644 samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeCXXCompiler.cmake create mode 100755 samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeDetermineCompilerABI_C.bin create mode 100755 samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeDetermineCompilerABI_CXX.bin create mode 100644 samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeSystem.cmake create mode 100644 samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdC/CMakeCCompilerId.c create mode 100755 samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdC/a.out create mode 100644 samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdCXX/CMakeCXXCompilerId.cpp create mode 100755 samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdCXX/a.out create mode 100644 samples/Basic/linux/build/CMakeFiles/CMakeOutput.log create mode 100644 samples/Basic/linux/build/CMakeFiles/cmake.check_cache create mode 100755 samples/Basic/linux/build/CMakeFiles/feature_tests.bin create mode 100644 samples/Basic/linux/build/CMakeFiles/feature_tests.c create mode 100644 samples/Basic/linux/build/CMakeFiles/feature_tests.cxx diff --git a/#%2Aediff-merge%2A#869IHX# b/#%2Aediff-merge%2A#869IHX# deleted file mode 100644 index 5a3cf2e..0000000 --- a/#%2Aediff-merge%2A#869IHX# +++ /dev/null @@ -1,2532 +0,0 @@ -/* - Cinder-ImGui - This code is intended for use with Cinder - and Omar Cornut ImGui C++ libraries. - - http://libcinder.org - https://github.com/ocornut - - Copyright (c) 2013-2015, Simon Geilfus - All rights reserved. - - Redistribution and use in source and binary forms, with or without modification, are permitted provided that - the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and - the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and - the following disclaimer in the documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR - ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED - TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - POSSIBILITY OF SUCH DAMAGE. - */ - -// Linux fixes thanks to the help of @petros, see this thread: -// https://forum.libcinder.org/#Topic/23286000002634083 - -#include "CinderImGui.h" -#define IMGUI_DEFINE_MATH_OPERATORS -#define IMGUI_DEFINE_PLACEMENT_NEW -#include "imgui_internal.h" - -#include "cinder/app/App.h" -#include "cinder/gl/scoped.h" -#include "cinder/gl/draw.h" -#include "cinder/gl/Context.h" -#include "cinder/gl/Vao.h" -#include "cinder/gl/Vbo.h" -#include "cinder/gl/Texture.h" -#include "cinder/gl/GlslProg.h" -#include "cinder/Clipboard.h" -#include "cinder/CinderAssert.h" -#include "cinder/Log.h" - -using namespace std; -using namespace ci; -using namespace ci::app; - - -namespace ImGui { - -// static variables -static bool sInitialized = false; - - -ImGui::Options::Options() -: mWindow( ci::app::getWindow() ), -mAutoRender( true ), mMergeFonts( true ) -{ - darkTheme(); -} - -ImGui::Options& ImGui::Options::window( const ci::app::WindowRef &window ) -{ - mWindow = window; - return *this; -} -ImGui::Options& ImGui::Options::autoRender( bool autoRender ) -{ - mAutoRender = autoRender; - return *this; -} - -ImGui::Options& ImGui::Options::font( const ci::fs::path &fontPath, float size ) -{ - mFonts = { { fontPath, size } }; - return *this; -} -ImGui::Options& ImGui::Options::fonts( const std::vector> &fonts, bool merge ) -{ - mFonts = fonts; - mMergeFonts = merge; - return *this; -} -ImGui::Options& ImGui::Options::fontGlyphRanges( const std::string &name, const vector &glyphRanges ) -{ - mFontsGlyphRanges[name] = glyphRanges; - return *this; -} -ImGui::Options& ImGui::Options::fontGlobalScale(float scale) -{ - ImGui::GetIO().FontGlobalScale = scale; - return *this; -} -ImGui::Options& ImGui::Options::alpha( float a ) -{ - mStyle.Alpha = a; - return *this; -} -ImGui::Options& ImGui::Options::windowPadding( const glm::vec2 &padding ) -{ - mStyle.WindowPadding = padding; - return *this; -} -ImGui::Options& ImGui::Options::windowMinSize( const glm::vec2 &minSize ) -{ - mStyle.WindowMinSize = minSize; - return *this; -} -ImGui::Options& ImGui::Options::windowRounding( float rounding ) -{ - mStyle.WindowRounding = rounding; - return *this; -} -ImGui::Options& ImGui::Options::windowTitleAlign( const glm::vec2 &align ) -{ - mStyle.WindowTitleAlign = align; - return *this; -} -ImGui::Options& ImGui::Options::childWindowRounding( float rounding ) -{ - mStyle.ChildWindowRounding = rounding; - return *this; -} - -ImGui::Options& ImGui::Options::framePadding( const glm::vec2 &padding ) -{ - mStyle.FramePadding = padding; - return *this; -} -ImGui::Options& ImGui::Options::frameRounding( float rounding ) -{ - mStyle.FrameRounding = rounding; - return *this; -} -ImGui::Options& ImGui::Options::itemSpacing( const glm::vec2 &spacing ) -{ - mStyle.ItemSpacing = spacing; - return *this; -} -ImGui::Options& ImGui::Options::itemInnerSpacing( const glm::vec2 &spacing ) -{ - mStyle.ItemInnerSpacing = spacing; - return *this; -} -ImGui::Options& ImGui::Options::touchExtraPadding( const glm::vec2 &padding ) -{ - mStyle.TouchExtraPadding = padding; - return *this; -} -ImGui::Options& ImGui::Options::indentSpacing( float spacing ) -{ - mStyle.IndentSpacing = spacing; - return *this; -} -ImGui::Options& ImGui::Options::columnsMinSpacing( float minSpacing ) -{ - mStyle.ColumnsMinSpacing = minSpacing; - return *this; -} -ImGui::Options& ImGui::Options::scrollBarSize( float size ) -{ - mStyle.ScrollbarSize = size; - return *this; -} -ImGui::Options& ImGui::Options::scrollbarRounding( float rounding ) -{ - mStyle.ScrollbarRounding = rounding; - return *this; -} -ImGui::Options& ImGui::Options::grabMinSize( float minSize ) -{ - mStyle.GrabMinSize = minSize; - return *this; -} -ImGui::Options& ImGui::Options::grabRounding( float rounding ) -{ - mStyle.GrabRounding = rounding; - return *this; -} -ImGui::Options& ImGui::Options::displayWindowPadding( const glm::vec2 &padding ) -{ - mStyle.DisplayWindowPadding = padding; - return *this; -} -ImGui::Options& ImGui::Options::displaySafeAreaPadding( const glm::vec2 &padding ) -{ - mStyle.DisplaySafeAreaPadding = padding; - return *this; -} -ImGui::Options& ImGui::Options::antiAliasedLines( bool antiAliasing ) -{ - mStyle.AntiAliasedLines = antiAliasing; - return *this; -} -ImGui::Options& ImGui::Options::antiAliasedShapes( bool antiAliasing ) -{ - mStyle.AntiAliasedShapes = antiAliasing; - return *this; -} -ImGui::Options& ImGui::Options::curveTessellationTol( float tessTolerance ) -{ - mStyle.CurveTessellationTol = tessTolerance; - return *this; -} -ImGui::Options& ImGui::Options::iniPath( const ci::fs::path &path ) -{ - mIniPath = path; - return *this; -} - -const ImWchar* ImGui::Options::getFontGlyphRanges( const std::string &name ) const -{ - if( mFontsGlyphRanges.count( name ) ) { - return &mFontsGlyphRanges.find(name)->second[0]; - } - else return NULL; -} - -ImGui::Options& ImGui::Options::defaultTheme() -{ - mStyle = ImGuiStyle(); - - return *this; -} - -ImGui::Options& ImGui::Options::darkTheme() -{ - mStyle.WindowMinSize = ImVec2( 160, 20 ); - mStyle.FramePadding = ImVec2( 4, 2 ); - mStyle.ItemSpacing = ImVec2( 6, 2 ); - mStyle.ItemInnerSpacing = ImVec2( 6, 4 ); - mStyle.Alpha = 0.95f; - mStyle.WindowRounding = 4.0f; - mStyle.FrameRounding = 2.0f; - mStyle.IndentSpacing = 6.0f; - mStyle.ItemInnerSpacing = ImVec2( 2, 4 ); - mStyle.ColumnsMinSpacing = 50.0f; - mStyle.GrabMinSize = 14.0f; - mStyle.GrabRounding = 16.0f; - mStyle.ScrollbarSize = 12.0f; - mStyle.ScrollbarRounding = 16.0f; - - ImGuiStyle& style = mStyle; - style.Colors[ImGuiCol_Text] = ImVec4(0.86f, 0.93f, 0.89f, 0.78f); - style.Colors[ImGuiCol_TextDisabled] = ImVec4(0.86f, 0.93f, 0.89f, 0.28f); - style.Colors[ImGuiCol_WindowBg] = ImVec4(0.13f, 0.14f, 0.17f, 1.00f); - style.Colors[ImGuiCol_ChildWindowBg] = ImVec4(0.20f, 0.22f, 0.27f, 0.58f); - style.Colors[ImGuiCol_Border] = ImVec4(0.31f, 0.31f, 1.00f, 0.00f); - style.Colors[ImGuiCol_BorderShadow] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f); - style.Colors[ImGuiCol_FrameBg] = ImVec4(0.20f, 0.22f, 0.27f, 1.00f); - style.Colors[ImGuiCol_FrameBgHovered] = ImVec4(0.92f, 0.18f, 0.29f, 0.78f); - style.Colors[ImGuiCol_FrameBgActive] = ImVec4(0.92f, 0.18f, 0.29f, 1.00f); - style.Colors[ImGuiCol_TitleBg] = ImVec4(0.20f, 0.22f, 0.27f, 1.00f); - style.Colors[ImGuiCol_TitleBgCollapsed] = ImVec4(0.20f, 0.22f, 0.27f, 0.75f); - style.Colors[ImGuiCol_TitleBgActive] = ImVec4(0.92f, 0.18f, 0.29f, 1.00f); - style.Colors[ImGuiCol_MenuBarBg] = ImVec4(0.20f, 0.22f, 0.27f, 0.47f); - style.Colors[ImGuiCol_ScrollbarBg] = ImVec4(0.20f, 0.22f, 0.27f, 1.00f); - style.Colors[ImGuiCol_ScrollbarGrab] = ImVec4(0.09f, 0.15f, 0.16f, 1.00f); - style.Colors[ImGuiCol_ScrollbarGrabHovered] = ImVec4(0.92f, 0.18f, 0.29f, 0.78f); - style.Colors[ImGuiCol_ScrollbarGrabActive] = ImVec4(0.92f, 0.18f, 0.29f, 1.00f); - style.Colors[ImGuiCol_ComboBg] = ImVec4(0.20f, 0.22f, 0.27f, 1.00f); - style.Colors[ImGuiCol_CheckMark] = ImVec4(0.71f, 0.22f, 0.27f, 1.00f); - style.Colors[ImGuiCol_SliderGrab] = ImVec4(0.47f, 0.77f, 0.83f, 0.14f); - style.Colors[ImGuiCol_SliderGrabActive] = ImVec4(0.92f, 0.18f, 0.29f, 1.00f); - style.Colors[ImGuiCol_Button] = ImVec4(0.47f, 0.77f, 0.83f, 0.14f); - style.Colors[ImGuiCol_ButtonHovered] = ImVec4(0.92f, 0.18f, 0.29f, 0.86f); - style.Colors[ImGuiCol_ButtonActive] = ImVec4(0.92f, 0.18f, 0.29f, 1.00f); - style.Colors[ImGuiCol_Header] = ImVec4(0.92f, 0.18f, 0.29f, 0.76f); - style.Colors[ImGuiCol_HeaderHovered] = ImVec4(0.92f, 0.18f, 0.29f, 0.86f); - style.Colors[ImGuiCol_HeaderActive] = ImVec4(0.92f, 0.18f, 0.29f, 1.00f); - style.Colors[ImGuiCol_Column] = ImVec4(0.14f, 0.16f, 0.19f, 1.00f); - style.Colors[ImGuiCol_ColumnHovered] = ImVec4(0.92f, 0.18f, 0.29f, 0.78f); - style.Colors[ImGuiCol_ColumnActive] = ImVec4(0.92f, 0.18f, 0.29f, 1.00f); - style.Colors[ImGuiCol_ResizeGrip] = ImVec4(0.47f, 0.77f, 0.83f, 0.04f); - style.Colors[ImGuiCol_ResizeGripHovered] = ImVec4(0.92f, 0.18f, 0.29f, 0.78f); - style.Colors[ImGuiCol_ResizeGripActive] = ImVec4(0.92f, 0.18f, 0.29f, 1.00f); - style.Colors[ImGuiCol_CloseButton] = ImVec4(0.86f, 0.93f, 0.89f, 0.16f); - style.Colors[ImGuiCol_CloseButtonHovered] = ImVec4(0.86f, 0.93f, 0.89f, 0.39f); - style.Colors[ImGuiCol_CloseButtonActive] = ImVec4(0.86f, 0.93f, 0.89f, 1.00f); - style.Colors[ImGuiCol_PlotLines] = ImVec4(0.86f, 0.93f, 0.89f, 0.63f); - style.Colors[ImGuiCol_PlotLinesHovered] = ImVec4(0.92f, 0.18f, 0.29f, 1.00f); - style.Colors[ImGuiCol_PlotHistogram] = ImVec4(0.86f, 0.93f, 0.89f, 0.63f); - style.Colors[ImGuiCol_PlotHistogramHovered] = ImVec4(0.92f, 0.18f, 0.29f, 1.00f); - style.Colors[ImGuiCol_TextSelectedBg] = ImVec4(0.92f, 0.18f, 0.29f, 0.43f); - style.Colors[ImGuiCol_PopupBg] = ImVec4(0.20f, 0.22f, 0.27f, 0.9f); - style.Colors[ImGuiCol_ModalWindowDarkening] = ImVec4(0.20f, 0.22f, 0.27f, 0.73f); - - return *this; -} - - -ImGui::Options& ImGui::Options::color( ImGuiCol option, const ci::ColorA &color ) -{ - mStyle.Colors[ option ] = color; - return *this; -} - -//! cinder renderer -class Renderer { -public: - Renderer(); - - //! renders imgui drawlist - void render( ImDrawData* draw_data ); - //! sets the font - ImFont* addFont( const ci::fs::path &font, float size, const ImWchar* glyph_ranges = NULL, bool merge = true ); - - //! initializes and returns the font texture - ci::gl::Texture2dRef getFontTextureRef(); - //! initializes and returns the vao - ci::gl::VaoRef getVao(); - //! initializes and returns the vbo - ci::gl::VboRef getVbo(); - //! initializes and returns the shader - ci::gl::GlslProgRef getGlslProg(); - - //! initializes the font texture - void initFontTexture(); - //! initializes the vbo mesh - void initBuffers( size_t size = 1000 ); - //! initializes the shader - void initGlslProg(); - - ImFont* getFont( const std::string &name ); - void clearFonts(); - -protected: - ci::gl::Texture2dRef mFontTexture; - ci::gl::VaoRef mVao; - ci::gl::VboRef mVbo; - ci::gl::VboRef mIbo; - ci::gl::GlslProgRef mShader; - - map mFonts; - vector> mFontsGlyphRanges; -}; - - - -Renderer::Renderer() -{ - initGlslProg(); - initBuffers(); -} - -#define USE_MAP_BUFFER - -//! renders imgui drawlist -void Renderer::render( ImDrawData* draw_data ) -{ - const float width = ImGui::GetIO().DisplaySize.x; - const float height = ImGui::GetIO().DisplaySize.y; - const auto &vao = getVao(); - const auto &vbo = getVbo(); - const auto &shader = getGlslProg(); - auto ctx = gl::context(); - - const mat4 mat = - { - { 2.0f/width, 0.0f, 0.0f, 0.0f }, - { 0.0f, 2.0f/-height, 0.0f, 0.0f }, - { 0.0f, 0.0f, -1.0f, 0.0f }, - { -1.0f, 1.0f, 0.0f, 1.0f }, - }; - - gl::ScopedVao scopedVao( vao.get() ); - gl::ScopedBuffer scopedVbo( GL_ARRAY_BUFFER, vbo->getId() ); - gl::ScopedBuffer scopedIbo( GL_ELEMENT_ARRAY_BUFFER, mIbo->getId() ); - gl::ScopedGlslProg scopedShader( shader ); - gl::ScopedDepth scopedDepth( false ); - gl::ScopedBlendAlpha scopedBlend; - gl::ScopedFaceCulling scopedFaceCulling( false ); - shader->uniform( "uModelViewProjection", mat ); - shader->uniform( "uTex", 0 ); - - GLuint currentTextureId = 0; - ctx->pushTextureBinding( GL_TEXTURE_2D, currentTextureId, 0 ); - ctx->pushBoolState( GL_SCISSOR_TEST, GL_TRUE ); - ctx->pushScissor(); - for (int n = 0; n < draw_data->CmdListsCount; n++) { - const ImDrawList* cmd_list = draw_data->CmdLists[n]; - const ImDrawIdx* idx_buffer_offset = 0; - -#if defined( USE_MAP_BUFFER ) - // grow vertex buffer if needed - int needed_vtx_size = cmd_list->VtxBuffer.size() * sizeof(ImDrawVert); - if ( vbo->getSize() < needed_vtx_size) { - GLsizeiptr size = needed_vtx_size + 2000 * sizeof(ImDrawVert); -#ifndef CINDER_LINUX_EGL_RPI2 - mVbo->bufferData( size, nullptr, GL_STREAM_DRAW ); -#else - mVbo->bufferData( size, nullptr, GL_DYNAMIC_DRAW ); -#endif - } - - // update vertex data - { - ImDrawVert *vtx_data = static_cast( vbo->mapReplace() ); - if (!vtx_data) - continue; - memcpy( vtx_data, &cmd_list->VtxBuffer[0], cmd_list->VtxBuffer.size() * sizeof(ImDrawVert) ); - vbo->unmap(); - } - - // grow index buffer if needed - int needed_idx_size = cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx); - if( mIbo->getSize() < needed_idx_size ) { - GLsizeiptr size = needed_idx_size + 2000 * sizeof(ImDrawIdx); -#if ! defined( CINDER_LINUX_EGL_RPI2 ) - mIbo->bufferData( size, nullptr, GL_STREAM_DRAW ); -#else - mIbo->bufferData( size, nullptr, GL_DYNAMIC_DRAW ); -#endif - } - - // update index data - { - ImDrawIdx *idx_data = static_cast( mIbo->mapReplace() ); - if( ! idx_data ) - continue; - memcpy( idx_data, &cmd_list->IdxBuffer[0], cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx) ); - mIbo->unmap(); - } -#else -#if ! defined( CINDER_LINUX_EGL_RPI2 ) - mVbo->bufferData( (GLsizeiptr)cmd_list->VtxBuffer.Size * sizeof(ImDrawVert), (const GLvoid*)cmd_list->VtxBuffer.Data, GL_STREAM_DRAW ); - mIbo->bufferData( (GLsizeiptr)cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx), (const GLvoid*)cmd_list->IdxBuffer.Data, GL_STREAM_DRAW ); -#else - mVbo->bufferData( (GLsizeiptr)cmd_list->VtxBuffer.Size * sizeof(ImDrawVert), (const GLvoid*)cmd_list->VtxBuffer.Data, GL_DYNAMIC_DRAW ); - mIbo->bufferData( (GLsizeiptr)cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx), (const GLvoid*)cmd_list->IdxBuffer.Data, GL_DYNAMIC_DRAW ); -#endif -#endif - - // issue draw commands - for (int cmd_i = 0; cmd_i < cmd_list->CmdBuffer.Size; cmd_i++) - { - const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; - if (pcmd->UserCallback) { - pcmd->UserCallback(cmd_list, pcmd); - } - else { - bool pushTexture = currentTextureId != (GLuint)(intptr_t) pcmd->TextureId; - if( pushTexture ) { - currentTextureId = (GLuint)(intptr_t) pcmd->TextureId; - ctx->bindTexture( GL_TEXTURE_2D, currentTextureId, 0 ); - } - ctx->setScissor( { ivec2( (int)pcmd->ClipRect.x, (int)(height - pcmd->ClipRect.w) ), ivec2( (int)(pcmd->ClipRect.z - pcmd->ClipRect.x), (int)(pcmd->ClipRect.w - pcmd->ClipRect.y) ) } ); - gl::drawElements( GL_TRIANGLES, (GLsizei)pcmd->ElemCount, sizeof(ImDrawIdx) == 2 ? GL_UNSIGNED_SHORT : GL_UNSIGNED_INT, idx_buffer_offset ); - } - idx_buffer_offset += pcmd->ElemCount; - } - } - - ctx->popScissor(); - ctx->popBoolState( GL_SCISSOR_TEST ); - ctx->popTextureBinding( GL_TEXTURE_2D, 0 ); -} - -//! initializes and returns the font texture -gl::TextureRef Renderer::getFontTextureRef() -{ - if( !mFontTexture ){ - initFontTexture(); - } - return mFontTexture; -} -//! initializes and returns the vbo mesh -gl::VaoRef Renderer::getVao() -{ - if( !mVao ){ - initBuffers(); - } - return mVao; -} - -//! initializes and returns the vbo -gl::VboRef Renderer::getVbo() -{ - if( !mVbo ){ - initBuffers(); - } - return mVbo; -} - -//! initializes the vbo mesh -void Renderer::initBuffers( size_t size ) -{ - #if ! defined( CINDER_LINUX_EGL_RPI2 ) - mVbo = gl::Vbo::create( GL_ARRAY_BUFFER, size, nullptr, GL_STREAM_DRAW ); - mIbo = gl::Vbo::create( GL_ELEMENT_ARRAY_BUFFER, 10, nullptr, GL_STREAM_DRAW ); - #else - mVbo = gl::Vbo::create( GL_ARRAY_BUFFER, size, nullptr, GL_DYNAMIC_DRAW ); - mIbo = gl::Vbo::create( GL_ELEMENT_ARRAY_BUFFER, 10, nullptr, GL_DYNAMIC_DRAW ); - #endif - mVao = gl::Vao::create(); - - gl::ScopedVao mVaoScope( mVao ); - gl::ScopedBuffer mVboScope( mVbo ); - - gl::enableVertexAttribArray( 0 ); - gl::enableVertexAttribArray( 1 ); - gl::enableVertexAttribArray( 2 ); - - gl::vertexAttribPointer( 0, 2, GL_FLOAT, GL_FALSE, sizeof(ImDrawVert), (const GLvoid*)offsetof(ImDrawVert, pos) ); - gl::vertexAttribPointer( 1, 2, GL_FLOAT, GL_FALSE, sizeof(ImDrawVert), (const GLvoid*)offsetof(ImDrawVert, uv) ); - gl::vertexAttribPointer( 2, 4, GL_UNSIGNED_BYTE, GL_TRUE, sizeof(ImDrawVert), (const GLvoid*)offsetof(ImDrawVert, col) ); - -} -//! initalizes the font texture -void Renderer::initFontTexture() -{ - unsigned char* pixels; - int width, height; - ImGui::GetIO().Fonts->GetTexDataAsRGBA32(&pixels, &width, &height); - mFontTexture = gl::Texture::create( pixels, GL_RGBA, width, height, gl::Texture::Format().magFilter(GL_LINEAR).minFilter(GL_LINEAR) ); - ImGui::GetIO().Fonts->ClearTexData(); - ImGui::GetIO().Fonts->TexID = (void *)(intptr_t) mFontTexture->getId(); -} - -/*ImFont* addFont( ci::DataSourceRef font, float size, int fontId ) - { - ImFont* newFont = getRenderer()->addFont( font, size, fontId ); - return newFont; - } - */ - -ImFont* Renderer::addFont( const ci::fs::path &font, float size, const ImWchar* glyph_ranges, bool merge ) -{ - ImFontAtlas* fontAtlas = ImGui::GetIO().Fonts; - - auto fontSource = loadFile( font ); - Font ciFont( fontSource, size ); - - ImWchar* glyphRanges = NULL; - // if we have glyph ranges copy them - if( glyph_ranges && glyph_ranges[0] && glyph_ranges[1] ){ - mFontsGlyphRanges.push_back( vector() ); - auto &ranges = mFontsGlyphRanges.back(); - for( const ImWchar* range = glyph_ranges; range[0] && range[1]; range += 2 ) { - ranges.push_back( range[0] ); - ranges.push_back( range[1] ); - ranges.push_back( 0 ); - } - glyphRanges = ranges.data(); - } - // otherwise get them from the font - else if( ciFont.getNumGlyphs() ) { - int numGlyphs = ciFont.getNumGlyphs(); - // copy glyphs so we can sort them - vector glyphs; - for( size_t i = 0; i < numGlyphs; ++i ) { - glyphs.push_back( ciFont.getGlyphIndex( i ) ); - } - sort( glyphs.begin(), glyphs.end() ); - - // find glyph ranges - mFontsGlyphRanges.push_back( vector() ); - auto &ranges = mFontsGlyphRanges.back(); - Font::Glyph start = glyphs[0] == 0 ? '0' : glyphs[0]; - for( size_t i = 1; i < numGlyphs; ++i ) { - if( glyphs[i] != glyphs[i-1] + 1 ) { - ranges.push_back( start ); - ranges.push_back( glyphs[i-1] ); - start = glyphs[i]; - } - } - if( ranges.empty() || ranges.back() != glyphs[numGlyphs-1] ) { - ranges.push_back( start ); - ranges.push_back( glyphs[numGlyphs-1] ); - } - ranges.push_back( '\0' ); - glyphRanges = ranges.data(); - } - - BufferRef buffer = fontSource->getBuffer(); - void* bufferCopy = (void*) malloc( buffer->getSize() ); - memcpy( bufferCopy, buffer->getData(), buffer->getSize() ); - - ImFontConfig config; - if( merge && ! mFonts.empty() ) { - config.MergeMode = true; - config.PixelSnapH = true; - //config.OversampleV = 4; - } - /*else if( merge ) { - fontAtlas->AddFontDefault(); - config.MergeMode = true; - config.PixelSnapH = true; - }*/ - - ImFont* newFont = fontAtlas->AddFontFromMemoryTTF( bufferCopy, buffer->getSize(), size, &config, glyphRanges ); - //ImFont* newFont = fontAtlas->AddFontFromFileTTF( font.string().c_str(), size, &config, glyphRanges ); - - mFonts.insert( make_pair( font.stem().string(), newFont ) ); - return newFont; -} -void Renderer::clearFonts() -{ - mFonts.clear(); -} - -//! initalizes and returns the shader -gl::GlslProgRef Renderer::getGlslProg() -{ - if( !mShader ){ - initGlslProg(); - } - return mShader; -} - -//! initalizes the shader -void Renderer::initGlslProg() -{ - try { - mShader = gl::GlslProg::create( gl::GlslProg::Format() - .vertex( - #if defined(CINDER_GL_ES_2) - R"( - precision highp float; - uniform mat4 uModelViewProjection; - - attribute vec2 iPosition; - attribute vec2 iUv; - attribute vec4 iColor; - - varying vec2 vUv; - varying vec4 vColor; - - void main() { - vColor = iColor; - vUv = iUv; - gl_Position = uModelViewProjection * vec4( iPosition, 0.0, 1.0 ); - } )" - #elif defined(CINDER_GL_ES_3) - R"( - #version 300 es - precision highp float; - uniform mat4 uModelViewProjection; - - in vec2 iPosition; - in vec2 iUv; - in vec4 iColor; - - out vec2 vUv; - out vec4 vColor; - - void main() { - vColor = iColor; - vUv = iUv; - gl_Position = uModelViewProjection * vec4( iPosition, 0.0, 1.0 ); - } )" - #else - R"( - #version 150 - uniform mat4 uModelViewProjection; - in vec2 iPosition; - in vec2 iUv; - in vec4 iColor; - out vec2 vUv; - out vec4 vColor; - void main() { - vColor = iColor; - vUv = iUv; - gl_Position = uModelViewProjection * vec4( iPosition, 0.0, 1.0 ); - } )" - - #endif - ) - .fragment( - #if defined(CINDER_GL_ES_2) - R"( - precision highp float; - - varying highp vec2 vUv; - varying highp vec4 vColor; - uniform sampler2D uTex; - - void main() { - vec4 color = texture2D( uTex, vUv ) * vColor; - gl_FragColor = color; - } )" - #elif defined(CINDER_GL_ES_3) - R"( - #version 300 es - precision highp float; - - in highp vec2 vUv; - in highp vec4 vColor; - out highp vec4 oColor; - uniform sampler2D uTex; - - void main() { - vec4 color = texture( uTex, vUv ) * vColor; - oColor = color; - } )" - #else - R"( - #version 150 - - in vec2 vUv; - in vec4 vColor; - out vec4 oColor; - uniform sampler2D uTex; - - void main() { - vec4 color = texture( uTex, vUv ) * vColor; - oColor = color; - } )" - - #endif - ) - .attribLocation( "iPosition", 0 ) - .attribLocation( "iUv", 1 ) - .attribLocation( "iColor", 2 ) - ); - } - catch( gl::GlslProgCompileExc exc ){ - CI_LOG_E( "Problem Compiling ImGui::Renderer shader " << exc.what() ); - } -} -ImFont* Renderer::getFont( const std::string &name ) -{ - if( !mFonts.count( name ) ){ - return nullptr; - } - else { - return mFonts[name]; - } -} - - -typedef std::shared_ptr RendererRef; -RendererRef getRenderer() -{ - static RendererRef renderer = RendererRef( new Renderer() ); - return renderer; -} - - -// Cinder Helpers -void Image( const ci::gl::Texture2dRef &texture, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, const ImVec4& tint_col, const ImVec4& border_col ) -{ - Image( (void*)(intptr_t) texture->getId(), size, uv0, uv1, tint_col, border_col ); -} -bool ImageButton( const ci::gl::Texture2dRef &texture, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, int frame_padding, const ImVec4& bg_col, const ImVec4& tint_col) -{ - return ImageButton( (void*)(intptr_t) texture->getId(), size, uv0, uv1, frame_padding, bg_col, tint_col ); -} - -void PushFont( const std::string& name ) -{ - auto renderer = getRenderer(); - ImFont* font = renderer->getFont( name ); - CI_ASSERT( font != nullptr ); - PushFont( font ); -} - -// Std Helpers -bool ListBox( const char* label, int* current_item, const std::vector& items, int height_in_items ) -{ - // copy names to a vector - vector names; - for( auto item : items ) { - char *cname = new char[ item.size() + 1 ]; - std::strcpy( cname, item.c_str() ); - names.push_back( cname ); - } - - bool result = ListBox( label, current_item, names.data(), names.size(), height_in_items ); - // cleanup - for( auto &name : names ) delete [] name; - return result; -} -bool InputText( const char* label, std::string* buf, ImGuiInputTextFlags flags, ImGuiTextEditCallback callback, void* user_data ) -{ - // conversion - char *buffer = new char[buf->size()+128]; - std::strcpy( buffer, buf->c_str() ); - bool result = InputText( label, buffer, buf->size()+128, flags, callback, user_data ); - if( result ){ - *buf = string( buffer ); - } - // cleanup - delete [] buffer; - return result; -} -bool InputTextMultiline( const char* label, std::string* buf, const ImVec2& size, ImGuiInputTextFlags flags, ImGuiTextEditCallback callback, void* user_data ) -{ - // conversion - char *buffer = new char[buf->size()+128]; - std::strcpy( buffer, buf->c_str() ); - bool result = InputTextMultiline( label, buffer, buf->size()+128, size, flags, callback, user_data ); - if( result ){ - *buf = string( buffer ); - } - // cleanup - delete [] buffer; - return result; -} -bool Combo( const char* label, int* current_item, const std::vector& items, int height_in_items ) -{ - // conversion - string itemsNames; - for( auto item : items ) - itemsNames += item + '\0'; - itemsNames += '\0'; - - vector charArray( itemsNames.begin(), itemsNames.end() ); - bool result = Combo( label, current_item, (const char*) &charArray[0], height_in_items ); - return result; -} - -namespace { - - //! sets the right mouseDown IO values in imgui - void mouseDown( ci::app::MouseEvent& event ) - { - ImGuiIO& io = ImGui::GetIO(); - io.MousePos = toPixels( event.getPos() ); - if( event.isLeftDown() ){ - io.MouseDown[0] = true; - io.MouseDown[1] = false; - } - else if( event.isRightDown() ){ - io.MouseDown[0] = false; - io.MouseDown[1] = true; - } - - event.setHandled( io.WantCaptureMouse ); - } - //! sets the right mouseMove IO values in imgui - void mouseMove( ci::app::MouseEvent& event ) - { - ImGuiIO& io = ImGui::GetIO(); - io.MousePos = toPixels( event.getPos() ); - - event.setHandled( io.WantCaptureMouse ); - } - //! sets the right mouseDrag IO values in imgui - void mouseDrag( ci::app::MouseEvent& event ) - { - ImGuiIO& io = ImGui::GetIO(); - io.MousePos = toPixels( event.getPos() ); - - event.setHandled( io.WantCaptureMouse ); - } - //! sets the right mouseDrag IO values in imgui - void mouseUp( ci::app::MouseEvent& event ) - { - ImGuiIO& io = ImGui::GetIO(); - io.MouseDown[0] = false; - io.MouseDown[1] = false; - - event.setHandled( io.WantCaptureMouse ); - } - //! sets the right mouseWheel IO values in imgui - void mouseWheel( ci::app::MouseEvent& event ) - { - ImGuiIO& io = ImGui::GetIO(); - io.MouseWheel += event.getWheelIncrement(); - - event.setHandled( io.WantCaptureMouse ); - } - - - vector sAccelKeys; - - //! sets the right keyDown IO values in imgui - void keyDown( ci::app::KeyEvent& event ) - { - ImGuiIO& io = ImGui::GetIO(); - -#if defined CINDER_LINUX - uint32_t character = event.getChar(); -#else - uint32_t character = event.getCharUtf32(); -#endif - - io.KeysDown[event.getCode()] = true; - - if ( !event.isAccelDown() && character > 0 && character <= 255 ) { - io.AddInputCharacter( ( char ) character ); - } - else if( event.getCode() != KeyEvent::KEY_LMETA - && event.getCode() != KeyEvent::KEY_RMETA - && event.isAccelDown() - && find( sAccelKeys.begin(), sAccelKeys.end(), event.getCode() ) == sAccelKeys.end() ){ - sAccelKeys.push_back( event.getCode() ); - } - - io.KeyCtrl = io.KeysDown[KeyEvent::KEY_LCTRL] || io.KeysDown[KeyEvent::KEY_RCTRL] || io.KeysDown[KeyEvent::KEY_LMETA] || io.KeysDown[KeyEvent::KEY_RMETA]; - io.KeyShift = io.KeysDown[KeyEvent::KEY_LSHIFT] || io.KeysDown[KeyEvent::KEY_RSHIFT]; - io.KeyAlt = io.KeysDown[KeyEvent::KEY_LALT] || io.KeysDown[KeyEvent::KEY_RALT]; - - event.setHandled( io.WantCaptureKeyboard ); - } - //! sets the right keyUp IO values in imgui - void keyUp( ci::app::KeyEvent& event ) - { - ImGuiIO& io = ImGui::GetIO(); - - io.KeysDown[event.getCode()] = false; - - for( auto key : sAccelKeys ){ - io.KeysDown[key] = false; - } - sAccelKeys.clear(); - - io.KeyCtrl = io.KeysDown[KeyEvent::KEY_LCTRL] || io.KeysDown[KeyEvent::KEY_RCTRL] || io.KeysDown[KeyEvent::KEY_LMETA] || io.KeysDown[KeyEvent::KEY_RMETA]; - io.KeyShift = io.KeysDown[KeyEvent::KEY_LSHIFT] || io.KeysDown[KeyEvent::KEY_RSHIFT]; - io.KeyAlt = io.KeysDown[KeyEvent::KEY_LALT] || io.KeysDown[KeyEvent::KEY_RALT]; - - event.setHandled( io.WantCaptureKeyboard ); - } - void resize() - { - ImGuiIO& io = ImGui::GetIO(); - io.DisplaySize = toPixels( getWindowSize() ); - } - - static bool sNewFrame = false; - void render() - { - static auto timer = ci::Timer(true); - ImGuiIO& io = ImGui::GetIO(); - io.DeltaTime = timer.getSeconds(); - - if (io.DeltaTime < 0.0f) - { - CI_LOG_W("WARNING: overriding imgui deltatime because it is " << io.DeltaTime); - io.DeltaTime = 1.0f/60.0f; - } - - timer.start(); - - ImGui::Render(); - sNewFrame = false; - App::get()->dispatchAsync( []() - { - ImGui::NewFrame(); - sNewFrame = true; - } ); - } - - void newFrameGuard() - { - if( !sNewFrame ){ - ImGui::NewFrame(); - } - } - - void resetKeys() - { - for( int i = 0; i < IM_ARRAYSIZE( ImGui::GetIO().KeysDown ); i++ ) { - ImGui::GetIO().KeysDown[i] = false; - } - for( int i = 0; i < IM_ARRAYSIZE( ImGui::GetIO().KeysDownDuration ); i++ ) { - ImGui::GetIO().KeysDownDuration[i] = 0.0f; - } - for( int i = 0; i < IM_ARRAYSIZE( ImGui::GetIO().KeysDownDurationPrev ); i++ ) { - ImGui::GetIO().KeysDownDurationPrev[i] = 0.0f; - } - ImGui::GetIO().KeyCtrl = false; - ImGui::GetIO().KeyShift = false; - ImGui::GetIO().KeyAlt = false; - } - -} // Anonymous namespace - -// wrong... and would not work in a multi-windows scenario -static signals::ConnectionList sWindowConnections; - - - -void initialize( const Options &options ) -{ - // get the window and switch to its context before initializing the renderer - auto window = options.getWindow(); - auto currentContext = gl::context(); - window->getRenderer()->makeCurrentContext(); - auto renderer = getRenderer(); - - // set style - const ImGuiStyle& style = options.getStyle(); - ImGuiStyle& imGuiStyle = ImGui::GetStyle(); - imGuiStyle.Alpha = style.Alpha; - imGuiStyle.WindowPadding = style.WindowPadding; - imGuiStyle.WindowMinSize = style.WindowMinSize; - imGuiStyle.WindowRounding = style.WindowRounding; - imGuiStyle.WindowTitleAlign = style.WindowTitleAlign; - imGuiStyle.ChildWindowRounding = style.ChildWindowRounding; - imGuiStyle.FramePadding = style.FramePadding; - imGuiStyle.FrameRounding = style.FrameRounding; - imGuiStyle.ItemSpacing = style.ItemSpacing; - imGuiStyle.ItemInnerSpacing = style.ItemInnerSpacing; - imGuiStyle.TouchExtraPadding = style.TouchExtraPadding; - imGuiStyle.IndentSpacing = style.IndentSpacing; - imGuiStyle.ColumnsMinSpacing = style.ColumnsMinSpacing; - imGuiStyle.ScrollbarSize = style.ScrollbarSize; - imGuiStyle.ScrollbarRounding = style.ScrollbarRounding; - imGuiStyle.GrabMinSize = style.GrabMinSize; - imGuiStyle.GrabRounding = style.GrabRounding; - imGuiStyle.DisplayWindowPadding = style.DisplayWindowPadding; - imGuiStyle.DisplaySafeAreaPadding = style.DisplaySafeAreaPadding; - imGuiStyle.AntiAliasedLines = style.AntiAliasedLines; - imGuiStyle.AntiAliasedShapes = style.AntiAliasedShapes; - - // set colors - for( int i = 0; i < ImGuiCol_COUNT; i++ ) - imGuiStyle.Colors[i] = style.Colors[i]; - - // set io and keymap - ImGuiIO& io = ImGui::GetIO(); - io.DisplaySize = ImVec2( window->getSize().x, window->getSize().y ); - io.DeltaTime = 1.0f / 60.0f; - io.KeyMap[ImGuiKey_Tab] = KeyEvent::KEY_TAB; - io.KeyMap[ImGuiKey_LeftArrow] = KeyEvent::KEY_LEFT; - io.KeyMap[ImGuiKey_RightArrow] = KeyEvent::KEY_RIGHT; - io.KeyMap[ImGuiKey_UpArrow] = KeyEvent::KEY_UP; - io.KeyMap[ImGuiKey_DownArrow] = KeyEvent::KEY_DOWN; - io.KeyMap[ImGuiKey_Home] = KeyEvent::KEY_HOME; - io.KeyMap[ImGuiKey_End] = KeyEvent::KEY_END; - io.KeyMap[ImGuiKey_Delete] = KeyEvent::KEY_DELETE; - io.KeyMap[ImGuiKey_Backspace] = KeyEvent::KEY_BACKSPACE; - io.KeyMap[ImGuiKey_Enter] = KeyEvent::KEY_RETURN; - io.KeyMap[ImGuiKey_Escape] = KeyEvent::KEY_ESCAPE; - io.KeyMap[ImGuiKey_A] = KeyEvent::KEY_a; - io.KeyMap[ImGuiKey_C] = KeyEvent::KEY_c; - io.KeyMap[ImGuiKey_V] = KeyEvent::KEY_v; - io.KeyMap[ImGuiKey_X] = KeyEvent::KEY_x; - io.KeyMap[ImGuiKey_Y] = KeyEvent::KEY_y; - io.KeyMap[ImGuiKey_Z] = KeyEvent::KEY_z; - - // setup config file path - static string path = ( getAssetPath( "" ) / "imgui.ini" ).string(); - if( ! options.getIniPath().empty() ) - path = options.getIniPath().string().c_str(); - io.IniFilename = path.c_str(); - - // setup fonts - ImFontAtlas* fontAtlas = ImGui::GetIO().Fonts; - fontAtlas->Clear(); - renderer->clearFonts(); - for( auto font : options.getFonts() ){ - string name = font.first.stem().string(); - renderer->addFont( font.first, font.second, options.getFontGlyphRanges( name ), options.getFontMergeMode() ); - } - renderer->initFontTexture(); - -#ifndef CINDER_LINUX - // clipboard callbacks - io.SetClipboardTextFn = []( void* user_data, const char* text ) { - const char* text_end = text + strlen(text); - char* buf = (char*)malloc(text_end - text + 1); - memcpy(buf, text, text_end-text); - buf[text_end-text] = '\0'; - Clipboard::setString( buf ); - free(buf); - }; - io.GetClipboardTextFn = []( void* user_data ) { - string str = Clipboard::getString(); - static vector strCopy; - strCopy = vector(str.begin(), str.end()); - strCopy.push_back('\0'); - return (const char *) &strCopy[0]; - }; -#endif - - // renderer callback - io.RenderDrawListsFn = []( ImDrawData* data ) { - auto renderer = getRenderer(); - renderer->render( data ); - }; - - // connect window's signals - disconnectWindow( window ); - connectWindow( window ); - - if( options.isAutoRenderEnabled() && window ) { - ImGui::NewFrame(); - - sWindowConnections += ( window->getSignalDraw().connect( newFrameGuard ) ); - sWindowConnections += ( window->getSignalPostDraw().connect( render ) ); - } - - // connect app's signals - app::App::get()->getSignalDidBecomeActive().connect( resetKeys ); - app::App::get()->getSignalWillResignActive().connect( resetKeys ); -#if defined( IMGUI_DOCK ) - app::App::get()->getSignalCleanup().connect( [](){ - ShutdownDock(); - } ); -#endif - - sInitialized = true; - - // switch back to the original gl context - currentContext->makeCurrent(); -} - - -void connectWindow( ci::app::WindowRef window ) -{ - sWindowConnections += window->getSignalMouseDown().connect( mouseDown ); - sWindowConnections += window->getSignalMouseUp().connect( mouseUp ); - sWindowConnections += window->getSignalMouseDrag().connect( mouseDrag ); - sWindowConnections += window->getSignalMouseMove().connect( mouseMove ); - sWindowConnections += window->getSignalMouseWheel().connect( mouseWheel ); - sWindowConnections += window->getSignalKeyDown().connect( keyDown ); - sWindowConnections += window->getSignalKeyUp().connect( keyUp ); - sWindowConnections += window->getSignalResize().connect( resize ); -} -void disconnectWindow( ci::app::WindowRef window ) -{ - sWindowConnections.clear(); -} - -ScopedWindow::ScopedWindow( const std::string &name, ImGuiWindowFlags flags) -{ - ImGui::Begin( name.c_str(), nullptr, flags ); -} -ScopedWindow::ScopedWindow( const std::string &name, glm::vec2 size, float fillAlpha, ImGuiWindowFlags flags ) -{ - ImGui::Begin( name.c_str(), nullptr, size, fillAlpha, flags ); -} -ScopedWindow::~ScopedWindow() -{ - ImGui::End(); -} -ScopedChild::ScopedChild( const std::string &name, glm::vec2 size, bool border, ImGuiWindowFlags extraFlags ) -{ - ImGui::BeginChild( name.c_str(), size, border, extraFlags ); -} -ScopedChild::~ScopedChild() -{ - ImGui::EndChild(); -} -ScopedGroup::ScopedGroup() -{ - ImGui::BeginGroup(); -} -ScopedGroup::~ScopedGroup() -{ - ImGui::EndGroup(); -} -ScopedFont::ScopedFont( ImFont* font ) -{ - ImGui::PushFont( font ); -} -ScopedFont::ScopedFont( const std::string &name ) -{ - ImGui::PushFont( name ); -} -ScopedFont::~ScopedFont() -{ - ImGui::PopFont(); -} -ScopedStyleColor::ScopedStyleColor( ImGuiCol idx, const ImVec4& col ) -{ - ImGui::PushStyleColor( idx, col ); -} -ScopedStyleColor::~ScopedStyleColor() -{ - ImGui::PopStyleColor(); -} -ScopedStyleVar::ScopedStyleVar( ImGuiStyleVar idx, float val ) -{ - ImGui::PushStyleVar( idx, val ); -} -ScopedStyleVar::ScopedStyleVar( ImGuiStyleVar idx, const ImVec2 &val ) -{ - ImGui::PushStyleVar( idx, val ); -} -ScopedStyleVar::~ScopedStyleVar() -{ - ImGui::PopStyleVar(); -} - -ScopedItemWidth::ScopedItemWidth( float itemWidth ) -{ - ImGui::PushItemWidth( itemWidth ); -} -ScopedItemWidth::~ScopedItemWidth() -{ - ImGui::PopItemWidth(); -} - -ScopedTextWrapPos::ScopedTextWrapPos( float wrapPosX ) -{ - ImGui::PushTextWrapPos( wrapPosX ); -} -ScopedTextWrapPos::~ScopedTextWrapPos() -{ - ImGui::PopTextWrapPos(); -} - -ScopedId::ScopedId( const std::string &name ) -{ - ImGui::PushID( name.c_str() ); -} -ScopedId::ScopedId( const void *ptrId ) -{ - ImGui::PushID( ptrId ); -} -ScopedId::ScopedId( const int intId ) -{ - ImGui::PushID( intId ); -} -ScopedId::~ScopedId() -{ - ImGui::PopID(); -} - -ScopedMainMenuBar::ScopedMainMenuBar() -{ - mOpened = ImGui::BeginMainMenuBar(); -} -ScopedMainMenuBar::~ScopedMainMenuBar() -{ - if( mOpened ) ImGui::EndMainMenuBar(); -} - -ScopedMenuBar::ScopedMenuBar() -{ - mOpened = ImGui::BeginMenuBar(); -} -ScopedMenuBar::~ScopedMenuBar() -{ - if( mOpened ) ImGui::EndMenuBar(); -} - -bool FilePicker( const char* label, fs::path* path, bool open, const fs::path &initialPath, std::vector extensions ) -{ - - ImGuiWindow* window = GetCurrentWindow(); - if (window->SkipItems) - return false; - - ImGuiContext& g = *GImGui; - const ImGuiStyle& style = g.Style; - const ImGuiID id = window->GetID(label); - const float w = CalcItemWidth(); - - const ImVec2 label_size = CalcTextSize(label, NULL, true); - const ImRect frame_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w, label_size.y + style.FramePadding.y*2.0f)); - const ImRect total_bb(frame_bb.Min, frame_bb.Max + ImVec2(label_size.x > 0.0f ? style.ItemInnerSpacing.x + label_size.x : 0.0f, 0.0f)); - - ItemSize(total_bb, style.FramePadding.y); - if (!ItemAdd(total_bb, &id)) - { - return false; - } - - bool hovered, held; - ButtonBehavior(frame_bb, id, &hovered, &held); - const ImU32 col = GetColorU32((hovered && held) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : path->empty() ? ImGuiCol_Column : ImGuiCol_Button); - RenderFrame( frame_bb.Min, frame_bb.Max, col, true, style.FrameRounding ); - - fs::path filename = path->has_filename() ? path->filename() : path->has_stem() ? path->stem() : *path; - fs::path dir = path->has_parent_path() && path->parent_path().has_stem() ? path->parent_path().stem() : fs::path(); - RenderTextClipped( frame_bb.Min + style.FramePadding, frame_bb.Max - style.FramePadding, ( dir / filename ).string().c_str(), NULL, NULL, ImVec2(0.5f,0.5f) ); - - bool changed = false; - PushID( label ); - if( BeginPopupContextItem( "##FilePickerContextPopup", 0 ) ) { - if( MenuItem( string( "Load " + string( label ) ).c_str(), "", nullptr ) ) { - auto newPath = open ? getOpenFilePath( initialPath, extensions ) : getSaveFilePath( initialPath, extensions ); - if( ! newPath.empty() ) { - *path = newPath; - changed = true; - } - } - if( MenuItem( "Clear", "", nullptr ) ) { - path->clear(); - changed = true; - } - EndPopup(); - } - PopID(); - - if( hovered && ! path->empty() ) { - BeginTooltip(); - TextUnformatted( path->string().c_str() ); - EndTooltip(); - } - - - if (label_size.x > 0.0f) - RenderText(ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, frame_bb.Min.y + style.FramePadding.y), label); - - return changed; - -} - -bool IconButton( const char* icon, const ImVec2& size_arg, bool frame ) -{ - ImGuiWindow* window = GetCurrentWindow(); - if (window->SkipItems) - return false; - - ImGuiContext& g = *GImGui; - const ImGuiStyle& style = g.Style; - const ImGuiID id = window->GetID(icon); - const ImVec2 label_size = CalcTextSize(icon, NULL, true); - - ImGuiButtonFlags flags = 0; - ImVec2 pos = window->DC.CursorPos; - if ((flags & ImGuiButtonFlags_AlignTextBaseLine) && style.FramePadding.y < window->DC.CurrentLineTextBaseOffset) // Try to vertically align buttons that are smaller/have no padding so that text baseline matches (bit hacky, since it shouldn't be a flag) - pos.y += window->DC.CurrentLineTextBaseOffset - style.FramePadding.y; - ImVec2 size = CalcItemSize(size_arg, label_size.x + style.FramePadding.x * 2.0f, label_size.y + style.FramePadding.y * 2.0f); - - const ImRect bb(pos, pos + size); - ItemSize(bb, style.FramePadding.y); - if (!ItemAdd(bb, &id)) - return false; - - if (window->DC.ItemFlags & ImGuiItemFlags_ButtonRepeat) flags |= ImGuiButtonFlags_Repeat; - - bool hovered, held; - bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags); - - // Render - const ImU32 col = GetColorU32((hovered && held) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Text); - ScopedStyleColor color( ImGuiCol_Text, ImVec4( (float)((col >> 0) & 0xFF) / 255.0f, (float)((col >> 8) & 0xFF) / 255.0f, (float)((col >> 16) & 0xFF) / 255.0f, (float)((col >> 24) & 0xFF) / 255.0f ) ); - RenderTextClipped(bb.Min + style.FramePadding, bb.Max - style.FramePadding, icon, NULL, &label_size, style.ButtonTextAlign, &bb); - - return pressed; -} - -bool IconToggle( const char* iconEnabled, const char* iconDisabled, bool *enabled, const ImVec2& size, bool frame ) -{ - ImGuiWindow* window = GetCurrentWindow(); - if (window->SkipItems) - return false; - - bool changed = IconButton( *enabled ? iconEnabled : iconDisabled, size, frame ); - if( changed ) { - *enabled = ! *enabled; - } - return changed; -} - -#if defined( IMGUI_DOCK ) - -struct DockContext -{ - enum Slot_ - { - Slot_Left, - Slot_Right, - Slot_Top, - Slot_Bottom, - Slot_Tab, - - Slot_Float, - Slot_None - }; - - - enum EndAction_ - { - EndAction_None, - EndAction_Panel, - EndAction_End, - EndAction_EndChild - }; - - - enum Status_ - { - Status_Docked, - Status_Float, - Status_Dragged - }; - - - struct Dock - { - Dock() - : id(0) - , next_tab(nullptr) - , prev_tab(nullptr) - , parent(nullptr) - , pos(0, 0) - , size(-1, -1) - , active(true) - , status(Status_Float) - , label(nullptr) - , opened(false) - { - location[0] = 0; - children[0] = children[1] = nullptr; - } - - - ~Dock() { MemFree(label); } - - - ImVec2 getMinSize() const - { - if (!children[0]) return ImVec2(16, 16 + GetTextLineHeightWithSpacing()); - - ImVec2 s0 = children[0]->getMinSize(); - ImVec2 s1 = children[1]->getMinSize(); - return isHorizontal() ? ImVec2(s0.x + s1.x, ImMax(s0.y, s1.y)) - : ImVec2(ImMax(s0.x, s1.x), s0.y + s1.y); - } - - - bool isHorizontal() const { return children[0]->pos.x < children[1]->pos.x; } - - - void setParent(Dock* dock) - { - parent = dock; - for (Dock* tmp = prev_tab; tmp; tmp = tmp->prev_tab) tmp->parent = dock; - for (Dock* tmp = next_tab; tmp; tmp = tmp->next_tab) tmp->parent = dock; - } - - - Dock& getSibling() - { - IM_ASSERT(parent); - if (parent->children[0] == &getFirstTab()) return *parent->children[1]; - return *parent->children[0]; - } - - - Dock& getFirstTab() - { - Dock* tmp = this; - while (tmp->prev_tab) tmp = tmp->prev_tab; - return *tmp; - } - - - void setActive() - { - active = true; - for (Dock* tmp = prev_tab; tmp; tmp = tmp->prev_tab) tmp->active = false; - for (Dock* tmp = next_tab; tmp; tmp = tmp->next_tab) tmp->active = false; - } - - - bool isContainer() const { return children[0] != nullptr; } - - - void setChildrenPosSize(const ImVec2& _pos, const ImVec2& _size) - { - ImVec2 s = children[0]->size; - if (isHorizontal()) - { - s.y = _size.y; - s.x = (float)int( - _size.x * children[0]->size.x / (children[0]->size.x + children[1]->size.x)); - if (s.x < children[0]->getMinSize().x) - { - s.x = children[0]->getMinSize().x; - } - else if (_size.x - s.x < children[1]->getMinSize().x) - { - s.x = _size.x - children[1]->getMinSize().x; - } - children[0]->setPosSize(_pos, s); - - s.x = _size.x - children[0]->size.x; - ImVec2 p = _pos; - p.x += children[0]->size.x; - children[1]->setPosSize(p, s); - } - else - { - s.x = _size.x; - s.y = (float)int( - _size.y * children[0]->size.y / (children[0]->size.y + children[1]->size.y)); - if (s.y < children[0]->getMinSize().y) - { - s.y = children[0]->getMinSize().y; - } - else if (_size.y - s.y < children[1]->getMinSize().y) - { - s.y = _size.y - children[1]->getMinSize().y; - } - children[0]->setPosSize(_pos, s); - - s.y = _size.y - children[0]->size.y; - ImVec2 p = _pos; - p.y += children[0]->size.y; - children[1]->setPosSize(p, s); - } - } - - - void setPosSize(const ImVec2& _pos, const ImVec2& _size) - { - size = _size; - pos = _pos; - for (Dock* tmp = prev_tab; tmp; tmp = tmp->prev_tab) - { - tmp->size = _size; - tmp->pos = _pos; - } - for (Dock* tmp = next_tab; tmp; tmp = tmp->next_tab) - { - tmp->size = _size; - tmp->pos = _pos; - } - - if (!isContainer()) return; - setChildrenPosSize(_pos, _size); - } - - - char* label; - ImU32 id; - Dock* next_tab; - Dock* prev_tab; - Dock* children[2]; - Dock* parent; - bool active; - ImVec2 pos; - ImVec2 size; - Status_ status; - int last_frame; - int invalid_frames; - char location[16]; - bool opened; - bool first; - }; - - - ImVector m_docks; - ImVec2 m_drag_offset; - Dock* m_current = nullptr; - int m_last_frame = 0; - EndAction_ m_end_action; - - - ~DockContext() {} - - - Dock& getDock(const char* label, bool opened) - { - ImU32 id = ImHash(label, 0); - for (int i = 0; i < m_docks.size(); ++i) - { - if (m_docks[i]->id == id) return *m_docks[i]; - } - - Dock* new_dock = (Dock*)MemAlloc(sizeof(Dock)); - IM_PLACEMENT_NEW(new_dock) Dock(); - m_docks.push_back(new_dock); - new_dock->label = ImStrdup(label); - IM_ASSERT(new_dock->label); - new_dock->id = id; - new_dock->setActive(); - new_dock->status = Status_Float; - new_dock->pos = ImVec2(0, 0); - new_dock->size = GetIO().DisplaySize; - new_dock->opened = opened; - new_dock->first = true; - new_dock->last_frame = 0; - new_dock->invalid_frames = 0; - new_dock->location[0] = 0; - return *new_dock; - } - - - void putInBackground() - { - ImGuiWindow* win = GetCurrentWindow(); - ImGuiContext& g = *GImGui; - if (g.Windows[0] == win) return; - - for (int i = 0; i < g.Windows.Size; i++) - { - if (g.Windows[i] == win) - { - for (int j = i - 1; j >= 0; --j) - { - g.Windows[j + 1] = g.Windows[j]; - } - g.Windows[0] = win; - break; - } - } - } - - - void splits() - { - if (GetFrameCount() == m_last_frame) return; - m_last_frame = GetFrameCount(); - - putInBackground(); - - ImU32 color = GetColorU32(ImGuiCol_Button); - ImU32 color_hovered = GetColorU32(ImGuiCol_ButtonHovered); - ImDrawList* draw_list = GetWindowDrawList(); - ImGuiIO& io = GetIO(); - for (int i = 0; i < m_docks.size(); ++i) - { - Dock& dock = *m_docks[i]; - if (!dock.isContainer()) continue; - - PushID(i); - if (!IsMouseDown(0)) dock.status = Status_Docked; - - ImVec2 size = dock.children[0]->size; - ImVec2 dsize(0, 0); - SetCursorScreenPos(dock.children[1]->pos); - ImVec2 min_size0 = dock.children[0]->getMinSize(); - ImVec2 min_size1 = dock.children[1]->getMinSize(); - if (dock.isHorizontal()) - { - InvisibleButton("split", ImVec2(3, dock.size.y)); - if (dock.status == Status_Dragged) dsize.x = io.MouseDelta.x; - dsize.x = -ImMin(-dsize.x, dock.children[0]->size.x - min_size0.x); - dsize.x = ImMin(dsize.x, dock.children[1]->size.x - min_size1.x); - } - else - { - InvisibleButton("split", ImVec2(dock.size.x, 3)); - if (dock.status == Status_Dragged) dsize.y = io.MouseDelta.y; - dsize.y = -ImMin(-dsize.y, dock.children[0]->size.y - min_size0.y); - dsize.y = ImMin(dsize.y, dock.children[1]->size.y - min_size1.y); - } - ImVec2 new_size0 = dock.children[0]->size + dsize; - ImVec2 new_size1 = dock.children[1]->size - dsize; - ImVec2 new_pos1 = dock.children[1]->pos + dsize; - dock.children[0]->setPosSize(dock.children[0]->pos, new_size0); - dock.children[1]->setPosSize(new_pos1, new_size1); - - if (IsItemHovered() && IsMouseClicked(0)) - { - dock.status = Status_Dragged; - } - - draw_list->AddRectFilled( - GetItemRectMin(), GetItemRectMax(), IsItemHovered() ? color_hovered : color); - PopID(); - } - } - - - void checkNonexistent() - { - int frame_limit = ImMax(0, ImGui::GetFrameCount() - 2); - for (Dock* dock : m_docks) - { - if (dock->isContainer()) continue; - if (dock->status == Status_Float) continue; - if (dock->last_frame < frame_limit) - { - ++dock->invalid_frames; - if (dock->invalid_frames > 2) - { - doUndock(*dock); - dock->status = Status_Float; - } - return; - } - dock->invalid_frames = 0; - } - } - - - void beginPanel() - { - ImGuiWindowFlags flags = ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | - ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoCollapse | - ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_NoScrollbar | - ImGuiWindowFlags_NoScrollWithMouse | ImGuiWindowFlags_ShowBorders | - ImGuiWindowFlags_NoBringToFrontOnFocus; - Dock* root = getRootDock(); - if (root) - { - SetNextWindowPos(root->pos); - SetNextWindowSize(root->size); - } - else - { - SetNextWindowPos(ImVec2(0, 0)); - SetNextWindowSize(GetIO().DisplaySize); - } - - //ImGui::PushStyleVar(ImGuiStyleVar_WindowRounding, 0); - Begin("###DockPanel", nullptr, flags); - splits(); - - checkNonexistent(); - } - - - void endPanel() - { - End(); - //ImGui::PopStyleVar(); - } - - - Dock* getDockAt(const ImVec2& pos) const - { - for (int i = 0; i < m_docks.size(); ++i) - { - Dock& dock = *m_docks[i]; - if (dock.isContainer()) continue; - if (dock.status != Status_Docked) continue; - if (IsMouseHoveringRect(dock.pos, dock.pos + dock.size, false)) - { - return &dock; - } - } - - return nullptr; - } - - - static ImRect getDockedRect(const ImRect& rect, Slot_ dock_slot) - { - ImVec2 half_size = rect.GetSize() * 0.5f; - switch (dock_slot) - { - default: return rect; - case Slot_Top: return ImRect(rect.Min, rect.Min + ImVec2(rect.Max.x, half_size.y)); - case Slot_Right: return ImRect(rect.Min + ImVec2(half_size.x, 0), rect.Max); - case Slot_Bottom: return ImRect(rect.Min + ImVec2(0, half_size.y), rect.Max); - case Slot_Left: return ImRect(rect.Min, rect.Min + ImVec2(half_size.x, rect.Max.y)); - } - } - - - static ImRect getSlotRect(ImRect parent_rect, Slot_ dock_slot) - { - ImVec2 size = parent_rect.Max - parent_rect.Min; - ImVec2 center = parent_rect.Min + size * 0.5f; - switch (dock_slot) - { - default: return ImRect(center - ImVec2(20, 20), center + ImVec2(20, 20)); - case Slot_Top: return ImRect(center + ImVec2(-20, -50), center + ImVec2(20, -30)); - case Slot_Right: return ImRect(center + ImVec2(30, -20), center + ImVec2(50, 20)); - case Slot_Bottom: return ImRect(center + ImVec2(-20, +30), center + ImVec2(20, 50)); - case Slot_Left: return ImRect(center + ImVec2(-50, -20), center + ImVec2(-30, 20)); - } - } - - - static ImRect getSlotRectOnBorder(ImRect parent_rect, Slot_ dock_slot) - { - ImVec2 size = parent_rect.Max - parent_rect.Min; - ImVec2 center = parent_rect.Min + size * 0.5f; - switch (dock_slot) - { - case Slot_Top: - return ImRect(ImVec2(center.x - 20, parent_rect.Min.y + 10), - ImVec2(center.x + 20, parent_rect.Min.y + 30)); - case Slot_Left: - return ImRect(ImVec2(parent_rect.Min.x + 10, center.y - 20), - ImVec2(parent_rect.Min.x + 30, center.y + 20)); - case Slot_Bottom: - return ImRect(ImVec2(center.x - 20, parent_rect.Max.y - 30), - ImVec2(center.x + 20, parent_rect.Max.y - 10)); - case Slot_Right: - return ImRect(ImVec2(parent_rect.Max.x - 30, center.y - 20), - ImVec2(parent_rect.Max.x - 10, center.y + 20)); - default: IM_ASSERT(false); - } - IM_ASSERT(false); - return ImRect(); - } - - - Dock* getRootDock() - { - for (int i = 0; i < m_docks.size(); ++i) - { - if (!m_docks[i]->parent && - (m_docks[i]->status == Status_Docked || m_docks[i]->children[0])) - { - return m_docks[i]; - } - } - return nullptr; - } - - - bool dockSlots(Dock& dock, Dock* dest_dock, const ImRect& rect, bool on_border) - { - ImDrawList* canvas = GetWindowDrawList(); - ImU32 color = GetColorU32(ImGuiCol_Button); - ImU32 color_hovered = GetColorU32(ImGuiCol_ButtonHovered); - ImVec2 mouse_pos = GetIO().MousePos; - for (int i = 0; i < (on_border ? 4 : 5); ++i) - { - ImRect r = - on_border ? getSlotRectOnBorder(rect, (Slot_)i) : getSlotRect(rect, (Slot_)i); - bool hovered = r.Contains(mouse_pos); - canvas->AddRectFilled(r.Min, r.Max, hovered ? color_hovered : color); - if (!hovered) continue; - - if (!IsMouseDown(0)) - { - doDock(dock, dest_dock ? dest_dock : getRootDock(), (Slot_)i); - return true; - } - ImRect docked_rect = getDockedRect(rect, (Slot_)i); - canvas->AddRectFilled(docked_rect.Min, docked_rect.Max, GetColorU32(ImGuiCol_Button)); - } - return false; - } - - - void handleDrag(Dock& dock) - { - Dock* dest_dock = getDockAt(GetIO().MousePos); - - Begin("##Overlay", - NULL, - ImVec2(0, 0), - 0.f, - ImGuiWindowFlags_Tooltip | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoMove | - ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoSavedSettings | - ImGuiWindowFlags_AlwaysAutoResize); - ImDrawList* canvas = GetWindowDrawList(); - - canvas->PushClipRectFullScreen(); - - ImU32 docked_color = GetColorU32(ImGuiCol_FrameBg); - docked_color = (docked_color & 0x00ffFFFF) | 0x80000000; - dock.pos = GetIO().MousePos - m_drag_offset; - if (dest_dock) - { - if (dockSlots(dock, - dest_dock, - ImRect(dest_dock->pos, dest_dock->pos + dest_dock->size), - false)) - { - canvas->PopClipRect(); - End(); - return; - } - } - if (dockSlots(dock, nullptr, ImRect(ImVec2(0, 0), GetIO().DisplaySize), true)) - { - canvas->PopClipRect(); - End(); - return; - } - canvas->AddRectFilled(dock.pos, dock.pos + dock.size, docked_color); - canvas->PopClipRect(); - - if (!IsMouseDown(0)) - { - dock.status = Status_Float; - dock.location[0] = 0; - dock.setActive(); - } - - End(); - } - - - void fillLocation(Dock& dock) - { - if (dock.status == Status_Float) return; - char* c = dock.location; - Dock* tmp = &dock; - while (tmp->parent) - { - *c = getLocationCode(tmp); - tmp = tmp->parent; - ++c; - } - *c = 0; - } - - - void doUndock(Dock& dock) - { - if (dock.prev_tab) - dock.prev_tab->setActive(); - else if (dock.next_tab) - dock.next_tab->setActive(); - else - dock.active = false; - Dock* container = dock.parent; - - if (container) - { - Dock& sibling = dock.getSibling(); - if (container->children[0] == &dock) - { - container->children[0] = dock.next_tab; - } - else if (container->children[1] == &dock) - { - container->children[1] = dock.next_tab; - } - - bool remove_container = !container->children[0] || !container->children[1]; - if (remove_container) - { - if (container->parent) - { - Dock*& child = container->parent->children[0] == container - ? container->parent->children[0] - : container->parent->children[1]; - child = &sibling; - child->setPosSize(container->pos, container->size); - child->setParent(container->parent); - } - else - { - if (container->children[0]) - { - container->children[0]->setParent(nullptr); - container->children[0]->setPosSize(container->pos, container->size); - } - if (container->children[1]) - { - container->children[1]->setParent(nullptr); - container->children[1]->setPosSize(container->pos, container->size); - } - } - for (int i = 0; i < m_docks.size(); ++i) - { - if (m_docks[i] == container) - { - m_docks.erase(m_docks.begin() + i); - break; - } - } - container->~Dock(); - MemFree(container); - } - } - if (dock.prev_tab) dock.prev_tab->next_tab = dock.next_tab; - if (dock.next_tab) dock.next_tab->prev_tab = dock.prev_tab; - dock.parent = nullptr; - dock.prev_tab = dock.next_tab = nullptr; - } - - - void drawTabbarListButton(Dock& dock) - { - if (!dock.next_tab) return; - - ImDrawList* draw_list = GetWindowDrawList(); - if (InvisibleButton("list", ImVec2(16, 16))) - { - OpenPopup("tab_list_popup"); - } - if (BeginPopup("tab_list_popup")) - { - Dock* tmp = &dock; - while (tmp) - { - bool dummy = false; - if (Selectable(tmp->label, &dummy)) - { - tmp->setActive(); - } - tmp = tmp->next_tab; - } - EndPopup(); - } - - bool hovered = IsItemHovered(); - ImVec2 min = GetItemRectMin(); - ImVec2 max = GetItemRectMax(); - ImVec2 center = (min + max) * 0.5f; - ImU32 text_color = GetColorU32(ImGuiCol_Text); - ImU32 color_active = GetColorU32(ImGuiCol_FrameBgActive); - draw_list->AddRectFilled(ImVec2(center.x - 4, min.y + 3), - ImVec2(center.x + 4, min.y + 5), - hovered ? color_active : text_color); - draw_list->AddTriangleFilled(ImVec2(center.x - 4, min.y + 7), - ImVec2(center.x + 4, min.y + 7), - ImVec2(center.x, min.y + 12), - hovered ? color_active : text_color); - } - - - bool tabbar(Dock& dock, bool close_button) - { - float tabbar_height = 2 * GetTextLineHeightWithSpacing(); - ImVec2 size(dock.size.x, tabbar_height); - bool tab_closed = false; - - SetCursorScreenPos(dock.pos); - char tmp[20]; - ImFormatString(tmp, IM_ARRAYSIZE(tmp), "tabs%d", (int)dock.id); - if (BeginChild(tmp, size, true)) - { - Dock* dock_tab = &dock; - - ImDrawList* draw_list = GetWindowDrawList(); - ImU32 color = GetColorU32(ImGuiCol_WindowBg);//ImGuiCol_FrameBg); - ImU32 color_active = GetColorU32(ImGuiCol_WindowBg);//ImGuiCol_FrameBgActive); - ImU32 color_hovered = GetColorU32(ImGuiCol_FrameBgActive);//ImGuiCol_FrameBgHovered); - ImU32 text_color = GetColorU32(ImGuiCol_Text); - float line_height = GetTextLineHeightWithSpacing(); - float tab_base; - - drawTabbarListButton(dock); - - while (dock_tab) - { - SameLine(0, 15); - - const char* text_end = FindRenderedTextEnd(dock_tab->label); - ImVec2 size(CalcTextSize(dock_tab->label, text_end).x, line_height); - if (InvisibleButton(dock_tab->label, size)) - { - dock_tab->setActive(); - } - - if (IsItemActive() && IsMouseDragging()) - { - m_drag_offset = GetMousePos() - dock_tab->pos; - doUndock(*dock_tab); - dock_tab->status = Status_Dragged; - } - - bool hovered = IsItemHovered(); - ImVec2 pos = GetItemRectMin(); - if (dock_tab->active && close_button) - { - size.x += 16 + GetStyle().ItemSpacing.x; - SameLine(); - tab_closed = InvisibleButton("close", ImVec2(16, 16)); - ImVec2 center = (GetItemRectMin() + GetItemRectMax()) * 0.5f; - draw_list->AddLine( - center + ImVec2(-3.5f, -3.5f), center + ImVec2(3.5f, 3.5f), text_color); - draw_list->AddLine( - center + ImVec2(3.5f, -3.5f), center + ImVec2(-3.5f, 3.5f), text_color); - } - tab_base = pos.y; - ImGuiStyle &style = GetStyle(); - - draw_list->PathClear(); - draw_list->AddRectFilled( pos + ImVec2( -5, 0 ), pos + ImVec2( size.x + 5, size.y ), hovered ? color_hovered : (dock_tab->active ? color_active : color), style.FrameRounding, 1 | 2 ); - draw_list->AddText( pos, text_color, dock_tab->label, text_end); - - dock_tab = dock_tab->next_tab; - } - ImVec2 cp(dock.pos.x, tab_base + line_height); - draw_list->AddLine(cp, cp + ImVec2(dock.size.x, 0), color); - } - EndChild(); - return tab_closed; - } - - - static void setDockPosSize(Dock& dest, Dock& dock, Slot_ dock_slot, Dock& container) - { - IM_ASSERT(!dock.prev_tab && !dock.next_tab && !dock.children[0] && !dock.children[1]); - - dest.pos = container.pos; - dest.size = container.size; - dock.pos = container.pos; - dock.size = container.size; - - switch (dock_slot) - { - case Slot_Bottom: - dest.size.y *= 0.5f; - dock.size.y *= 0.5f; - dock.pos.y += dest.size.y; - break; - case Slot_Right: - dest.size.x *= 0.5f; - dock.size.x *= 0.5f; - dock.pos.x += dest.size.x; - break; - case Slot_Left: - dest.size.x *= 0.5f; - dock.size.x *= 0.5f; - dest.pos.x += dock.size.x; - break; - case Slot_Top: - dest.size.y *= 0.5f; - dock.size.y *= 0.5f; - dest.pos.y += dock.size.y; - break; - default: IM_ASSERT(false); break; - } - dest.setPosSize(dest.pos, dest.size); - - if (container.children[1]->pos.x < container.children[0]->pos.x || - container.children[1]->pos.y < container.children[0]->pos.y) - { - Dock* tmp = container.children[0]; - container.children[0] = container.children[1]; - container.children[1] = tmp; - } - } - - - void doDock(Dock& dock, Dock* dest, Slot_ dock_slot) - { - IM_ASSERT(!dock.parent); - if (!dest) - { - dock.status = Status_Docked; - dock.setPosSize(ImVec2(0, 0), GetIO().DisplaySize); - } - else if (dock_slot == Slot_Tab) - { - Dock* tmp = dest; - while (tmp->next_tab) - { - tmp = tmp->next_tab; - } - - tmp->next_tab = &dock; - dock.prev_tab = tmp; - dock.size = tmp->size; - dock.pos = tmp->pos; - dock.parent = dest->parent; - dock.status = Status_Docked; - } - else if (dock_slot == Slot_None) - { - dock.status = Status_Float; - } - else - { - Dock* container = (Dock*)MemAlloc(sizeof(Dock)); - IM_PLACEMENT_NEW(container) Dock(); - m_docks.push_back(container); - container->children[0] = &dest->getFirstTab(); - container->children[1] = &dock; - container->next_tab = nullptr; - container->prev_tab = nullptr; - container->parent = dest->parent; - container->size = dest->size; - container->pos = dest->pos; - container->status = Status_Docked; - container->label = ImStrdup(""); - - if (!dest->parent) - { - } - else if (&dest->getFirstTab() == dest->parent->children[0]) - { - dest->parent->children[0] = container; - } - else - { - dest->parent->children[1] = container; - } - - dest->setParent(container); - dock.parent = container; - dock.status = Status_Docked; - - setDockPosSize(*dest, dock, dock_slot, *container); - } - dock.setActive(); - } - - - void rootDock(const ImVec2& pos, const ImVec2& size) - { - Dock* root = getRootDock(); - if (!root) return; - - ImVec2 min_size = root->getMinSize(); - ImVec2 requested_size = size; - root->setPosSize(pos, ImMax(min_size, requested_size)); - } - - - void setDockActive() - { - IM_ASSERT(m_current); - if (m_current) m_current->setActive(); - } - - - static Slot_ getSlotFromLocationCode(char code) - { - switch (code) - { - case '1': return Slot_Left; - case '2': return Slot_Top; - case '3': return Slot_Bottom; - default: return Slot_Right; - } - } - - - static char getLocationCode(Dock* dock) - { - if (!dock) return '0'; - - if (dock->parent->isHorizontal()) - { - if (dock->pos.x < dock->parent->children[0]->pos.x) return '1'; - if (dock->pos.x < dock->parent->children[1]->pos.x) return '1'; - return '0'; - } - else - { - if (dock->pos.y < dock->parent->children[0]->pos.y) return '2'; - if (dock->pos.y < dock->parent->children[1]->pos.y) return '2'; - return '3'; - } - } - - - void tryDockToStoredLocation(Dock& dock) - { - if (dock.status == Status_Docked) return; - if (dock.location[0] == 0) return; - - Dock* tmp = getRootDock(); - if (!tmp) return; - - Dock* prev = nullptr; - char* c = dock.location + strlen(dock.location) - 1; - while (c >= dock.location && tmp) - { - prev = tmp; - tmp = *c == getLocationCode(tmp->children[0]) ? tmp->children[0] : tmp->children[1]; - if(tmp) --c; - } - if (tmp && tmp->children[0]) tmp = tmp->parent; - doDock(dock, tmp ? tmp : prev, tmp && !tmp->children[0] ? Slot_Tab : getSlotFromLocationCode(*c)); - } - - - bool begin(const char* label, bool* opened, ImGuiWindowFlags extra_flags) - { - Dock& dock = getDock(label, !opened || *opened); - if (!dock.opened && (!opened || *opened)) tryDockToStoredLocation(dock); - dock.last_frame = ImGui::GetFrameCount(); - if (strcmp(dock.label, label) != 0) - { - MemFree(dock.label); - dock.label = ImStrdup(label); - } - - m_end_action = EndAction_None; - if( dock.first ) { - doDock( dock, getRootDock(), Slot_Tab ); - } - if (dock.first && opened) *opened = dock.opened; - dock.first = false; - if (opened && !*opened) - { - if (dock.status != Status_Float) - { - fillLocation(dock); - doUndock(dock); - dock.status = Status_Float; - } - dock.opened = false; - return false; - } - dock.opened = true; - - m_end_action = EndAction_Panel; - beginPanel(); - - m_current = &dock; - if (dock.status == Status_Dragged) handleDrag(dock); - - bool is_float = dock.status == Status_Float; - - if (is_float) - { - SetNextWindowPos(dock.pos); - SetNextWindowSize(dock.size); - bool ret = Begin(label, - opened, - dock.size, - -1.0f, - ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_ShowBorders | extra_flags); - m_end_action = EndAction_End; - dock.pos = GetWindowPos(); - dock.size = GetWindowSize(); - - ImGuiContext& g = *GImGui; - - if (g.ActiveId == GetCurrentWindow()->MoveId && g.IO.MouseDown[0]) - { - m_drag_offset = GetMousePos() - dock.pos; - doUndock(dock); - dock.status = Status_Dragged; - } - return ret; - } - - if (!dock.active && dock.status != Status_Dragged) return false; - - m_end_action = EndAction_EndChild; - - PushStyleColor(ImGuiCol_Border, ImVec4(0, 0, 0, 0)); - PushStyleColor(ImGuiCol_BorderShadow, ImVec4(0, 0, 0, 0)); - float tabbar_height = GetTextLineHeightWithSpacing(); - if (tabbar(dock.getFirstTab(), opened != nullptr)) - { - fillLocation(dock); - *opened = false; - } - ImVec2 pos = dock.pos; - ImVec2 size = dock.size; - pos.y += tabbar_height + GetStyle().WindowPadding.y; - size.y -= tabbar_height + GetStyle().WindowPadding.y; - - SetCursorScreenPos(pos); - ImGuiWindowFlags flags = ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | - ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoCollapse | - ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_NoBringToFrontOnFocus | - extra_flags; - char tmp[256]; - strcpy(tmp, label); - strcat(tmp, "_docked"); // to avoid https://github.com/ocornut/imgui/issues/713 - bool ret = BeginChild(tmp, size, true, flags); - PopStyleColor(); - PopStyleColor(); - return ret; - } - - - void end() - { - if (m_end_action == EndAction_End) - { - End(); - } - else if (m_end_action == EndAction_EndChild) - { - PushStyleColor(ImGuiCol_Border, ImVec4(0, 0, 0, 0)); - PushStyleColor(ImGuiCol_BorderShadow, ImVec4(0, 0, 0, 0)); - EndChild(); - PopStyleColor(); - PopStyleColor(); - } - m_current = nullptr; - if (m_end_action > EndAction_None) endPanel(); - } - - - int getDockIndex(Dock* dock) - { - if (!dock) return -1; - - for (int i = 0; i < m_docks.size(); ++i) - { - if (dock == m_docks[i]) return i; - } - - IM_ASSERT(false); - return -1; - } - - /* - void save(Lumix::FS::OsFile& file) - { - file << "docks = {\n"; - for (int i = 0; i < m_docks.size(); ++i) - { - Dock& dock = *m_docks[i]; - file << "dock" << (Lumix::uint64)&dock << " = {\n"; - file << "index = " << i << ",\n"; - file << "label = \"" << dock.label << "\",\n"; - file << "x = " << (int)dock.pos.x << ",\n"; - file << "y = " << (int)dock.pos.y << ",\n"; - file << "location = \"" << dock.location << "\",\n"; - file << "size_x = " << (int)dock.size.x << ",\n"; - file << "size_y = " << (int)dock.size.y << ",\n"; - file << "status = " << (int)dock.status << ",\n"; - file << "active = " << (int)dock.active << ",\n"; - file << "opened = " << (int)dock.opened << ",\n"; - file << "prev = " << (int)getDockIndex(dock.prev_tab) << ",\n"; - file << "next = " << (int)getDockIndex(dock.next_tab) << ",\n"; - file << "child0 = " << (int)getDockIndex(dock.children[0]) << ",\n"; - file << "child1 = " << (int)getDockIndex(dock.children[1]) << ",\n"; - file << "parent = " << (int)getDockIndex(dock.parent) << "\n"; - if (i < m_docks.size() - 1) - file << "},\n"; - else - file << "}\n"; - } - file << "}\n"; - } - - - Dock* getDockByIndex(lua_Integer idx) { return idx < 0 ? nullptr : m_docks[(int)idx]; } - - - void load(lua_State* L) - { - for (int i = 0; i < m_docks.size(); ++i) - { - m_docks[i]->~Dock(); - MemFree(m_docks[i]); - } - m_docks.clear(); - - if (lua_getglobal(L, "docks") == LUA_TTABLE) - { - lua_pushnil(L); - while (lua_next(L, -2) != 0) - { - Dock* new_dock = (Dock*)MemAlloc(sizeof(Dock)); - m_docks.push_back(IM_PLACEMENT_NEW(new_dock) Dock()); - lua_pop(L, 1); - } - } - lua_pop(L, 1); - - if (lua_getglobal(L, "docks") == LUA_TTABLE) - { - lua_pushnil(L); - while (lua_next(L, -2) != 0) - { - if (lua_istable(L, -1)) - { - int idx = 0; - if (lua_getfield(L, -1, "index") == LUA_TNUMBER) - idx = (int)lua_tointeger(L, -1); - Dock& dock = *m_docks[idx]; - dock.last_frame = 0; - dock.invalid_frames = 0; - lua_pop(L, 1); - - if (lua_getfield(L, -1, "label") == LUA_TSTRING) - { - dock.label = ImStrdup(lua_tostring(L, -1)); - dock.id = ImHash(dock.label, 0); - } - lua_pop(L, 1); - - if (lua_getfield(L, -1, "x") == LUA_TNUMBER) - dock.pos.x = (float)lua_tonumber(L, -1); - if (lua_getfield(L, -2, "y") == LUA_TNUMBER) - dock.pos.y = (float)lua_tonumber(L, -1); - if (lua_getfield(L, -3, "size_x") == LUA_TNUMBER) - dock.size.x = (float)lua_tonumber(L, -1); - if (lua_getfield(L, -4, "size_y") == LUA_TNUMBER) - dock.size.y = (float)lua_tonumber(L, -1); - if (lua_getfield(L, -5, "active") == LUA_TNUMBER) - dock.active = lua_tointeger(L, -1) != 0; - if (lua_getfield(L, -6, "opened") == LUA_TNUMBER) - dock.opened = lua_tointeger(L, -1) != 0; - if (lua_getfield(L, -7, "location") == LUA_TSTRING) - strcpy(dock.location, lua_tostring(L, -1)); - if (lua_getfield(L, -8, "status") == LUA_TNUMBER) - { - dock.status = (Status_)lua_tointeger(L, -1); - } - lua_pop(L, 8); - - if (lua_getfield(L, -1, "prev") == LUA_TNUMBER) - { - dock.prev_tab = getDockByIndex(lua_tointeger(L, -1)); - } - if (lua_getfield(L, -2, "next") == LUA_TNUMBER) - { - dock.next_tab = getDockByIndex(lua_tointeger(L, -1)); - } - if (lua_getfield(L, -3, "child0") == LUA_TNUMBER) - { - dock.children[0] = getDockByIndex(lua_tointeger(L, -1)); - } - if (lua_getfield(L, -4, "child1") == LUA_TNUMBER) - { - dock.children[1] = getDockByIndex(lua_tointeger(L, -1)); - } - if (lua_getfield(L, -5, "parent") == LUA_TNUMBER) - { - dock.parent = getDockByIndex(lua_tointeger(L, -1)); - } - lua_pop(L, 5); - } - lua_pop(L, 1); - } - } - lua_pop(L, 1); - }*/ -}; - - -static DockContext g_dock; - - -void ShutdownDock() -{ - for (int i = 0; i < g_dock.m_docks.size(); ++i) - { - g_dock.m_docks[i]->~Dock(); - MemFree(g_dock.m_docks[i]); - } - g_dock.m_docks.clear(); -} - - -void RootDock(const ImVec2& pos, const ImVec2& size) -{ - g_dock.rootDock(pos, size); -} - - -void SetDockActive() -{ - g_dock.setDockActive(); -} - - -bool BeginDock(const char* label, bool* opened, ImGuiWindowFlags extra_flags) -{ - return g_dock.begin(label, opened, extra_flags); -} - - -void EndDock() -{ - g_dock.end(); -} - -#endif - -} diff --git a/lib/imgui b/lib/imgui index b295e18..de72e9c 160000 --- a/lib/imgui +++ b/lib/imgui @@ -1 +1 @@ -Subproject commit b295e185ffae72e2f3edea83526b0324484f9f5b +Subproject commit de72e9cc87e9f2da56145c3bd3c4681443c05184 diff --git a/proj/cmake/Cinder-ImGuiConfig.cmake b/proj/cmake/Cinder-ImGuiConfig.cmake index 6e129b2..5fc6d8a 100644 --- a/proj/cmake/Cinder-ImGuiConfig.cmake +++ b/proj/cmake/Cinder-ImGuiConfig.cmake @@ -5,6 +5,7 @@ if( NOT TARGET Cinder-ImGui ) ${IMGUI_ROOT_PATH}/src/CinderImGui.cpp ${IMGUI_ROOT_PATH}/lib/imgui/imgui.cpp ${IMGUI_ROOT_PATH}/lib/imgui/imgui_draw.cpp + ${IMGUI_ROOT_PATH}/lib/imgui/imgui_demo.cpp ) add_library( Cinder-ImGui ${IMGUI_SOURCES} ) diff --git a/samples/Basic/linux/CMakeLists.txt b/samples/Basic/linux/CMakeLists.txt index 3db04b9..3237853 100644 --- a/samples/Basic/linux/CMakeLists.txt +++ b/samples/Basic/linux/CMakeLists.txt @@ -2,8 +2,8 @@ cmake_minimum_required( VERSION 2.8 FATAL_ERROR ) set( CMAKE_VERBOSE_MAKEFILE on ) -get_filename_component( CINDER_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../../../.." ABSOLUTE ) -include( ${CINDER_DIR}/linux/cmake/Cinder.cmake ) +get_filename_component( CINDER_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../../../../Cinder" ABSOLUTE ) +include( ${CINDER_DIR}/proj/cmake/Cinder.cmake ) project( Basic ) diff --git a/samples/Basic/linux/build/CMakeCache.txt b/samples/Basic/linux/build/CMakeCache.txt new file mode 100644 index 0000000..ecd85fb --- /dev/null +++ b/samples/Basic/linux/build/CMakeCache.txt @@ -0,0 +1,331 @@ +# This is the CMakeCache file. +# For build in directory: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build +# It was generated by CMake: /usr/bin/cmake +# You can edit this file to change values found and used by cmake. +# If you do not want to change any of the values, simply exit the editor. +# If you do want to change a value, simply edit, save, and exit the editor. +# The syntax for the file is as follows: +# KEY:TYPE=VALUE +# KEY is the name of a variable in the cache. +# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. +# VALUE is the current value for the KEY. + +######################## +# EXTERNAL cache entries +######################## + +//No help, variable specified on the command line. +BUILD_SHARED_LIBS:UNINITIALIZED=OFF + +//Value Computed by CMake +Basic_BINARY_DIR:STATIC=/home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build + +//Value Computed by CMake +Basic_SOURCE_DIR:STATIC=/home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux + +//Path to a program. +CMAKE_AR:FILEPATH=/usr/bin/ar + +//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or +// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel. +CMAKE_BUILD_TYPE:STRING=Release + +//CXX compiler +CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++ + +//A wrapper around 'ar' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar + +//A wrapper around 'ranlib' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib + +//Flags used by the compiler during all build types. +CMAKE_CXX_FLAGS:STRING= + +//Flags used by the compiler during debug builds. +CMAKE_CXX_FLAGS_DEBUG:STRING=-g + +//Flags used by the compiler during release builds for minimum +// size. +CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG + +//Flags used by the compiler during release builds. +CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG + +//Flags used by the compiler during release builds with debug info. +CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG + +//C compiler +CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc + +//A wrapper around 'ar' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar + +//A wrapper around 'ranlib' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib + +//Flags used by the compiler during all build types. +CMAKE_C_FLAGS:STRING= + +//Flags used by the compiler during debug builds. +CMAKE_C_FLAGS_DEBUG:STRING=-g + +//Flags used by the compiler during release builds for minimum +// size. +CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG + +//Flags used by the compiler during release builds. +CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG + +//Flags used by the compiler during release builds with debug info. +CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG + +//Flags used by the linker. +CMAKE_EXE_LINKER_FLAGS:STRING= + +//Flags used by the linker during debug builds. +CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during release minsize builds. +CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during release builds. +CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during Release with Debug Info builds. +CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Enable/Disable output of compile commands during generation. +CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF + +//Install path prefix, prepended onto install directories. +CMAKE_INSTALL_PREFIX:PATH=/usr/local + +//Path to a program. +CMAKE_LINKER:FILEPATH=/usr/bin/ld + +//Program used to build from build.ninja files. +CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/ninja + +//Flags used by the linker during the creation of modules. +CMAKE_MODULE_LINKER_FLAGS:STRING= + +//Flags used by the linker during debug builds. +CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during release minsize builds. +CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during release builds. +CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during Release with Debug Info builds. +CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Path to a program. +CMAKE_NM:FILEPATH=/usr/bin/nm + +//Path to a program. +CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy + +//Path to a program. +CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump + +//Value Computed by CMake +CMAKE_PROJECT_NAME:STATIC=Basic + +//Path to a program. +CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib + +//Flags used by the linker during the creation of dll's. +CMAKE_SHARED_LINKER_FLAGS:STRING= + +//Flags used by the linker during debug builds. +CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during release minsize builds. +CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during release builds. +CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during Release with Debug Info builds. +CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//If set, runtime paths are not added when installing shared libraries, +// but are added when building. +CMAKE_SKIP_INSTALL_RPATH:BOOL=NO + +//If set, runtime paths are not added when using shared libraries. +CMAKE_SKIP_RPATH:BOOL=NO + +//Flags used by the linker during the creation of static libraries. +CMAKE_STATIC_LINKER_FLAGS:STRING= + +//Flags used by the linker during debug builds. +CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during release minsize builds. +CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during release builds. +CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during Release with Debug Info builds. +CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Path to a program. +CMAKE_STRIP:FILEPATH=/usr/bin/strip + +//If this value is on, makefiles will be generated without the +// .SILENT directive, and all commands will be echoed to the console +// during the make. This is useful for debugging only. With Visual +// Studio IDE projects all commands are done without /nologo. +CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE + +//The directory containing a CMake configuration file for cinder. +cinder_DIR:PATH=cinder_DIR-NOTFOUND + + +######################## +# INTERNAL cache entries +######################## + +//ADVANCED property for variable: CMAKE_AR +CMAKE_AR-ADVANCED:INTERNAL=1 +//This is the directory where this CMakeCache.txt was created +CMAKE_CACHEFILE_DIR:INTERNAL=/home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build +//Major version of cmake used to create the current loaded cache +CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 +//Minor version of cmake used to create the current loaded cache +CMAKE_CACHE_MINOR_VERSION:INTERNAL=9 +//Patch version of cmake used to create the current loaded cache +CMAKE_CACHE_PATCH_VERSION:INTERNAL=4 +//Path to CMake executable. +CMAKE_COMMAND:INTERNAL=/usr/bin/cmake +//Path to cpack program executable. +CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack +//Path to ctest program executable. +CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest +//ADVANCED property for variable: CMAKE_CXX_COMPILER +CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR +CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB +CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS +CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG +CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL +CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE +CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO +CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_COMPILER +CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_COMPILER_AR +CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB +CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS +CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG +CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL +CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE +CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO +CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//Executable file format +CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS +CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG +CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL +CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE +CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS +CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1 +//Name of external makefile project generator. +CMAKE_EXTRA_GENERATOR:INTERNAL= +//Name of generator. +CMAKE_GENERATOR:INTERNAL=Ninja +//Name of generator platform. +CMAKE_GENERATOR_PLATFORM:INTERNAL= +//Name of generator toolset. +CMAKE_GENERATOR_TOOLSET:INTERNAL= +//Source directory with the top level CMakeLists.txt file for this +// project +CMAKE_HOME_DIRECTORY:INTERNAL=/home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux +//Install .so files without execute permission. +CMAKE_INSTALL_SO_NO_EXE:INTERNAL=0 +//ADVANCED property for variable: CMAKE_LINKER +CMAKE_LINKER-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MAKE_PROGRAM +CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS +CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG +CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL +CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE +CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_NM +CMAKE_NM-ADVANCED:INTERNAL=1 +//number of local generators +CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 +//ADVANCED property for variable: CMAKE_OBJCOPY +CMAKE_OBJCOPY-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_OBJDUMP +CMAKE_OBJDUMP-ADVANCED:INTERNAL=1 +//Platform information initialized +CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_RANLIB +CMAKE_RANLIB-ADVANCED:INTERNAL=1 +//Path to CMake installation. +CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.9 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS +CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG +CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL +CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE +CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH +CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SKIP_RPATH +CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS +CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG +CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL +CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE +CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STRIP +CMAKE_STRIP-ADVANCED:INTERNAL=1 +//uname command +CMAKE_UNAME:INTERNAL=/usr/bin/uname +//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE +CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 + diff --git a/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeCCompiler.cmake b/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeCCompiler.cmake new file mode 100644 index 0000000..c09258c --- /dev/null +++ b/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeCCompiler.cmake @@ -0,0 +1,71 @@ +set(CMAKE_C_COMPILER "/usr/bin/cc") +set(CMAKE_C_COMPILER_ARG1 "") +set(CMAKE_C_COMPILER_ID "GNU") +set(CMAKE_C_COMPILER_VERSION "7.2.0") +set(CMAKE_C_COMPILER_WRAPPER "") +set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") +set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert") +set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes") +set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros") +set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert") + +set(CMAKE_C_PLATFORM_ID "Linux") +set(CMAKE_C_SIMULATE_ID "") +set(CMAKE_C_SIMULATE_VERSION "") + + +set(CMAKE_AR "/usr/bin/ar") +set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar") +set(CMAKE_RANLIB "/usr/bin/ranlib") +set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib") +set(CMAKE_LINKER "/usr/bin/ld") +set(CMAKE_COMPILER_IS_GNUCC 1) +set(CMAKE_C_COMPILER_LOADED 1) +set(CMAKE_C_COMPILER_WORKS TRUE) +set(CMAKE_C_ABI_COMPILED TRUE) +set(CMAKE_COMPILER_IS_MINGW ) +set(CMAKE_COMPILER_IS_CYGWIN ) +if(CMAKE_COMPILER_IS_CYGWIN) + set(CYGWIN 1) + set(UNIX 1) +endif() + +set(CMAKE_C_COMPILER_ENV_VAR "CC") + +if(CMAKE_COMPILER_IS_MINGW) + set(MINGW 1) +endif() +set(CMAKE_C_COMPILER_ID_RUN 1) +set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) +set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) +set(CMAKE_C_LINKER_PREFERENCE 10) + +# Save compiler ABI information. +set(CMAKE_C_SIZEOF_DATA_PTR "8") +set(CMAKE_C_COMPILER_ABI "ELF") +set(CMAKE_C_LIBRARY_ARCHITECTURE "") + +if(CMAKE_C_SIZEOF_DATA_PTR) + set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") +endif() + +if(CMAKE_C_COMPILER_ABI) + set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") +endif() + +if(CMAKE_C_LIBRARY_ARCHITECTURE) + set(CMAKE_LIBRARY_ARCHITECTURE "") +endif() + +set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") +if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) + set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") +endif() + + + + + +set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s") +set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0;/usr/lib;/lib") +set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeCXXCompiler.cmake b/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeCXXCompiler.cmake new file mode 100644 index 0000000..45d30b6 --- /dev/null +++ b/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeCXXCompiler.cmake @@ -0,0 +1,73 @@ +set(CMAKE_CXX_COMPILER "/usr/bin/c++") +set(CMAKE_CXX_COMPILER_ARG1 "") +set(CMAKE_CXX_COMPILER_ID "GNU") +set(CMAKE_CXX_COMPILER_VERSION "7.2.0") +set(CMAKE_CXX_COMPILER_WRAPPER "") +set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") +set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17") +set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters") +set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates") +set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates") +set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17") + +set(CMAKE_CXX_PLATFORM_ID "Linux") +set(CMAKE_CXX_SIMULATE_ID "") +set(CMAKE_CXX_SIMULATE_VERSION "") + + +set(CMAKE_AR "/usr/bin/ar") +set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar") +set(CMAKE_RANLIB "/usr/bin/ranlib") +set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib") +set(CMAKE_LINKER "/usr/bin/ld") +set(CMAKE_COMPILER_IS_GNUCXX 1) +set(CMAKE_CXX_COMPILER_LOADED 1) +set(CMAKE_CXX_COMPILER_WORKS TRUE) +set(CMAKE_CXX_ABI_COMPILED TRUE) +set(CMAKE_COMPILER_IS_MINGW ) +set(CMAKE_COMPILER_IS_CYGWIN ) +if(CMAKE_COMPILER_IS_CYGWIN) + set(CYGWIN 1) + set(UNIX 1) +endif() + +set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") + +if(CMAKE_COMPILER_IS_MINGW) + set(MINGW 1) +endif() +set(CMAKE_CXX_COMPILER_ID_RUN 1) +set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) +set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP) +set(CMAKE_CXX_LINKER_PREFERENCE 30) +set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) + +# Save compiler ABI information. +set(CMAKE_CXX_SIZEOF_DATA_PTR "8") +set(CMAKE_CXX_COMPILER_ABI "ELF") +set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") + +if(CMAKE_CXX_SIZEOF_DATA_PTR) + set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") +endif() + +if(CMAKE_CXX_COMPILER_ABI) + set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") +endif() + +if(CMAKE_CXX_LIBRARY_ARCHITECTURE) + set(CMAKE_LIBRARY_ARCHITECTURE "") +endif() + +set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "") +if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) + set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") +endif() + + + + + +set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc") +set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0;/usr/lib;/lib") +set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeDetermineCompilerABI_C.bin b/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeDetermineCompilerABI_C.bin new file mode 100755 index 0000000000000000000000000000000000000000..24e5026c961e3270467e65d9587b64e6843e708e GIT binary patch literal 8192 zcmeHMeQZ+yfR@42>NWs7y_4jaau1QBzs1T-mC?df2)_hS5Buu( zN*1VJR+v^&KYT=44_VY}CcS3TV|t7_#+2U=-wmH$vS+7l(1wL6%3|4eNsnWFmJHeH zJyJ>trmXih(4#3MiBBdzYTi!%78{otdOxPbign3Ef6IOAlJTZwB9$9$8f|T9YPm0v zO$Ro}_eT3D+tIT_dcyhUp~XHghX*lif8oj1``>;3x#)^tt$gw0E%WgkKRxmew&DAr zP6a#@zJrzGvn!TXmX+0fzf1(N4W}CYgrk4H{76;g?cZH|=CSHc&nS6ZN9e=eM+u5Z++Je<|@5qS=OL0QZ9(yZlptFB3K5Wm;FfZhj1S zomeWG3Dx^x7L=$##EU@d#BE~Awm5P9qWxp! zm)FKlz_FiGgx8au7AapXenL3GLcls4z-8AWRCQo9rVb`jv1DSu1}rwISv{7~)!|qo z#mGQ5hf)clcJ_9waV?|mNn~{`)7u?Mrc+vPtUsxVL~1atX2DK+P>ql18KG+Nm>vTg zNDQmM>={m{$b|~_wn9CgNU6E37B{;CZ#q~=A=sbIvO4;A^xo0c8IGtM0viJN%NI39 z#|=B`lmCqUfGW9F3D_QP@iq-q@th-mhUTe}&NCj?V}#Gu`lTe}Jb!*#Z;Ug4isW&c zao=+}Yr=Vsv2DhL<6h@7Yr=VrV%t>{Za)8&vCEap;qv+_zfit6rMnBKl(9clPO~|& z{z_;5^ll}8K^c4J>bBml@$z3l_muIPdnMWYcaSX9zg6iM|EOKlhAo?yfvp|NczG4t z+&HJ?FX=16#c_~97d3r_nZZEqnnTh@-*oMopjhBR|1=7Y-~T3%9m?8y&{s~(dzAcD z<;3h3#r3*!dR}h;g9$QNjRqI9cX0D}KuqM;DPxclwZETo zMQ;@0NgI5lZ+as1_0Yqe`7@y%AsEZg|E*jORTI*OLiwAW`RiS4FUdJMann<%f3^b0 z?25i-{khsT2f>`^%75IIzuuPrAXHd>UKyKqDI5Qqdk^PqS6}Fxp}x@WkUBlFFrFX6 zR7!g^tFGc#1g#0t+0(vtlWCvsYHsZ-;<5h3E{JasaIN-y8PA+Dc;;>v3JOp+jLIlb z1?Ul=lR#&HV!`hd7T5mm!Zqr1t*)-9oN!h65XYG0XJCWRM3i%uH)K)%yYq#DJQG7+ z-xKag%@TJIEE?bc2hkq1YiKC!^*!wldmDb}iF*CxWnpjQQ{{@c`H3Zpw{@(d+Z)Vy zTSMOFkhd}H^@AM9hrN~ZJ9r4xPk|ltK0}kY%B>N&H3GLr;C~qbjuSX8;BPzAYBI|4 zK@IU7r}4FsG^V|0Boq#rN37TyuQa5s7T_H^Oagt^WZCOPd#yH{%|N1o>WX#ofhwu@(0S-QnZq zfv+~tzg51xIPX?`iQx5N#VZ8QgB7n7JbzZas<8#1+zsRGA2}+htET{b5P2cj{ggQJN5t9Qocr9rJl)hJ)9H`Ruc?aMwhy2Ce5-(jp8v%E^|91lJm%gq4 zj!L{Vub~0%lrPu|xKlnQ0(hM$-H!((ZuN=W^JK@KPx(3E{!(!<3Aj_9I}v~dJq(M~VFUe_5XQr><%(Gij+dBnJj`ZM)?Dre z20wWmHran?@SBC9ZjU?H17_Ce_>1Z1{)2uSv|opqmi=>_#`IgH&v83__KH?}poTFz z>(5bz=}CHFJO;7K`W%lx3>fAQS$~RNkm&_zGZ*{#?S@8-*;$|CL#AIKW$r)AF?|%; z@eaT|$B|6^q;Ky(!D2sDu*Gx)G`l?WOkV??T6kEW@4<}}7_uDN#=<<)w*bSr zXMK+A`S;3WG=IE4SdYi?4CtZ=>vQ~n3Ofa**&xOLtk3j3w3zja_XKjl`;-l^9@9%U zeU7slNT2&@*Ju8HsGu$GKmUH#NQ&%-9>=Ek64hXUH{(!gju8j literal 0 HcmV?d00001 diff --git a/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeDetermineCompilerABI_CXX.bin b/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeDetermineCompilerABI_CXX.bin new file mode 100755 index 0000000000000000000000000000000000000000..72c0f4be60efe1275dc8c5b3db8bfdfc9b6aaf2c GIT binary patch literal 8208 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 literal 0 HcmV?d00001 diff --git a/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeSystem.cmake b/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeSystem.cmake new file mode 100644 index 0000000..c992ddc --- /dev/null +++ b/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeSystem.cmake @@ -0,0 +1,15 @@ +set(CMAKE_HOST_SYSTEM "Linux-4.13.7-1-ARCH") +set(CMAKE_HOST_SYSTEM_NAME "Linux") +set(CMAKE_HOST_SYSTEM_VERSION "4.13.7-1-ARCH") +set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") + + + +set(CMAKE_SYSTEM "Linux-4.13.7-1-ARCH") +set(CMAKE_SYSTEM_NAME "Linux") +set(CMAKE_SYSTEM_VERSION "4.13.7-1-ARCH") +set(CMAKE_SYSTEM_PROCESSOR "x86_64") + +set(CMAKE_CROSSCOMPILING "FALSE") + +set(CMAKE_SYSTEM_LOADED 1) diff --git a/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdC/CMakeCCompilerId.c b/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdC/CMakeCCompilerId.c new file mode 100644 index 0000000..df91daf --- /dev/null +++ b/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdC/CMakeCCompilerId.c @@ -0,0 +1,567 @@ +#ifdef __cplusplus +# error "A C++ compiler has been selected for C." +#endif + +#if defined(__18CXX) +# define ID_VOID_MAIN +#endif +#if defined(__CLASSIC_C__) +/* cv-qualifiers did not exist in K&R C */ +# define const +# define volatile +#endif + + +/* Version number components: V=Version, R=Revision, P=Patch + Version date components: YYYY=Year, MM=Month, DD=Day */ + +#if defined(__INTEL_COMPILER) || defined(__ICC) +# define COMPILER_ID "Intel" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif + /* __INTEL_COMPILER = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) +# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) +# if defined(__INTEL_COMPILER_UPDATE) +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) +# else +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) +# endif +# if defined(__INTEL_COMPILER_BUILD_DATE) + /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ +# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) +# endif +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif + +#elif defined(__PATHCC__) +# define COMPILER_ID "PathScale" +# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) +# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) +# if defined(__PATHCC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) +# endif + +#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) +# define COMPILER_ID "Embarcadero" +# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) +# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) +# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) + +#elif defined(__BORLANDC__) +# define COMPILER_ID "Borland" + /* __BORLANDC__ = 0xVRR */ +# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) +# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) + +#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 +# define COMPILER_ID "Watcom" + /* __WATCOMC__ = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__WATCOMC__) +# define COMPILER_ID "OpenWatcom" + /* __WATCOMC__ = VVRP + 1100 */ +# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__SUNPRO_C) +# define COMPILER_ID "SunPro" +# if __SUNPRO_C >= 0x5100 + /* __SUNPRO_C = 0xVRRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) +# else + /* __SUNPRO_CC = 0xVRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) +# endif + +#elif defined(__HP_cc) +# define COMPILER_ID "HP" + /* __HP_cc = VVRRPP */ +# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000) +# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100) +# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100) + +#elif defined(__DECC) +# define COMPILER_ID "Compaq" + /* __DECC_VER = VVRRTPPPP */ +# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000) +# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100) +# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000) + +#elif defined(__IBMC__) && defined(__COMPILER_VER__) +# define COMPILER_ID "zOS" + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) + +#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800 +# define COMPILER_ID "XL" + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) + +#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800 +# define COMPILER_ID "VisualAge" + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) + +#elif defined(__PGI) +# define COMPILER_ID "PGI" +# define COMPILER_VERSION_MAJOR DEC(__PGIC__) +# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) +# if defined(__PGIC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) +# endif + +#elif defined(_CRAYC) +# define COMPILER_ID "Cray" +# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) +# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) + +#elif defined(__TI_COMPILER_VERSION__) +# define COMPILER_ID "TI" + /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ +# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) +# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) +# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) + +#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version) +# define COMPILER_ID "Fujitsu" + +#elif defined(__TINYC__) +# define COMPILER_ID "TinyCC" + +#elif defined(__BCC__) +# define COMPILER_ID "Bruce" + +#elif defined(__SCO_VERSION__) +# define COMPILER_ID "SCO" + +#elif defined(__clang__) && defined(__apple_build_version__) +# define COMPILER_ID "AppleClang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif +# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) + +#elif defined(__clang__) +# define COMPILER_ID "Clang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif + +#elif defined(__GNUC__) +# define COMPILER_ID "GNU" +# define COMPILER_VERSION_MAJOR DEC(__GNUC__) +# if defined(__GNUC_MINOR__) +# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) +# endif +# if defined(__GNUC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif + +#elif defined(_MSC_VER) +# define COMPILER_ID "MSVC" + /* _MSC_VER = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) +# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) +# if defined(_MSC_FULL_VER) +# if _MSC_VER >= 1400 + /* _MSC_FULL_VER = VVRRPPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) +# else + /* _MSC_FULL_VER = VVRRPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) +# endif +# endif +# if defined(_MSC_BUILD) +# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) +# endif + +#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__) +# define COMPILER_ID "ADSP" +#if defined(__VISUALDSPVERSION__) + /* __VISUALDSPVERSION__ = 0xVVRRPP00 */ +# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24) +# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF) +# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF) +#endif + +#elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC) +# define COMPILER_ID "IAR" + +#elif defined(__ARMCC_VERSION) +# define COMPILER_ID "ARMCC" +#if __ARMCC_VERSION >= 1000000 + /* __ARMCC_VERSION = VRRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#else + /* __ARMCC_VERSION = VRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#endif + + +#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC) +# define COMPILER_ID "SDCC" +# if defined(__SDCC_VERSION_MAJOR) +# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR) +# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR) +# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH) +# else + /* SDCC = VRP */ +# define COMPILER_VERSION_MAJOR DEC(SDCC/100) +# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10) +# define COMPILER_VERSION_PATCH DEC(SDCC % 10) +# endif + +#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION) +# define COMPILER_ID "MIPSpro" +# if defined(_SGI_COMPILER_VERSION) + /* _SGI_COMPILER_VERSION = VRP */ +# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100) +# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10) +# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10) +# else + /* _COMPILER_VERSION = VRP */ +# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100) +# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10) +# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10) +# endif + + +/* These compilers are either not known or too old to define an + identification macro. Try to identify the platform and guess that + it is the native compiler. */ +#elif defined(__sgi) +# define COMPILER_ID "MIPSpro" + +#elif defined(__hpux) || defined(__hpua) +# define COMPILER_ID "HP" + +#else /* unknown compiler */ +# define COMPILER_ID "" +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; +#ifdef SIMULATE_ID +char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; +#endif + +#ifdef __QNXNTO__ +char const* qnxnto = "INFO" ":" "qnxnto[]"; +#endif + +#if defined(__CRAYXE) || defined(__CRAYXC) +char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; +#endif + +#define STRINGIFY_HELPER(X) #X +#define STRINGIFY(X) STRINGIFY_HELPER(X) + +/* Identify known platforms by name. */ +#if defined(__linux) || defined(__linux__) || defined(linux) +# define PLATFORM_ID "Linux" + +#elif defined(__CYGWIN__) +# define PLATFORM_ID "Cygwin" + +#elif defined(__MINGW32__) +# define PLATFORM_ID "MinGW" + +#elif defined(__APPLE__) +# define PLATFORM_ID "Darwin" + +#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) +# define PLATFORM_ID "Windows" + +#elif defined(__FreeBSD__) || defined(__FreeBSD) +# define PLATFORM_ID "FreeBSD" + +#elif defined(__NetBSD__) || defined(__NetBSD) +# define PLATFORM_ID "NetBSD" + +#elif defined(__OpenBSD__) || defined(__OPENBSD) +# define PLATFORM_ID "OpenBSD" + +#elif defined(__sun) || defined(sun) +# define PLATFORM_ID "SunOS" + +#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) +# define PLATFORM_ID "AIX" + +#elif defined(__sgi) || defined(__sgi__) || defined(_SGI) +# define PLATFORM_ID "IRIX" + +#elif defined(__hpux) || defined(__hpux__) +# define PLATFORM_ID "HP-UX" + +#elif defined(__HAIKU__) +# define PLATFORM_ID "Haiku" + +#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) +# define PLATFORM_ID "BeOS" + +#elif defined(__QNX__) || defined(__QNXNTO__) +# define PLATFORM_ID "QNX" + +#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) +# define PLATFORM_ID "Tru64" + +#elif defined(__riscos) || defined(__riscos__) +# define PLATFORM_ID "RISCos" + +#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) +# define PLATFORM_ID "SINIX" + +#elif defined(__UNIX_SV__) +# define PLATFORM_ID "UNIX_SV" + +#elif defined(__bsdos__) +# define PLATFORM_ID "BSDOS" + +#elif defined(_MPRAS) || defined(MPRAS) +# define PLATFORM_ID "MP-RAS" + +#elif defined(__osf) || defined(__osf__) +# define PLATFORM_ID "OSF1" + +#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) +# define PLATFORM_ID "SCO_SV" + +#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) +# define PLATFORM_ID "ULTRIX" + +#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) +# define PLATFORM_ID "Xenix" + +#elif defined(__WATCOMC__) +# if defined(__LINUX__) +# define PLATFORM_ID "Linux" + +# elif defined(__DOS__) +# define PLATFORM_ID "DOS" + +# elif defined(__OS2__) +# define PLATFORM_ID "OS2" + +# elif defined(__WINDOWS__) +# define PLATFORM_ID "Windows3x" + +# else /* unknown platform */ +# define PLATFORM_ID +# endif + +#else /* unknown platform */ +# define PLATFORM_ID + +#endif + +/* For windows compilers MSVC and Intel we can determine + the architecture of the compiler being used. This is because + the compilers do not have flags that can change the architecture, + but rather depend on which compiler is being used +*/ +#if defined(_WIN32) && defined(_MSC_VER) +# if defined(_M_IA64) +# define ARCHITECTURE_ID "IA64" + +# elif defined(_M_X64) || defined(_M_AMD64) +# define ARCHITECTURE_ID "x64" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# elif defined(_M_ARM) +# if _M_ARM == 4 +# define ARCHITECTURE_ID "ARMV4I" +# elif _M_ARM == 5 +# define ARCHITECTURE_ID "ARMV5I" +# else +# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) +# endif + +# elif defined(_M_MIPS) +# define ARCHITECTURE_ID "MIPS" + +# elif defined(_M_SH) +# define ARCHITECTURE_ID "SHx" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__WATCOMC__) +# if defined(_M_I86) +# define ARCHITECTURE_ID "I86" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#else +# define ARCHITECTURE_ID +#endif + +/* Convert integer to decimal digit literals. */ +#define DEC(n) \ + ('0' + (((n) / 10000000)%10)), \ + ('0' + (((n) / 1000000)%10)), \ + ('0' + (((n) / 100000)%10)), \ + ('0' + (((n) / 10000)%10)), \ + ('0' + (((n) / 1000)%10)), \ + ('0' + (((n) / 100)%10)), \ + ('0' + (((n) / 10)%10)), \ + ('0' + ((n) % 10)) + +/* Convert integer to hex digit literals. */ +#define HEX(n) \ + ('0' + ((n)>>28 & 0xF)), \ + ('0' + ((n)>>24 & 0xF)), \ + ('0' + ((n)>>20 & 0xF)), \ + ('0' + ((n)>>16 & 0xF)), \ + ('0' + ((n)>>12 & 0xF)), \ + ('0' + ((n)>>8 & 0xF)), \ + ('0' + ((n)>>4 & 0xF)), \ + ('0' + ((n) & 0xF)) + +/* Construct a string literal encoding the version number components. */ +#ifdef COMPILER_VERSION_MAJOR +char const info_version[] = { + 'I', 'N', 'F', 'O', ':', + 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', + COMPILER_VERSION_MAJOR, +# ifdef COMPILER_VERSION_MINOR + '.', COMPILER_VERSION_MINOR, +# ifdef COMPILER_VERSION_PATCH + '.', COMPILER_VERSION_PATCH, +# ifdef COMPILER_VERSION_TWEAK + '.', COMPILER_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct a string literal encoding the version number components. */ +#ifdef SIMULATE_VERSION_MAJOR +char const info_simulate_version[] = { + 'I', 'N', 'F', 'O', ':', + 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', + SIMULATE_VERSION_MAJOR, +# ifdef SIMULATE_VERSION_MINOR + '.', SIMULATE_VERSION_MINOR, +# ifdef SIMULATE_VERSION_PATCH + '.', SIMULATE_VERSION_PATCH, +# ifdef SIMULATE_VERSION_TWEAK + '.', SIMULATE_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; +char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; + + + + +#if !defined(__STDC__) +# if defined(_MSC_VER) && !defined(__clang__) +# define C_DIALECT "90" +# else +# define C_DIALECT +# endif +#elif __STDC_VERSION__ >= 201000L +# define C_DIALECT "11" +#elif __STDC_VERSION__ >= 199901L +# define C_DIALECT "99" +#else +# define C_DIALECT "90" +#endif +const char* info_language_dialect_default = + "INFO" ":" "dialect_default[" C_DIALECT "]"; + +/*--------------------------------------------------------------------------*/ + +#ifdef ID_VOID_MAIN +void main() {} +#else +# if defined(__CLASSIC_C__) +int main(argc, argv) int argc; char *argv[]; +# else +int main(int argc, char* argv[]) +# endif +{ + int require = 0; + require += info_compiler[argc]; + require += info_platform[argc]; + require += info_arch[argc]; +#ifdef COMPILER_VERSION_MAJOR + require += info_version[argc]; +#endif +#ifdef SIMULATE_ID + require += info_simulate[argc]; +#endif +#ifdef SIMULATE_VERSION_MAJOR + require += info_simulate_version[argc]; +#endif +#if defined(__CRAYXE) || defined(__CRAYXC) + require += info_cray[argc]; +#endif + require += info_language_dialect_default[argc]; + (void)argv; + return require; +} +#endif diff --git a/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdC/a.out b/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdC/a.out new file mode 100755 index 0000000000000000000000000000000000000000..99989f3b3f12ac472b49292ad6f1fa9f255ee8b3 GIT binary patch literal 8352 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 IP^e%3Kh{P>{{R30 literal 0 HcmV?d00001 diff --git a/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdCXX/CMakeCXXCompilerId.cpp b/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdCXX/CMakeCXXCompilerId.cpp new file mode 100644 index 0000000..e7037e5 --- /dev/null +++ b/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdCXX/CMakeCXXCompilerId.cpp @@ -0,0 +1,539 @@ +/* This source file must have a .cpp extension so that all C++ compilers + recognize the extension without flags. Borland does not know .cxx for + example. */ +#ifndef __cplusplus +# error "A C compiler has been selected for C++." +#endif + + +/* Version number components: V=Version, R=Revision, P=Patch + Version date components: YYYY=Year, MM=Month, DD=Day */ + +#if defined(__COMO__) +# define COMPILER_ID "Comeau" + /* __COMO_VERSION__ = VRR */ +# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100) +# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100) + +#elif defined(__INTEL_COMPILER) || defined(__ICC) +# define COMPILER_ID "Intel" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif + /* __INTEL_COMPILER = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) +# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) +# if defined(__INTEL_COMPILER_UPDATE) +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) +# else +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) +# endif +# if defined(__INTEL_COMPILER_BUILD_DATE) + /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ +# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) +# endif +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif + +#elif defined(__PATHCC__) +# define COMPILER_ID "PathScale" +# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) +# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) +# if defined(__PATHCC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) +# endif + +#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) +# define COMPILER_ID "Embarcadero" +# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) +# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) +# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) + +#elif defined(__BORLANDC__) +# define COMPILER_ID "Borland" + /* __BORLANDC__ = 0xVRR */ +# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) +# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) + +#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 +# define COMPILER_ID "Watcom" + /* __WATCOMC__ = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__WATCOMC__) +# define COMPILER_ID "OpenWatcom" + /* __WATCOMC__ = VVRP + 1100 */ +# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__SUNPRO_CC) +# define COMPILER_ID "SunPro" +# if __SUNPRO_CC >= 0x5100 + /* __SUNPRO_CC = 0xVRRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) +# else + /* __SUNPRO_CC = 0xVRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) +# endif + +#elif defined(__HP_aCC) +# define COMPILER_ID "HP" + /* __HP_aCC = VVRRPP */ +# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000) +# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100) +# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100) + +#elif defined(__DECCXX) +# define COMPILER_ID "Compaq" + /* __DECCXX_VER = VVRRTPPPP */ +# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000) +# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100) +# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000) + +#elif defined(__IBMCPP__) && defined(__COMPILER_VER__) +# define COMPILER_ID "zOS" + /* __IBMCPP__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) + +#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800 +# define COMPILER_ID "XL" + /* __IBMCPP__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) + +#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800 +# define COMPILER_ID "VisualAge" + /* __IBMCPP__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) + +#elif defined(__PGI) +# define COMPILER_ID "PGI" +# define COMPILER_VERSION_MAJOR DEC(__PGIC__) +# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) +# if defined(__PGIC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) +# endif + +#elif defined(_CRAYC) +# define COMPILER_ID "Cray" +# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) +# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) + +#elif defined(__TI_COMPILER_VERSION__) +# define COMPILER_ID "TI" + /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ +# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) +# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) +# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) + +#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version) +# define COMPILER_ID "Fujitsu" + +#elif defined(__SCO_VERSION__) +# define COMPILER_ID "SCO" + +#elif defined(__clang__) && defined(__apple_build_version__) +# define COMPILER_ID "AppleClang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif +# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) + +#elif defined(__clang__) +# define COMPILER_ID "Clang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif + +#elif defined(__GNUC__) || defined(__GNUG__) +# define COMPILER_ID "GNU" +# if defined(__GNUC__) +# define COMPILER_VERSION_MAJOR DEC(__GNUC__) +# else +# define COMPILER_VERSION_MAJOR DEC(__GNUG__) +# endif +# if defined(__GNUC_MINOR__) +# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) +# endif +# if defined(__GNUC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif + +#elif defined(_MSC_VER) +# define COMPILER_ID "MSVC" + /* _MSC_VER = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) +# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) +# if defined(_MSC_FULL_VER) +# if _MSC_VER >= 1400 + /* _MSC_FULL_VER = VVRRPPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) +# else + /* _MSC_FULL_VER = VVRRPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) +# endif +# endif +# if defined(_MSC_BUILD) +# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) +# endif + +#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__) +# define COMPILER_ID "ADSP" +#if defined(__VISUALDSPVERSION__) + /* __VISUALDSPVERSION__ = 0xVVRRPP00 */ +# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24) +# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF) +# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF) +#endif + +#elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC) +# define COMPILER_ID "IAR" + +#elif defined(__ARMCC_VERSION) +# define COMPILER_ID "ARMCC" +#if __ARMCC_VERSION >= 1000000 + /* __ARMCC_VERSION = VRRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#else + /* __ARMCC_VERSION = VRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#endif + + +#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION) +# define COMPILER_ID "MIPSpro" +# if defined(_SGI_COMPILER_VERSION) + /* _SGI_COMPILER_VERSION = VRP */ +# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100) +# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10) +# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10) +# else + /* _COMPILER_VERSION = VRP */ +# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100) +# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10) +# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10) +# endif + + +/* These compilers are either not known or too old to define an + identification macro. Try to identify the platform and guess that + it is the native compiler. */ +#elif defined(__sgi) +# define COMPILER_ID "MIPSpro" + +#elif defined(__hpux) || defined(__hpua) +# define COMPILER_ID "HP" + +#else /* unknown compiler */ +# define COMPILER_ID "" +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; +#ifdef SIMULATE_ID +char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; +#endif + +#ifdef __QNXNTO__ +char const* qnxnto = "INFO" ":" "qnxnto[]"; +#endif + +#if defined(__CRAYXE) || defined(__CRAYXC) +char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; +#endif + +#define STRINGIFY_HELPER(X) #X +#define STRINGIFY(X) STRINGIFY_HELPER(X) + +/* Identify known platforms by name. */ +#if defined(__linux) || defined(__linux__) || defined(linux) +# define PLATFORM_ID "Linux" + +#elif defined(__CYGWIN__) +# define PLATFORM_ID "Cygwin" + +#elif defined(__MINGW32__) +# define PLATFORM_ID "MinGW" + +#elif defined(__APPLE__) +# define PLATFORM_ID "Darwin" + +#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) +# define PLATFORM_ID "Windows" + +#elif defined(__FreeBSD__) || defined(__FreeBSD) +# define PLATFORM_ID "FreeBSD" + +#elif defined(__NetBSD__) || defined(__NetBSD) +# define PLATFORM_ID "NetBSD" + +#elif defined(__OpenBSD__) || defined(__OPENBSD) +# define PLATFORM_ID "OpenBSD" + +#elif defined(__sun) || defined(sun) +# define PLATFORM_ID "SunOS" + +#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) +# define PLATFORM_ID "AIX" + +#elif defined(__sgi) || defined(__sgi__) || defined(_SGI) +# define PLATFORM_ID "IRIX" + +#elif defined(__hpux) || defined(__hpux__) +# define PLATFORM_ID "HP-UX" + +#elif defined(__HAIKU__) +# define PLATFORM_ID "Haiku" + +#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) +# define PLATFORM_ID "BeOS" + +#elif defined(__QNX__) || defined(__QNXNTO__) +# define PLATFORM_ID "QNX" + +#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) +# define PLATFORM_ID "Tru64" + +#elif defined(__riscos) || defined(__riscos__) +# define PLATFORM_ID "RISCos" + +#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) +# define PLATFORM_ID "SINIX" + +#elif defined(__UNIX_SV__) +# define PLATFORM_ID "UNIX_SV" + +#elif defined(__bsdos__) +# define PLATFORM_ID "BSDOS" + +#elif defined(_MPRAS) || defined(MPRAS) +# define PLATFORM_ID "MP-RAS" + +#elif defined(__osf) || defined(__osf__) +# define PLATFORM_ID "OSF1" + +#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) +# define PLATFORM_ID "SCO_SV" + +#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) +# define PLATFORM_ID "ULTRIX" + +#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) +# define PLATFORM_ID "Xenix" + +#elif defined(__WATCOMC__) +# if defined(__LINUX__) +# define PLATFORM_ID "Linux" + +# elif defined(__DOS__) +# define PLATFORM_ID "DOS" + +# elif defined(__OS2__) +# define PLATFORM_ID "OS2" + +# elif defined(__WINDOWS__) +# define PLATFORM_ID "Windows3x" + +# else /* unknown platform */ +# define PLATFORM_ID +# endif + +#else /* unknown platform */ +# define PLATFORM_ID + +#endif + +/* For windows compilers MSVC and Intel we can determine + the architecture of the compiler being used. This is because + the compilers do not have flags that can change the architecture, + but rather depend on which compiler is being used +*/ +#if defined(_WIN32) && defined(_MSC_VER) +# if defined(_M_IA64) +# define ARCHITECTURE_ID "IA64" + +# elif defined(_M_X64) || defined(_M_AMD64) +# define ARCHITECTURE_ID "x64" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# elif defined(_M_ARM) +# if _M_ARM == 4 +# define ARCHITECTURE_ID "ARMV4I" +# elif _M_ARM == 5 +# define ARCHITECTURE_ID "ARMV5I" +# else +# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) +# endif + +# elif defined(_M_MIPS) +# define ARCHITECTURE_ID "MIPS" + +# elif defined(_M_SH) +# define ARCHITECTURE_ID "SHx" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__WATCOMC__) +# if defined(_M_I86) +# define ARCHITECTURE_ID "I86" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#else +# define ARCHITECTURE_ID +#endif + +/* Convert integer to decimal digit literals. */ +#define DEC(n) \ + ('0' + (((n) / 10000000)%10)), \ + ('0' + (((n) / 1000000)%10)), \ + ('0' + (((n) / 100000)%10)), \ + ('0' + (((n) / 10000)%10)), \ + ('0' + (((n) / 1000)%10)), \ + ('0' + (((n) / 100)%10)), \ + ('0' + (((n) / 10)%10)), \ + ('0' + ((n) % 10)) + +/* Convert integer to hex digit literals. */ +#define HEX(n) \ + ('0' + ((n)>>28 & 0xF)), \ + ('0' + ((n)>>24 & 0xF)), \ + ('0' + ((n)>>20 & 0xF)), \ + ('0' + ((n)>>16 & 0xF)), \ + ('0' + ((n)>>12 & 0xF)), \ + ('0' + ((n)>>8 & 0xF)), \ + ('0' + ((n)>>4 & 0xF)), \ + ('0' + ((n) & 0xF)) + +/* Construct a string literal encoding the version number components. */ +#ifdef COMPILER_VERSION_MAJOR +char const info_version[] = { + 'I', 'N', 'F', 'O', ':', + 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', + COMPILER_VERSION_MAJOR, +# ifdef COMPILER_VERSION_MINOR + '.', COMPILER_VERSION_MINOR, +# ifdef COMPILER_VERSION_PATCH + '.', COMPILER_VERSION_PATCH, +# ifdef COMPILER_VERSION_TWEAK + '.', COMPILER_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct a string literal encoding the version number components. */ +#ifdef SIMULATE_VERSION_MAJOR +char const info_simulate_version[] = { + 'I', 'N', 'F', 'O', ':', + 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', + SIMULATE_VERSION_MAJOR, +# ifdef SIMULATE_VERSION_MINOR + '.', SIMULATE_VERSION_MINOR, +# ifdef SIMULATE_VERSION_PATCH + '.', SIMULATE_VERSION_PATCH, +# ifdef SIMULATE_VERSION_TWEAK + '.', SIMULATE_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; +char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; + + + + +const char* info_language_dialect_default = "INFO" ":" "dialect_default[" +#if __cplusplus > 201402L + "17" +#elif __cplusplus >= 201402L + "14" +#elif __cplusplus >= 201103L + "11" +#else + "98" +#endif +"]"; + +/*--------------------------------------------------------------------------*/ + +int main(int argc, char* argv[]) +{ + int require = 0; + require += info_compiler[argc]; + require += info_platform[argc]; +#ifdef COMPILER_VERSION_MAJOR + require += info_version[argc]; +#endif +#ifdef SIMULATE_ID + require += info_simulate[argc]; +#endif +#ifdef SIMULATE_VERSION_MAJOR + require += info_simulate_version[argc]; +#endif +#if defined(__CRAYXE) || defined(__CRAYXC) + require += info_cray[argc]; +#endif + require += info_language_dialect_default[argc]; + (void)argv; + return require; +} diff --git a/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdCXX/a.out b/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdCXX/a.out new file mode 100755 index 0000000000000000000000000000000000000000..e5ac5b8ee97a5ddc038c0c28cd6043ff70f1869d GIT binary patch literal 8360 zcmeHMTWlOx89wWcW9QXcC9Ovbxwd)2*| z-Pz(qMFcsmWYV;GpeU6P6se*wJRubI0imR>LSH~`A1Kg(!X+qy1WXFSg~ZGMpZUM_ z%y`{`#1qPqcK&m|^WV;8&iv=!uk`fouLuMbN>F`9aciQ|K{}-4`U6rS(xKYaDtc~F zo7GBcGiwL^xOC{}BApl2pw-eJB)WorZ50mSr(1;&6dp1a*M!4M!mFG%s8V4KupIk3 zSEHLm!@2@`RQxzD6mr~TITh0EM8i%+=&U#fit+K-_%|r}{IuKAqClCK%b{y_oa+yX zq9s&wQNK{gJx+4kPr*Nq)Ct33vA5j3)QSI~GF-JQl^of#dsiyHGnLE~CU;J@?b*3! zcO;*UwCZuQe&#(ea70_;^~Th)&l~B-82A6?W?{|uAAJ3XzkWYB`pU*#FSNhDb%AB^ zqw0TLzC@hc%5XOl7A}K7PuTi0IQt(igFm(mu4q2;c09IY2hYJCWtwB@Y{tynR?ap} zW%dsCoAE?0F_z5RiQHg+S1OxH3|b?pgwt2HhjgYLbyORR#mqdnTG&<$W@3|;IhxE^ zspLsgWpbBTOWDg35D9)4w&Qem{3;uRuLchyp|O%r|(qzI?|&GyNs#!mq>s-BY$d)GwttEt62XmJ+B`q7K@iF zuTwQJJVUBz93Kc}_Td|&#K5)bFW)q#3s-;KbC;br&eXq5GG}^j8t09`Z0!YA`=g72 zp1XuUR}N>!*euP=KS;Rt!itI#`)GOgyTdcl&qbf?oqjKRBuaDtsXwpOQ@fMt6Vd5= zz0-I4wqMh0cbYF(9&yto?XD2oDwLVia@-ycVPd)M`PLaL^74g4bf>i{1N@; zGl^V2navC}J7sS~Dy^tA4=b&4B4yd5*<5<4k56v_tz2w;Nb2#Vl}f~HIw5)1ip;)wuzD4xwM0eB5ULnfoJD0%8!zwUY7ud44s`^}@ zs*Z8~rqACk7I!d%l=A!zFY~`k_MTzhXsGV_imsZK6<;Kc$OX{eNF5X1RS{4rRnzh6HI6eyTU5e>F2xdCehejnD?6^+G|! zP1Uf%L14E{1}fJ{1^Is!9e;>hv(o26`!_HC(C1ILF;8>SzA615N*i|I$N!pQJw8^i z++&yHL%fdo9Pv2fZ^YXNy1E_>H&J}DJ-nAL8_mnD)3xeonT-{s=mzhfmw%nYd*{XJMqFlJ1l0zGdzF`;qBpsRdGUJH zP!`{$jI#JA+~T^<@6ihN*P_3JhglBaKzIec^{?Wf5J7(L8Nceon*_&sDD0F4mML z!-V_y&*PeZ@x72^TOB8Sn7Snka-fd( z?IGW|exmso_cQ$bg|@p!&B^@eI}~-^AUq5v7p>IeU89c6{={)yuW=WnRCf~|UJ9$O zWpI_uB<)B{#d3DuE{u*+bun#b+G#V!iL*Rqy5d=LER`LxQfA!F=JKXhm{fdGP9^L_ zJhErs-iOOGakeaJTDhEc!c1iB+zBG7pCy?&R=wU*7Ns!0As+O|fB+Bt`gqn6B2UUou7 zGFdwjiFWqxw5>5|jb#dvkwTJk-O0F$aBJMkkE=-hM27S^)Xq6Ql7aCwOzO)eQWguS z2(Pw^*ojGc>d{4VS-p;t#JFs}@i(~(fhRv~T!McfX(%ZidBlOB z4}wvsU%s30I~04vKH^1C_>b@a-yx_SpbFn5ApeF`K+g#yAEP{W$m8DdBw>67fIQ+) z(ATKXUHtQRj5_&l0eQr!pty&@fAE1mP4awKK^yTbXjqK<{TEoBqzca|NGNdkyLjpZxZ}A@Ugi zDf#|^eh-F(hJEdCQJd{U9`SpL`uP3!S-)EzaX#qVK6%VP;0sg<(NC_SrTYN>_w)0k z4f-a@*1F_zZA?3eBr>=YIJe~SG9IjrM*#KYr=cz| zhm@X>2fac)ZuwGtDhBYLLILDJuleK=cQuIoa`vI`PgG%D@E`Gy~jApaj}p459ez*CWSwk7k)qBJ7k%j+vK!{eac}MyzE~&`CDS( KLof>U%l{kFi(UBu literal 0 HcmV?d00001 diff --git a/samples/Basic/linux/build/CMakeFiles/CMakeOutput.log b/samples/Basic/linux/build/CMakeFiles/CMakeOutput.log new file mode 100644 index 0000000..64f467f --- /dev/null +++ b/samples/Basic/linux/build/CMakeFiles/CMakeOutput.log @@ -0,0 +1,529 @@ +The system is: Linux - 4.13.7-1-ARCH - x86_64 +Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. +Compiler: /usr/bin/cc +Build flags: +Id flags: + +The output was: +0 + + +Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" + +The C compiler identification is GNU, found in "/home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdC/a.out" + +Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. +Compiler: /usr/bin/c++ +Build flags: +Id flags: + +The output was: +0 + + +Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" + +The CXX compiler identification is GNU, found in "/home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdCXX/a.out" + +Determining if the C compiler works passed with the following output: +Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/ninja" "cmTC_471e0" +[1/2] Building C object CMakeFiles/cmTC_471e0.dir/testCCompiler.c.o +[2/2] Linking C executable cmTC_471e0 + + +Detecting C compiler ABI info compiled with the following output: +Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/ninja" "cmTC_3d6ea" +[1/2] Building C object CMakeFiles/cmTC_3d6ea.dir/CMakeCCompilerABI.c.o +[2/2] Linking C executable cmTC_3d6ea +Using built-in specs. +COLLECT_GCC=/usr/bin/cc +COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper +Target: x86_64-pc-linux-gnu +Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp +Thread model: posix +gcc version 7.2.0 (GCC) +COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/ +LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../:/lib/:/usr/lib/ +COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_3d6ea' '-mtune=generic' '-march=x86-64' + /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/origamidance/ccQsnkLI.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_3d6ea /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../.. CMakeFiles/cmTC_3d6ea.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crtn.o +COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_3d6ea' '-mtune=generic' '-march=x86-64' + + +Parsed C implicit link information from above output: + link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] + ignore line: [Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp] + ignore line: [] + ignore line: [Run Build Command:"/usr/bin/ninja" "cmTC_3d6ea"] + ignore line: [[1/2] Building C object CMakeFiles/cmTC_3d6ea.dir/CMakeCCompilerABI.c.o] + ignore line: [[2/2] Linking C executable cmTC_3d6ea] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/cc] + ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper] + ignore line: [Target: x86_64-pc-linux-gnu] + ignore line: [Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp] + ignore line: [Thread model: posix] + ignore line: [gcc version 7.2.0 (GCC) ] + ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/] + ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_3d6ea' '-mtune=generic' '-march=x86-64'] + link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/origamidance/ccQsnkLI.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_3d6ea /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../.. CMakeFiles/cmTC_3d6ea.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crtn.o] + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/collect2] ==> ignore + arg [-plugin] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/liblto_plugin.so] ==> ignore + arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper] ==> ignore + arg [-plugin-opt=-fresolution=/tmp/origamidance/ccQsnkLI.res] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore + arg [-plugin-opt=-pass-through=-lc] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore + arg [--build-id] ==> ignore + arg [--eh-frame-hdr] ==> ignore + arg [--hash-style=gnu] ==> ignore + arg [-m] ==> ignore + arg [elf_x86_64] ==> ignore + arg [-export-dynamic] ==> ignore + arg [-dynamic-linker] ==> ignore + arg [/lib64/ld-linux-x86-64.so.2] ==> ignore + arg [-pie] ==> ignore + arg [-o] ==> ignore + arg [cmTC_3d6ea] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/Scrt1.o] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crti.o] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtbeginS.o] ==> ignore + arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0] + arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib] + arg [-L/lib/../lib] ==> dir [/lib/../lib] + arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] + arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../..] + arg [CMakeFiles/cmTC_3d6ea.dir/CMakeCCompilerABI.c.o] ==> ignore + arg [-lgcc] ==> lib [gcc] + arg [--as-needed] ==> ignore + arg [-lgcc_s] ==> lib [gcc_s] + arg [--no-as-needed] ==> ignore + arg [-lc] ==> lib [c] + arg [-lgcc] ==> lib [gcc] + arg [--as-needed] ==> ignore + arg [-lgcc_s] ==> lib [gcc_s] + arg [--no-as-needed] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtendS.o] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crtn.o] ==> ignore + collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0] + collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib] ==> [/usr/lib] + collapse library dir [/lib/../lib] ==> [/lib] + collapse library dir [/usr/lib/../lib] ==> [/usr/lib] + collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../..] ==> [/usr/lib] + implicit libs: [gcc;gcc_s;c;gcc;gcc_s] + implicit dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0;/usr/lib;/lib] + implicit fwks: [] + + + + +Detecting C [-std=c11] compiler features compiled with the following output: +Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/ninja" "cmTC_4e94a" +[1/2] Building C object CMakeFiles/cmTC_4e94a.dir/feature_tests.c.o +[2/2] Linking C executable cmTC_4e94a + + + Feature record: C_FEATURE:1c_function_prototypes + Feature record: C_FEATURE:1c_restrict + Feature record: C_FEATURE:1c_static_assert + Feature record: C_FEATURE:1c_variadic_macros + + +Detecting C [-std=c99] compiler features compiled with the following output: +Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/ninja" "cmTC_4d970" +[1/2] Building C object CMakeFiles/cmTC_4d970.dir/feature_tests.c.o +[2/2] Linking C executable cmTC_4d970 + + + Feature record: C_FEATURE:1c_function_prototypes + Feature record: C_FEATURE:1c_restrict + Feature record: C_FEATURE:0c_static_assert + Feature record: C_FEATURE:1c_variadic_macros + + +Detecting C [-std=c90] compiler features compiled with the following output: +Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/ninja" "cmTC_8c1c2" +[1/2] Building C object CMakeFiles/cmTC_8c1c2.dir/feature_tests.c.o +[2/2] Linking C executable cmTC_8c1c2 + + + Feature record: C_FEATURE:1c_function_prototypes + Feature record: C_FEATURE:0c_restrict + Feature record: C_FEATURE:0c_static_assert + Feature record: C_FEATURE:0c_variadic_macros +Determining if the CXX compiler works passed with the following output: +Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/ninja" "cmTC_615ff" +[1/2] Building CXX object CMakeFiles/cmTC_615ff.dir/testCXXCompiler.cxx.o +[2/2] Linking CXX executable cmTC_615ff + + +Detecting CXX compiler ABI info compiled with the following output: +Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/ninja" "cmTC_8da4f" +[1/2] Building CXX object CMakeFiles/cmTC_8da4f.dir/CMakeCXXCompilerABI.cpp.o +[2/2] Linking CXX executable cmTC_8da4f +Using built-in specs. +COLLECT_GCC=/usr/bin/c++ +COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper +Target: x86_64-pc-linux-gnu +Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp +Thread model: posix +gcc version 7.2.0 (GCC) +COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/ +LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../:/lib/:/usr/lib/ +COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_8da4f' '-shared-libgcc' '-mtune=generic' '-march=x86-64' + /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/origamidance/ccbmRBSX.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_8da4f /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../.. CMakeFiles/cmTC_8da4f.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crtn.o +COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_8da4f' '-shared-libgcc' '-mtune=generic' '-march=x86-64' + + +Parsed CXX implicit link information from above output: + link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] + ignore line: [Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp] + ignore line: [] + ignore line: [Run Build Command:"/usr/bin/ninja" "cmTC_8da4f"] + ignore line: [[1/2] Building CXX object CMakeFiles/cmTC_8da4f.dir/CMakeCXXCompilerABI.cpp.o] + ignore line: [[2/2] Linking CXX executable cmTC_8da4f] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/c++] + ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper] + ignore line: [Target: x86_64-pc-linux-gnu] + ignore line: [Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp] + ignore line: [Thread model: posix] + ignore line: [gcc version 7.2.0 (GCC) ] + ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/] + ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_8da4f' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] + link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/origamidance/ccbmRBSX.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_8da4f /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../.. CMakeFiles/cmTC_8da4f.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crtn.o] + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/collect2] ==> ignore + arg [-plugin] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/liblto_plugin.so] ==> ignore + arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper] ==> ignore + arg [-plugin-opt=-fresolution=/tmp/origamidance/ccbmRBSX.res] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore + arg [-plugin-opt=-pass-through=-lc] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore + arg [--build-id] ==> ignore + arg [--eh-frame-hdr] ==> ignore + arg [--hash-style=gnu] ==> ignore + arg [-m] ==> ignore + arg [elf_x86_64] ==> ignore + arg [-export-dynamic] ==> ignore + arg [-dynamic-linker] ==> ignore + arg [/lib64/ld-linux-x86-64.so.2] ==> ignore + arg [-pie] ==> ignore + arg [-o] ==> ignore + arg [cmTC_8da4f] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/Scrt1.o] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crti.o] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtbeginS.o] ==> ignore + arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0] + arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib] + arg [-L/lib/../lib] ==> dir [/lib/../lib] + arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] + arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../..] + arg [CMakeFiles/cmTC_8da4f.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore + arg [-lstdc++] ==> lib [stdc++] + arg [-lm] ==> lib [m] + arg [-lgcc_s] ==> lib [gcc_s] + arg [-lgcc] ==> lib [gcc] + arg [-lc] ==> lib [c] + arg [-lgcc_s] ==> lib [gcc_s] + arg [-lgcc] ==> lib [gcc] + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtendS.o] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crtn.o] ==> ignore + collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0] + collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib] ==> [/usr/lib] + collapse library dir [/lib/../lib] ==> [/lib] + collapse library dir [/usr/lib/../lib] ==> [/usr/lib] + collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../..] ==> [/usr/lib] + implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc] + implicit dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0;/usr/lib;/lib] + implicit fwks: [] + + + + +Detecting CXX [-std=c++1z] compiler features compiled with the following output: +Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/ninja" "cmTC_89d8b" +[1/2] Building CXX object CMakeFiles/cmTC_89d8b.dir/feature_tests.cxx.o +[2/2] Linking CXX executable cmTC_89d8b + + + Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers + Feature record: CXX_FEATURE:1cxx_alias_templates + Feature record: CXX_FEATURE:1cxx_alignas + Feature record: CXX_FEATURE:1cxx_alignof + Feature record: CXX_FEATURE:1cxx_attributes + Feature record: CXX_FEATURE:1cxx_attribute_deprecated + Feature record: CXX_FEATURE:1cxx_auto_type + Feature record: CXX_FEATURE:1cxx_binary_literals + Feature record: CXX_FEATURE:1cxx_constexpr + Feature record: CXX_FEATURE:1cxx_contextual_conversions + Feature record: CXX_FEATURE:1cxx_decltype + Feature record: CXX_FEATURE:1cxx_decltype_auto + Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types + Feature record: CXX_FEATURE:1cxx_default_function_template_args + Feature record: CXX_FEATURE:1cxx_defaulted_functions + Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers + Feature record: CXX_FEATURE:1cxx_delegating_constructors + Feature record: CXX_FEATURE:1cxx_deleted_functions + Feature record: CXX_FEATURE:1cxx_digit_separators + Feature record: CXX_FEATURE:1cxx_enum_forward_declarations + Feature record: CXX_FEATURE:1cxx_explicit_conversions + Feature record: CXX_FEATURE:1cxx_extended_friend_declarations + Feature record: CXX_FEATURE:1cxx_extern_templates + Feature record: CXX_FEATURE:1cxx_final + Feature record: CXX_FEATURE:1cxx_func_identifier + Feature record: CXX_FEATURE:1cxx_generalized_initializers + Feature record: CXX_FEATURE:1cxx_generic_lambdas + Feature record: CXX_FEATURE:1cxx_inheriting_constructors + Feature record: CXX_FEATURE:1cxx_inline_namespaces + Feature record: CXX_FEATURE:1cxx_lambdas + Feature record: CXX_FEATURE:1cxx_lambda_init_captures + Feature record: CXX_FEATURE:1cxx_local_type_template_args + Feature record: CXX_FEATURE:1cxx_long_long_type + Feature record: CXX_FEATURE:1cxx_noexcept + Feature record: CXX_FEATURE:1cxx_nonstatic_member_init + Feature record: CXX_FEATURE:1cxx_nullptr + Feature record: CXX_FEATURE:1cxx_override + Feature record: CXX_FEATURE:1cxx_range_for + Feature record: CXX_FEATURE:1cxx_raw_string_literals + Feature record: CXX_FEATURE:1cxx_reference_qualified_functions + Feature record: CXX_FEATURE:1cxx_relaxed_constexpr + Feature record: CXX_FEATURE:1cxx_return_type_deduction + Feature record: CXX_FEATURE:1cxx_right_angle_brackets + Feature record: CXX_FEATURE:1cxx_rvalue_references + Feature record: CXX_FEATURE:1cxx_sizeof_member + Feature record: CXX_FEATURE:1cxx_static_assert + Feature record: CXX_FEATURE:1cxx_strong_enums + Feature record: CXX_FEATURE:1cxx_template_template_parameters + Feature record: CXX_FEATURE:1cxx_thread_local + Feature record: CXX_FEATURE:1cxx_trailing_return_types + Feature record: CXX_FEATURE:1cxx_unicode_literals + Feature record: CXX_FEATURE:1cxx_uniform_initialization + Feature record: CXX_FEATURE:1cxx_unrestricted_unions + Feature record: CXX_FEATURE:1cxx_user_literals + Feature record: CXX_FEATURE:1cxx_variable_templates + Feature record: CXX_FEATURE:1cxx_variadic_macros + Feature record: CXX_FEATURE:1cxx_variadic_templates + + +Detecting CXX [-std=c++14] compiler features compiled with the following output: +Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/ninja" "cmTC_efadc" +[1/2] Building CXX object CMakeFiles/cmTC_efadc.dir/feature_tests.cxx.o +[2/2] Linking CXX executable cmTC_efadc + + + Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers + Feature record: CXX_FEATURE:1cxx_alias_templates + Feature record: CXX_FEATURE:1cxx_alignas + Feature record: CXX_FEATURE:1cxx_alignof + Feature record: CXX_FEATURE:1cxx_attributes + Feature record: CXX_FEATURE:1cxx_attribute_deprecated + Feature record: CXX_FEATURE:1cxx_auto_type + Feature record: CXX_FEATURE:1cxx_binary_literals + Feature record: CXX_FEATURE:1cxx_constexpr + Feature record: CXX_FEATURE:1cxx_contextual_conversions + Feature record: CXX_FEATURE:1cxx_decltype + Feature record: CXX_FEATURE:1cxx_decltype_auto + Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types + Feature record: CXX_FEATURE:1cxx_default_function_template_args + Feature record: CXX_FEATURE:1cxx_defaulted_functions + Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers + Feature record: CXX_FEATURE:1cxx_delegating_constructors + Feature record: CXX_FEATURE:1cxx_deleted_functions + Feature record: CXX_FEATURE:1cxx_digit_separators + Feature record: CXX_FEATURE:1cxx_enum_forward_declarations + Feature record: CXX_FEATURE:1cxx_explicit_conversions + Feature record: CXX_FEATURE:1cxx_extended_friend_declarations + Feature record: CXX_FEATURE:1cxx_extern_templates + Feature record: CXX_FEATURE:1cxx_final + Feature record: CXX_FEATURE:1cxx_func_identifier + Feature record: CXX_FEATURE:1cxx_generalized_initializers + Feature record: CXX_FEATURE:1cxx_generic_lambdas + Feature record: CXX_FEATURE:1cxx_inheriting_constructors + Feature record: CXX_FEATURE:1cxx_inline_namespaces + Feature record: CXX_FEATURE:1cxx_lambdas + Feature record: CXX_FEATURE:1cxx_lambda_init_captures + Feature record: CXX_FEATURE:1cxx_local_type_template_args + Feature record: CXX_FEATURE:1cxx_long_long_type + Feature record: CXX_FEATURE:1cxx_noexcept + Feature record: CXX_FEATURE:1cxx_nonstatic_member_init + Feature record: CXX_FEATURE:1cxx_nullptr + Feature record: CXX_FEATURE:1cxx_override + Feature record: CXX_FEATURE:1cxx_range_for + Feature record: CXX_FEATURE:1cxx_raw_string_literals + Feature record: CXX_FEATURE:1cxx_reference_qualified_functions + Feature record: CXX_FEATURE:1cxx_relaxed_constexpr + Feature record: CXX_FEATURE:1cxx_return_type_deduction + Feature record: CXX_FEATURE:1cxx_right_angle_brackets + Feature record: CXX_FEATURE:1cxx_rvalue_references + Feature record: CXX_FEATURE:1cxx_sizeof_member + Feature record: CXX_FEATURE:1cxx_static_assert + Feature record: CXX_FEATURE:1cxx_strong_enums + Feature record: CXX_FEATURE:1cxx_template_template_parameters + Feature record: CXX_FEATURE:1cxx_thread_local + Feature record: CXX_FEATURE:1cxx_trailing_return_types + Feature record: CXX_FEATURE:1cxx_unicode_literals + Feature record: CXX_FEATURE:1cxx_uniform_initialization + Feature record: CXX_FEATURE:1cxx_unrestricted_unions + Feature record: CXX_FEATURE:1cxx_user_literals + Feature record: CXX_FEATURE:1cxx_variable_templates + Feature record: CXX_FEATURE:1cxx_variadic_macros + Feature record: CXX_FEATURE:1cxx_variadic_templates + + +Detecting CXX [-std=c++11] compiler features compiled with the following output: +Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/ninja" "cmTC_5f28f" +[1/2] Building CXX object CMakeFiles/cmTC_5f28f.dir/feature_tests.cxx.o +[2/2] Linking CXX executable cmTC_5f28f + + + Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers + Feature record: CXX_FEATURE:1cxx_alias_templates + Feature record: CXX_FEATURE:1cxx_alignas + Feature record: CXX_FEATURE:1cxx_alignof + Feature record: CXX_FEATURE:1cxx_attributes + Feature record: CXX_FEATURE:0cxx_attribute_deprecated + Feature record: CXX_FEATURE:1cxx_auto_type + Feature record: CXX_FEATURE:0cxx_binary_literals + Feature record: CXX_FEATURE:1cxx_constexpr + Feature record: CXX_FEATURE:0cxx_contextual_conversions + Feature record: CXX_FEATURE:1cxx_decltype + Feature record: CXX_FEATURE:0cxx_decltype_auto + Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types + Feature record: CXX_FEATURE:1cxx_default_function_template_args + Feature record: CXX_FEATURE:1cxx_defaulted_functions + Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers + Feature record: CXX_FEATURE:1cxx_delegating_constructors + Feature record: CXX_FEATURE:1cxx_deleted_functions + Feature record: CXX_FEATURE:0cxx_digit_separators + Feature record: CXX_FEATURE:1cxx_enum_forward_declarations + Feature record: CXX_FEATURE:1cxx_explicit_conversions + Feature record: CXX_FEATURE:1cxx_extended_friend_declarations + Feature record: CXX_FEATURE:1cxx_extern_templates + Feature record: CXX_FEATURE:1cxx_final + Feature record: CXX_FEATURE:1cxx_func_identifier + Feature record: CXX_FEATURE:1cxx_generalized_initializers + Feature record: CXX_FEATURE:0cxx_generic_lambdas + Feature record: CXX_FEATURE:1cxx_inheriting_constructors + Feature record: CXX_FEATURE:1cxx_inline_namespaces + Feature record: CXX_FEATURE:1cxx_lambdas + Feature record: CXX_FEATURE:0cxx_lambda_init_captures + Feature record: CXX_FEATURE:1cxx_local_type_template_args + Feature record: CXX_FEATURE:1cxx_long_long_type + Feature record: CXX_FEATURE:1cxx_noexcept + Feature record: CXX_FEATURE:1cxx_nonstatic_member_init + Feature record: CXX_FEATURE:1cxx_nullptr + Feature record: CXX_FEATURE:1cxx_override + Feature record: CXX_FEATURE:1cxx_range_for + Feature record: CXX_FEATURE:1cxx_raw_string_literals + Feature record: CXX_FEATURE:1cxx_reference_qualified_functions + Feature record: CXX_FEATURE:0cxx_relaxed_constexpr + Feature record: CXX_FEATURE:0cxx_return_type_deduction + Feature record: CXX_FEATURE:1cxx_right_angle_brackets + Feature record: CXX_FEATURE:1cxx_rvalue_references + Feature record: CXX_FEATURE:1cxx_sizeof_member + Feature record: CXX_FEATURE:1cxx_static_assert + Feature record: CXX_FEATURE:1cxx_strong_enums + Feature record: CXX_FEATURE:1cxx_template_template_parameters + Feature record: CXX_FEATURE:1cxx_thread_local + Feature record: CXX_FEATURE:1cxx_trailing_return_types + Feature record: CXX_FEATURE:1cxx_unicode_literals + Feature record: CXX_FEATURE:1cxx_uniform_initialization + Feature record: CXX_FEATURE:1cxx_unrestricted_unions + Feature record: CXX_FEATURE:1cxx_user_literals + Feature record: CXX_FEATURE:0cxx_variable_templates + Feature record: CXX_FEATURE:1cxx_variadic_macros + Feature record: CXX_FEATURE:1cxx_variadic_templates + + +Detecting CXX [-std=c++98] compiler features compiled with the following output: +Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/ninja" "cmTC_11e1c" +[1/2] Building CXX object CMakeFiles/cmTC_11e1c.dir/feature_tests.cxx.o +[2/2] Linking CXX executable cmTC_11e1c + + + Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers + Feature record: CXX_FEATURE:0cxx_alias_templates + Feature record: CXX_FEATURE:0cxx_alignas + Feature record: CXX_FEATURE:0cxx_alignof + Feature record: CXX_FEATURE:0cxx_attributes + Feature record: CXX_FEATURE:0cxx_attribute_deprecated + Feature record: CXX_FEATURE:0cxx_auto_type + Feature record: CXX_FEATURE:0cxx_binary_literals + Feature record: CXX_FEATURE:0cxx_constexpr + Feature record: CXX_FEATURE:0cxx_contextual_conversions + Feature record: CXX_FEATURE:0cxx_decltype + Feature record: CXX_FEATURE:0cxx_decltype_auto + Feature record: CXX_FEATURE:0cxx_decltype_incomplete_return_types + Feature record: CXX_FEATURE:0cxx_default_function_template_args + Feature record: CXX_FEATURE:0cxx_defaulted_functions + Feature record: CXX_FEATURE:0cxx_defaulted_move_initializers + Feature record: CXX_FEATURE:0cxx_delegating_constructors + Feature record: CXX_FEATURE:0cxx_deleted_functions + Feature record: CXX_FEATURE:0cxx_digit_separators + Feature record: CXX_FEATURE:0cxx_enum_forward_declarations + Feature record: CXX_FEATURE:0cxx_explicit_conversions + Feature record: CXX_FEATURE:0cxx_extended_friend_declarations + Feature record: CXX_FEATURE:0cxx_extern_templates + Feature record: CXX_FEATURE:0cxx_final + Feature record: CXX_FEATURE:0cxx_func_identifier + Feature record: CXX_FEATURE:0cxx_generalized_initializers + Feature record: CXX_FEATURE:0cxx_generic_lambdas + Feature record: CXX_FEATURE:0cxx_inheriting_constructors + Feature record: CXX_FEATURE:0cxx_inline_namespaces + Feature record: CXX_FEATURE:0cxx_lambdas + Feature record: CXX_FEATURE:0cxx_lambda_init_captures + Feature record: CXX_FEATURE:0cxx_local_type_template_args + Feature record: CXX_FEATURE:0cxx_long_long_type + Feature record: CXX_FEATURE:0cxx_noexcept + Feature record: CXX_FEATURE:0cxx_nonstatic_member_init + Feature record: CXX_FEATURE:0cxx_nullptr + Feature record: CXX_FEATURE:0cxx_override + Feature record: CXX_FEATURE:0cxx_range_for + Feature record: CXX_FEATURE:0cxx_raw_string_literals + Feature record: CXX_FEATURE:0cxx_reference_qualified_functions + Feature record: CXX_FEATURE:0cxx_relaxed_constexpr + Feature record: CXX_FEATURE:0cxx_return_type_deduction + Feature record: CXX_FEATURE:0cxx_right_angle_brackets + Feature record: CXX_FEATURE:0cxx_rvalue_references + Feature record: CXX_FEATURE:0cxx_sizeof_member + Feature record: CXX_FEATURE:0cxx_static_assert + Feature record: CXX_FEATURE:0cxx_strong_enums + Feature record: CXX_FEATURE:1cxx_template_template_parameters + Feature record: CXX_FEATURE:0cxx_thread_local + Feature record: CXX_FEATURE:0cxx_trailing_return_types + Feature record: CXX_FEATURE:0cxx_unicode_literals + Feature record: CXX_FEATURE:0cxx_uniform_initialization + Feature record: CXX_FEATURE:0cxx_unrestricted_unions + Feature record: CXX_FEATURE:0cxx_user_literals + Feature record: CXX_FEATURE:0cxx_variable_templates + Feature record: CXX_FEATURE:0cxx_variadic_macros + Feature record: CXX_FEATURE:0cxx_variadic_templates diff --git a/samples/Basic/linux/build/CMakeFiles/cmake.check_cache b/samples/Basic/linux/build/CMakeFiles/cmake.check_cache new file mode 100644 index 0000000..3dccd73 --- /dev/null +++ b/samples/Basic/linux/build/CMakeFiles/cmake.check_cache @@ -0,0 +1 @@ +# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git a/samples/Basic/linux/build/CMakeFiles/feature_tests.bin b/samples/Basic/linux/build/CMakeFiles/feature_tests.bin new file mode 100755 index 0000000000000000000000000000000000000000..a709c3cc388fb8daabdf9e25ab3cea624ec3e574 GIT binary patch literal 12248 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 bT90-HlykexOZ^Lz@9OqAK4wNmgYy3dDA6K= literal 0 HcmV?d00001 diff --git a/samples/Basic/linux/build/CMakeFiles/feature_tests.c b/samples/Basic/linux/build/CMakeFiles/feature_tests.c new file mode 100644 index 0000000..83e86dd --- /dev/null +++ b/samples/Basic/linux/build/CMakeFiles/feature_tests.c @@ -0,0 +1,34 @@ + + const char features[] = {"\n" +"C_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 +"1" +#else +"0" +#endif +"c_function_prototypes\n" +"C_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +"1" +#else +"0" +#endif +"c_restrict\n" +"C_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201000L +"1" +#else +"0" +#endif +"c_static_assert\n" +"C_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +"1" +#else +"0" +#endif +"c_variadic_macros\n" + +}; + +int main(int argc, char** argv) { (void)argv; return features[argc]; } diff --git a/samples/Basic/linux/build/CMakeFiles/feature_tests.cxx b/samples/Basic/linux/build/CMakeFiles/feature_tests.cxx new file mode 100644 index 0000000..b93418c --- /dev/null +++ b/samples/Basic/linux/build/CMakeFiles/feature_tests.cxx @@ -0,0 +1,405 @@ + + const char features[] = {"\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L +"1" +#else +"0" +#endif +"cxx_aggregate_default_initializers\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_alias_templates\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_alignas\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_alignof\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_attributes\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_attribute_deprecated\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_auto_type\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_binary_literals\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_constexpr\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_contextual_conversions\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_decltype\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_decltype_auto\n" +"CXX_FEATURE:" +#if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_decltype_incomplete_return_types\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_default_function_template_args\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_defaulted_functions\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_defaulted_move_initializers\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_delegating_constructors\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_deleted_functions\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_digit_separators\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_enum_forward_declarations\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_explicit_conversions\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_extended_friend_declarations\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_extern_templates\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_final\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_func_identifier\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_generalized_initializers\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_generic_lambdas\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_inheriting_constructors\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_inline_namespaces\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_lambdas\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_lambda_init_captures\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_local_type_template_args\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_long_long_type\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_noexcept\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_nonstatic_member_init\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_nullptr\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_override\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_range_for\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_raw_string_literals\n" +"CXX_FEATURE:" +#if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_reference_qualified_functions\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L +"1" +#else +"0" +#endif +"cxx_relaxed_constexpr\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_return_type_deduction\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_right_angle_brackets\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_rvalue_references\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_sizeof_member\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_static_assert\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_strong_enums\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && __cplusplus +"1" +#else +"0" +#endif +"cxx_template_template_parameters\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_thread_local\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_trailing_return_types\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_unicode_literals\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_uniform_initialization\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_unrestricted_unions\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_user_literals\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L +"1" +#else +"0" +#endif +"cxx_variable_templates\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_variadic_macros\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_variadic_templates\n" + +}; + +int main(int argc, char** argv) { (void)argv; return features[argc]; } diff --git a/src/CinderImGui.cpp b/src/CinderImGui.cpp index 5a3cf2e..0ff7da1 100644 --- a/src/CinderImGui.cpp +++ b/src/CinderImGui.cpp @@ -1251,7 +1251,7 @@ bool FilePicker( const char* label, fs::path* path, bool open, const fs::path &i const ImRect total_bb(frame_bb.Min, frame_bb.Max + ImVec2(label_size.x > 0.0f ? style.ItemInnerSpacing.x + label_size.x : 0.0f, 0.0f)); ItemSize(total_bb, style.FramePadding.y); - if (!ItemAdd(total_bb, &id)) + if (!ItemAdd(total_bb, id)) { return false; } @@ -1316,7 +1316,7 @@ bool IconButton( const char* icon, const ImVec2& size_arg, bool frame ) const ImRect bb(pos, pos + size); ItemSize(bb, style.FramePadding.y); - if (!ItemAdd(bb, &id)) + if (!ItemAdd(bb, id)) return false; if (window->DC.ItemFlags & ImGuiItemFlags_ButtonRepeat) flags |= ImGuiButtonFlags_Repeat; From 8903ee491faa62a22f3bb3ac8ac0d0b16c35b4f2 Mon Sep 17 00:00:00 2001 From: origamidance Date: Mon, 23 Oct 2017 19:16:58 +0200 Subject: [PATCH 09/14] fix id --- samples/Basic/linux/build/CMakeCache.txt | 331 ---------- .../CMakeFiles/3.9.4/CMakeCCompiler.cmake | 71 --- .../CMakeFiles/3.9.4/CMakeCXXCompiler.cmake | 73 --- .../3.9.4/CMakeDetermineCompilerABI_C.bin | Bin 8192 -> 0 bytes .../3.9.4/CMakeDetermineCompilerABI_CXX.bin | Bin 8208 -> 0 bytes .../build/CMakeFiles/3.9.4/CMakeSystem.cmake | 15 - .../3.9.4/CompilerIdC/CMakeCCompilerId.c | 567 ------------------ .../build/CMakeFiles/3.9.4/CompilerIdC/a.out | Bin 8352 -> 0 bytes .../CompilerIdCXX/CMakeCXXCompilerId.cpp | 539 ----------------- .../CMakeFiles/3.9.4/CompilerIdCXX/a.out | Bin 8360 -> 0 bytes .../linux/build/CMakeFiles/CMakeOutput.log | 529 ---------------- .../linux/build/CMakeFiles/cmake.check_cache | 1 - .../linux/build/CMakeFiles/feature_tests.bin | Bin 12248 -> 0 bytes .../linux/build/CMakeFiles/feature_tests.c | 34 -- .../linux/build/CMakeFiles/feature_tests.cxx | 405 ------------- 15 files changed, 2565 deletions(-) delete mode 100644 samples/Basic/linux/build/CMakeCache.txt delete mode 100644 samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeCCompiler.cmake delete mode 100644 samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeCXXCompiler.cmake delete mode 100755 samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeDetermineCompilerABI_C.bin delete mode 100755 samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeDetermineCompilerABI_CXX.bin delete mode 100644 samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeSystem.cmake delete mode 100644 samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdC/CMakeCCompilerId.c delete mode 100755 samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdC/a.out delete mode 100644 samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdCXX/CMakeCXXCompilerId.cpp delete mode 100755 samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdCXX/a.out delete mode 100644 samples/Basic/linux/build/CMakeFiles/CMakeOutput.log delete mode 100644 samples/Basic/linux/build/CMakeFiles/cmake.check_cache delete mode 100755 samples/Basic/linux/build/CMakeFiles/feature_tests.bin delete mode 100644 samples/Basic/linux/build/CMakeFiles/feature_tests.c delete mode 100644 samples/Basic/linux/build/CMakeFiles/feature_tests.cxx diff --git a/samples/Basic/linux/build/CMakeCache.txt b/samples/Basic/linux/build/CMakeCache.txt deleted file mode 100644 index ecd85fb..0000000 --- a/samples/Basic/linux/build/CMakeCache.txt +++ /dev/null @@ -1,331 +0,0 @@ -# This is the CMakeCache file. -# For build in directory: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build -# It was generated by CMake: /usr/bin/cmake -# You can edit this file to change values found and used by cmake. -# If you do not want to change any of the values, simply exit the editor. -# If you do want to change a value, simply edit, save, and exit the editor. -# The syntax for the file is as follows: -# KEY:TYPE=VALUE -# KEY is the name of a variable in the cache. -# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. -# VALUE is the current value for the KEY. - -######################## -# EXTERNAL cache entries -######################## - -//No help, variable specified on the command line. -BUILD_SHARED_LIBS:UNINITIALIZED=OFF - -//Value Computed by CMake -Basic_BINARY_DIR:STATIC=/home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build - -//Value Computed by CMake -Basic_SOURCE_DIR:STATIC=/home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux - -//Path to a program. -CMAKE_AR:FILEPATH=/usr/bin/ar - -//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or -// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel. -CMAKE_BUILD_TYPE:STRING=Release - -//CXX compiler -CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++ - -//A wrapper around 'ar' adding the appropriate '--plugin' option -// for the GCC compiler -CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar - -//A wrapper around 'ranlib' adding the appropriate '--plugin' option -// for the GCC compiler -CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib - -//Flags used by the compiler during all build types. -CMAKE_CXX_FLAGS:STRING= - -//Flags used by the compiler during debug builds. -CMAKE_CXX_FLAGS_DEBUG:STRING=-g - -//Flags used by the compiler during release builds for minimum -// size. -CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG - -//Flags used by the compiler during release builds. -CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG - -//Flags used by the compiler during release builds with debug info. -CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG - -//C compiler -CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc - -//A wrapper around 'ar' adding the appropriate '--plugin' option -// for the GCC compiler -CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar - -//A wrapper around 'ranlib' adding the appropriate '--plugin' option -// for the GCC compiler -CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib - -//Flags used by the compiler during all build types. -CMAKE_C_FLAGS:STRING= - -//Flags used by the compiler during debug builds. -CMAKE_C_FLAGS_DEBUG:STRING=-g - -//Flags used by the compiler during release builds for minimum -// size. -CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG - -//Flags used by the compiler during release builds. -CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG - -//Flags used by the compiler during release builds with debug info. -CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG - -//Flags used by the linker. -CMAKE_EXE_LINKER_FLAGS:STRING= - -//Flags used by the linker during debug builds. -CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING= - -//Flags used by the linker during release minsize builds. -CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING= - -//Flags used by the linker during release builds. -CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING= - -//Flags used by the linker during Release with Debug Info builds. -CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING= - -//Enable/Disable output of compile commands during generation. -CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF - -//Install path prefix, prepended onto install directories. -CMAKE_INSTALL_PREFIX:PATH=/usr/local - -//Path to a program. -CMAKE_LINKER:FILEPATH=/usr/bin/ld - -//Program used to build from build.ninja files. -CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/ninja - -//Flags used by the linker during the creation of modules. -CMAKE_MODULE_LINKER_FLAGS:STRING= - -//Flags used by the linker during debug builds. -CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING= - -//Flags used by the linker during release minsize builds. -CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING= - -//Flags used by the linker during release builds. -CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING= - -//Flags used by the linker during Release with Debug Info builds. -CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING= - -//Path to a program. -CMAKE_NM:FILEPATH=/usr/bin/nm - -//Path to a program. -CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy - -//Path to a program. -CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump - -//Value Computed by CMake -CMAKE_PROJECT_NAME:STATIC=Basic - -//Path to a program. -CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib - -//Flags used by the linker during the creation of dll's. -CMAKE_SHARED_LINKER_FLAGS:STRING= - -//Flags used by the linker during debug builds. -CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING= - -//Flags used by the linker during release minsize builds. -CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING= - -//Flags used by the linker during release builds. -CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING= - -//Flags used by the linker during Release with Debug Info builds. -CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING= - -//If set, runtime paths are not added when installing shared libraries, -// but are added when building. -CMAKE_SKIP_INSTALL_RPATH:BOOL=NO - -//If set, runtime paths are not added when using shared libraries. -CMAKE_SKIP_RPATH:BOOL=NO - -//Flags used by the linker during the creation of static libraries. -CMAKE_STATIC_LINKER_FLAGS:STRING= - -//Flags used by the linker during debug builds. -CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING= - -//Flags used by the linker during release minsize builds. -CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= - -//Flags used by the linker during release builds. -CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING= - -//Flags used by the linker during Release with Debug Info builds. -CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= - -//Path to a program. -CMAKE_STRIP:FILEPATH=/usr/bin/strip - -//If this value is on, makefiles will be generated without the -// .SILENT directive, and all commands will be echoed to the console -// during the make. This is useful for debugging only. With Visual -// Studio IDE projects all commands are done without /nologo. -CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE - -//The directory containing a CMake configuration file for cinder. -cinder_DIR:PATH=cinder_DIR-NOTFOUND - - -######################## -# INTERNAL cache entries -######################## - -//ADVANCED property for variable: CMAKE_AR -CMAKE_AR-ADVANCED:INTERNAL=1 -//This is the directory where this CMakeCache.txt was created -CMAKE_CACHEFILE_DIR:INTERNAL=/home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build -//Major version of cmake used to create the current loaded cache -CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 -//Minor version of cmake used to create the current loaded cache -CMAKE_CACHE_MINOR_VERSION:INTERNAL=9 -//Patch version of cmake used to create the current loaded cache -CMAKE_CACHE_PATCH_VERSION:INTERNAL=4 -//Path to CMake executable. -CMAKE_COMMAND:INTERNAL=/usr/bin/cmake -//Path to cpack program executable. -CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack -//Path to ctest program executable. -CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest -//ADVANCED property for variable: CMAKE_CXX_COMPILER -CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR -CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB -CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS -CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG -CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL -CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE -CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO -CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_COMPILER -CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_COMPILER_AR -CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB -CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS -CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG -CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL -CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE -CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO -CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//Executable file format -CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS -CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG -CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL -CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE -CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS -CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1 -//Name of external makefile project generator. -CMAKE_EXTRA_GENERATOR:INTERNAL= -//Name of generator. -CMAKE_GENERATOR:INTERNAL=Ninja -//Name of generator platform. -CMAKE_GENERATOR_PLATFORM:INTERNAL= -//Name of generator toolset. -CMAKE_GENERATOR_TOOLSET:INTERNAL= -//Source directory with the top level CMakeLists.txt file for this -// project -CMAKE_HOME_DIRECTORY:INTERNAL=/home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux -//Install .so files without execute permission. -CMAKE_INSTALL_SO_NO_EXE:INTERNAL=0 -//ADVANCED property for variable: CMAKE_LINKER -CMAKE_LINKER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MAKE_PROGRAM -CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS -CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG -CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL -CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE -CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_NM -CMAKE_NM-ADVANCED:INTERNAL=1 -//number of local generators -CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 -//ADVANCED property for variable: CMAKE_OBJCOPY -CMAKE_OBJCOPY-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_OBJDUMP -CMAKE_OBJDUMP-ADVANCED:INTERNAL=1 -//Platform information initialized -CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RANLIB -CMAKE_RANLIB-ADVANCED:INTERNAL=1 -//Path to CMake installation. -CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.9 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS -CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG -CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL -CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE -CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH -CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SKIP_RPATH -CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS -CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG -CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL -CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE -CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STRIP -CMAKE_STRIP-ADVANCED:INTERNAL=1 -//uname command -CMAKE_UNAME:INTERNAL=/usr/bin/uname -//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE -CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 - diff --git a/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeCCompiler.cmake b/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeCCompiler.cmake deleted file mode 100644 index c09258c..0000000 --- a/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeCCompiler.cmake +++ /dev/null @@ -1,71 +0,0 @@ -set(CMAKE_C_COMPILER "/usr/bin/cc") -set(CMAKE_C_COMPILER_ARG1 "") -set(CMAKE_C_COMPILER_ID "GNU") -set(CMAKE_C_COMPILER_VERSION "7.2.0") -set(CMAKE_C_COMPILER_WRAPPER "") -set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") -set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert") -set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes") -set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros") -set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert") - -set(CMAKE_C_PLATFORM_ID "Linux") -set(CMAKE_C_SIMULATE_ID "") -set(CMAKE_C_SIMULATE_VERSION "") - - -set(CMAKE_AR "/usr/bin/ar") -set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar") -set(CMAKE_RANLIB "/usr/bin/ranlib") -set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib") -set(CMAKE_LINKER "/usr/bin/ld") -set(CMAKE_COMPILER_IS_GNUCC 1) -set(CMAKE_C_COMPILER_LOADED 1) -set(CMAKE_C_COMPILER_WORKS TRUE) -set(CMAKE_C_ABI_COMPILED TRUE) -set(CMAKE_COMPILER_IS_MINGW ) -set(CMAKE_COMPILER_IS_CYGWIN ) -if(CMAKE_COMPILER_IS_CYGWIN) - set(CYGWIN 1) - set(UNIX 1) -endif() - -set(CMAKE_C_COMPILER_ENV_VAR "CC") - -if(CMAKE_COMPILER_IS_MINGW) - set(MINGW 1) -endif() -set(CMAKE_C_COMPILER_ID_RUN 1) -set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) -set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) -set(CMAKE_C_LINKER_PREFERENCE 10) - -# Save compiler ABI information. -set(CMAKE_C_SIZEOF_DATA_PTR "8") -set(CMAKE_C_COMPILER_ABI "ELF") -set(CMAKE_C_LIBRARY_ARCHITECTURE "") - -if(CMAKE_C_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_C_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") -endif() - -if(CMAKE_C_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") -if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s") -set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0;/usr/lib;/lib") -set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeCXXCompiler.cmake b/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeCXXCompiler.cmake deleted file mode 100644 index 45d30b6..0000000 --- a/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeCXXCompiler.cmake +++ /dev/null @@ -1,73 +0,0 @@ -set(CMAKE_CXX_COMPILER "/usr/bin/c++") -set(CMAKE_CXX_COMPILER_ARG1 "") -set(CMAKE_CXX_COMPILER_ID "GNU") -set(CMAKE_CXX_COMPILER_VERSION "7.2.0") -set(CMAKE_CXX_COMPILER_WRAPPER "") -set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") -set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17") -set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters") -set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates") -set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates") -set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17") - -set(CMAKE_CXX_PLATFORM_ID "Linux") -set(CMAKE_CXX_SIMULATE_ID "") -set(CMAKE_CXX_SIMULATE_VERSION "") - - -set(CMAKE_AR "/usr/bin/ar") -set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar") -set(CMAKE_RANLIB "/usr/bin/ranlib") -set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib") -set(CMAKE_LINKER "/usr/bin/ld") -set(CMAKE_COMPILER_IS_GNUCXX 1) -set(CMAKE_CXX_COMPILER_LOADED 1) -set(CMAKE_CXX_COMPILER_WORKS TRUE) -set(CMAKE_CXX_ABI_COMPILED TRUE) -set(CMAKE_COMPILER_IS_MINGW ) -set(CMAKE_COMPILER_IS_CYGWIN ) -if(CMAKE_COMPILER_IS_CYGWIN) - set(CYGWIN 1) - set(UNIX 1) -endif() - -set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") - -if(CMAKE_COMPILER_IS_MINGW) - set(MINGW 1) -endif() -set(CMAKE_CXX_COMPILER_ID_RUN 1) -set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) -set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP) -set(CMAKE_CXX_LINKER_PREFERENCE 30) -set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) - -# Save compiler ABI information. -set(CMAKE_CXX_SIZEOF_DATA_PTR "8") -set(CMAKE_CXX_COMPILER_ABI "ELF") -set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") - -if(CMAKE_CXX_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_CXX_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") -endif() - -if(CMAKE_CXX_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "") -if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc") -set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0;/usr/lib;/lib") -set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeDetermineCompilerABI_C.bin b/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeDetermineCompilerABI_C.bin deleted file mode 100755 index 24e5026c961e3270467e65d9587b64e6843e708e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8192 zcmeHMeQZ+yfR@42>NWs7y_4jaau1QBzs1T-mC?df2)_hS5Buu( zN*1VJR+v^&KYT=44_VY}CcS3TV|t7_#+2U=-wmH$vS+7l(1wL6%3|4eNsnWFmJHeH zJyJ>trmXih(4#3MiBBdzYTi!%78{otdOxPbign3Ef6IOAlJTZwB9$9$8f|T9YPm0v zO$Ro}_eT3D+tIT_dcyhUp~XHghX*lif8oj1``>;3x#)^tt$gw0E%WgkKRxmew&DAr zP6a#@zJrzGvn!TXmX+0fzf1(N4W}CYgrk4H{76;g?cZH|=CSHc&nS6ZN9e=eM+u5Z++Je<|@5qS=OL0QZ9(yZlptFB3K5Wm;FfZhj1S zomeWG3Dx^x7L=$##EU@d#BE~Awm5P9qWxp! zm)FKlz_FiGgx8au7AapXenL3GLcls4z-8AWRCQo9rVb`jv1DSu1}rwISv{7~)!|qo z#mGQ5hf)clcJ_9waV?|mNn~{`)7u?Mrc+vPtUsxVL~1atX2DK+P>ql18KG+Nm>vTg zNDQmM>={m{$b|~_wn9CgNU6E37B{;CZ#q~=A=sbIvO4;A^xo0c8IGtM0viJN%NI39 z#|=B`lmCqUfGW9F3D_QP@iq-q@th-mhUTe}&NCj?V}#Gu`lTe}Jb!*#Z;Ug4isW&c zao=+}Yr=Vsv2DhL<6h@7Yr=VrV%t>{Za)8&vCEap;qv+_zfit6rMnBKl(9clPO~|& z{z_;5^ll}8K^c4J>bBml@$z3l_muIPdnMWYcaSX9zg6iM|EOKlhAo?yfvp|NczG4t z+&HJ?FX=16#c_~97d3r_nZZEqnnTh@-*oMopjhBR|1=7Y-~T3%9m?8y&{s~(dzAcD z<;3h3#r3*!dR}h;g9$QNjRqI9cX0D}KuqM;DPxclwZETo zMQ;@0NgI5lZ+as1_0Yqe`7@y%AsEZg|E*jORTI*OLiwAW`RiS4FUdJMann<%f3^b0 z?25i-{khsT2f>`^%75IIzuuPrAXHd>UKyKqDI5Qqdk^PqS6}Fxp}x@WkUBlFFrFX6 zR7!g^tFGc#1g#0t+0(vtlWCvsYHsZ-;<5h3E{JasaIN-y8PA+Dc;;>v3JOp+jLIlb z1?Ul=lR#&HV!`hd7T5mm!Zqr1t*)-9oN!h65XYG0XJCWRM3i%uH)K)%yYq#DJQG7+ z-xKag%@TJIEE?bc2hkq1YiKC!^*!wldmDb}iF*CxWnpjQQ{{@c`H3Zpw{@(d+Z)Vy zTSMOFkhd}H^@AM9hrN~ZJ9r4xPk|ltK0}kY%B>N&H3GLr;C~qbjuSX8;BPzAYBI|4 zK@IU7r}4FsG^V|0Boq#rN37TyuQa5s7T_H^Oagt^WZCOPd#yH{%|N1o>WX#ofhwu@(0S-QnZq zfv+~tzg51xIPX?`iQx5N#VZ8QgB7n7JbzZas<8#1+zsRGA2}+htET{b5P2cj{ggQJN5t9Qocr9rJl)hJ)9H`Ruc?aMwhy2Ce5-(jp8v%E^|91lJm%gq4 zj!L{Vub~0%lrPu|xKlnQ0(hM$-H!((ZuN=W^JK@KPx(3E{!(!<3Aj_9I}v~dJq(M~VFUe_5XQr><%(Gij+dBnJj`ZM)?Dre z20wWmHran?@SBC9ZjU?H17_Ce_>1Z1{)2uSv|opqmi=>_#`IgH&v83__KH?}poTFz z>(5bz=}CHFJO;7K`W%lx3>fAQS$~RNkm&_zGZ*{#?S@8-*;$|CL#AIKW$r)AF?|%; z@eaT|$B|6^q;Ky(!D2sDu*Gx)G`l?WOkV??T6kEW@4<}}7_uDN#=<<)w*bSr zXMK+A`S;3WG=IE4SdYi?4CtZ=>vQ~n3Ofa**&xOLtk3j3w3zja_XKjl`;-l^9@9%U zeU7slNT2&@*Ju8HsGu$GKmUH#NQ&%-9>=Ek64hXUH{(!gju8j diff --git a/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeDetermineCompilerABI_CXX.bin b/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeDetermineCompilerABI_CXX.bin deleted file mode 100755 index 72c0f4be60efe1275dc8c5b3db8bfdfc9b6aaf2c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8208 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 diff --git a/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeSystem.cmake b/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeSystem.cmake deleted file mode 100644 index c992ddc..0000000 --- a/samples/Basic/linux/build/CMakeFiles/3.9.4/CMakeSystem.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMAKE_HOST_SYSTEM "Linux-4.13.7-1-ARCH") -set(CMAKE_HOST_SYSTEM_NAME "Linux") -set(CMAKE_HOST_SYSTEM_VERSION "4.13.7-1-ARCH") -set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") - - - -set(CMAKE_SYSTEM "Linux-4.13.7-1-ARCH") -set(CMAKE_SYSTEM_NAME "Linux") -set(CMAKE_SYSTEM_VERSION "4.13.7-1-ARCH") -set(CMAKE_SYSTEM_PROCESSOR "x86_64") - -set(CMAKE_CROSSCOMPILING "FALSE") - -set(CMAKE_SYSTEM_LOADED 1) diff --git a/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdC/CMakeCCompilerId.c b/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdC/CMakeCCompilerId.c deleted file mode 100644 index df91daf..0000000 --- a/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdC/CMakeCCompilerId.c +++ /dev/null @@ -1,567 +0,0 @@ -#ifdef __cplusplus -# error "A C++ compiler has been selected for C." -#endif - -#if defined(__18CXX) -# define ID_VOID_MAIN -#endif -#if defined(__CLASSIC_C__) -/* cv-qualifiers did not exist in K&R C */ -# define const -# define volatile -#endif - - -/* Version number components: V=Version, R=Revision, P=Patch - Version date components: YYYY=Year, MM=Month, DD=Day */ - -#if defined(__INTEL_COMPILER) || defined(__ICC) -# define COMPILER_ID "Intel" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif - /* __INTEL_COMPILER = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) -# if defined(__INTEL_COMPILER_UPDATE) -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) -# else -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) -# endif -# if defined(__INTEL_COMPILER_BUILD_DATE) - /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ -# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) -# endif -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif - -#elif defined(__PATHCC__) -# define COMPILER_ID "PathScale" -# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) -# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) -# if defined(__PATHCC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) -# endif - -#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) -# define COMPILER_ID "Embarcadero" -# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) -# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) -# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) - -#elif defined(__BORLANDC__) -# define COMPILER_ID "Borland" - /* __BORLANDC__ = 0xVRR */ -# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) -# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) - -#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 -# define COMPILER_ID "Watcom" - /* __WATCOMC__ = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__WATCOMC__) -# define COMPILER_ID "OpenWatcom" - /* __WATCOMC__ = VVRP + 1100 */ -# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__SUNPRO_C) -# define COMPILER_ID "SunPro" -# if __SUNPRO_C >= 0x5100 - /* __SUNPRO_C = 0xVRRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) -# else - /* __SUNPRO_CC = 0xVRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) -# endif - -#elif defined(__HP_cc) -# define COMPILER_ID "HP" - /* __HP_cc = VVRRPP */ -# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000) -# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100) - -#elif defined(__DECC) -# define COMPILER_ID "Compaq" - /* __DECC_VER = VVRRTPPPP */ -# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000) -# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100) -# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000) - -#elif defined(__IBMC__) && defined(__COMPILER_VER__) -# define COMPILER_ID "zOS" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800 -# define COMPILER_ID "XL" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800 -# define COMPILER_ID "VisualAge" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__PGI) -# define COMPILER_ID "PGI" -# define COMPILER_VERSION_MAJOR DEC(__PGIC__) -# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) -# if defined(__PGIC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) -# endif - -#elif defined(_CRAYC) -# define COMPILER_ID "Cray" -# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) -# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) - -#elif defined(__TI_COMPILER_VERSION__) -# define COMPILER_ID "TI" - /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ -# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) -# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) -# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) - -#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version) -# define COMPILER_ID "Fujitsu" - -#elif defined(__TINYC__) -# define COMPILER_ID "TinyCC" - -#elif defined(__BCC__) -# define COMPILER_ID "Bruce" - -#elif defined(__SCO_VERSION__) -# define COMPILER_ID "SCO" - -#elif defined(__clang__) && defined(__apple_build_version__) -# define COMPILER_ID "AppleClang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) - -#elif defined(__clang__) -# define COMPILER_ID "Clang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif - -#elif defined(__GNUC__) -# define COMPILER_ID "GNU" -# define COMPILER_VERSION_MAJOR DEC(__GNUC__) -# if defined(__GNUC_MINOR__) -# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif defined(_MSC_VER) -# define COMPILER_ID "MSVC" - /* _MSC_VER = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) -# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) -# if defined(_MSC_FULL_VER) -# if _MSC_VER >= 1400 - /* _MSC_FULL_VER = VVRRPPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) -# else - /* _MSC_FULL_VER = VVRRPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) -# endif -# endif -# if defined(_MSC_BUILD) -# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) -# endif - -#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__) -# define COMPILER_ID "ADSP" -#if defined(__VISUALDSPVERSION__) - /* __VISUALDSPVERSION__ = 0xVVRRPP00 */ -# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24) -# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF) -#endif - -#elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC) -# define COMPILER_ID "IAR" - -#elif defined(__ARMCC_VERSION) -# define COMPILER_ID "ARMCC" -#if __ARMCC_VERSION >= 1000000 - /* __ARMCC_VERSION = VRRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#else - /* __ARMCC_VERSION = VRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#endif - - -#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC) -# define COMPILER_ID "SDCC" -# if defined(__SDCC_VERSION_MAJOR) -# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR) -# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR) -# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH) -# else - /* SDCC = VRP */ -# define COMPILER_VERSION_MAJOR DEC(SDCC/100) -# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10) -# define COMPILER_VERSION_PATCH DEC(SDCC % 10) -# endif - -#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION) -# define COMPILER_ID "MIPSpro" -# if defined(_SGI_COMPILER_VERSION) - /* _SGI_COMPILER_VERSION = VRP */ -# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100) -# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10) -# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10) -# else - /* _COMPILER_VERSION = VRP */ -# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100) -# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10) -# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10) -# endif - - -/* These compilers are either not known or too old to define an - identification macro. Try to identify the platform and guess that - it is the native compiler. */ -#elif defined(__sgi) -# define COMPILER_ID "MIPSpro" - -#elif defined(__hpux) || defined(__hpua) -# define COMPILER_ID "HP" - -#else /* unknown compiler */ -# define COMPILER_ID "" -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; -#ifdef SIMULATE_ID -char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; -#endif - -#ifdef __QNXNTO__ -char const* qnxnto = "INFO" ":" "qnxnto[]"; -#endif - -#if defined(__CRAYXE) || defined(__CRAYXC) -char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; -#endif - -#define STRINGIFY_HELPER(X) #X -#define STRINGIFY(X) STRINGIFY_HELPER(X) - -/* Identify known platforms by name. */ -#if defined(__linux) || defined(__linux__) || defined(linux) -# define PLATFORM_ID "Linux" - -#elif defined(__CYGWIN__) -# define PLATFORM_ID "Cygwin" - -#elif defined(__MINGW32__) -# define PLATFORM_ID "MinGW" - -#elif defined(__APPLE__) -# define PLATFORM_ID "Darwin" - -#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) -# define PLATFORM_ID "Windows" - -#elif defined(__FreeBSD__) || defined(__FreeBSD) -# define PLATFORM_ID "FreeBSD" - -#elif defined(__NetBSD__) || defined(__NetBSD) -# define PLATFORM_ID "NetBSD" - -#elif defined(__OpenBSD__) || defined(__OPENBSD) -# define PLATFORM_ID "OpenBSD" - -#elif defined(__sun) || defined(sun) -# define PLATFORM_ID "SunOS" - -#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) -# define PLATFORM_ID "AIX" - -#elif defined(__sgi) || defined(__sgi__) || defined(_SGI) -# define PLATFORM_ID "IRIX" - -#elif defined(__hpux) || defined(__hpux__) -# define PLATFORM_ID "HP-UX" - -#elif defined(__HAIKU__) -# define PLATFORM_ID "Haiku" - -#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) -# define PLATFORM_ID "BeOS" - -#elif defined(__QNX__) || defined(__QNXNTO__) -# define PLATFORM_ID "QNX" - -#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) -# define PLATFORM_ID "Tru64" - -#elif defined(__riscos) || defined(__riscos__) -# define PLATFORM_ID "RISCos" - -#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) -# define PLATFORM_ID "SINIX" - -#elif defined(__UNIX_SV__) -# define PLATFORM_ID "UNIX_SV" - -#elif defined(__bsdos__) -# define PLATFORM_ID "BSDOS" - -#elif defined(_MPRAS) || defined(MPRAS) -# define PLATFORM_ID "MP-RAS" - -#elif defined(__osf) || defined(__osf__) -# define PLATFORM_ID "OSF1" - -#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) -# define PLATFORM_ID "SCO_SV" - -#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) -# define PLATFORM_ID "ULTRIX" - -#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) -# define PLATFORM_ID "Xenix" - -#elif defined(__WATCOMC__) -# if defined(__LINUX__) -# define PLATFORM_ID "Linux" - -# elif defined(__DOS__) -# define PLATFORM_ID "DOS" - -# elif defined(__OS2__) -# define PLATFORM_ID "OS2" - -# elif defined(__WINDOWS__) -# define PLATFORM_ID "Windows3x" - -# else /* unknown platform */ -# define PLATFORM_ID -# endif - -#else /* unknown platform */ -# define PLATFORM_ID - -#endif - -/* For windows compilers MSVC and Intel we can determine - the architecture of the compiler being used. This is because - the compilers do not have flags that can change the architecture, - but rather depend on which compiler is being used -*/ -#if defined(_WIN32) && defined(_MSC_VER) -# if defined(_M_IA64) -# define ARCHITECTURE_ID "IA64" - -# elif defined(_M_X64) || defined(_M_AMD64) -# define ARCHITECTURE_ID "x64" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# elif defined(_M_ARM) -# if _M_ARM == 4 -# define ARCHITECTURE_ID "ARMV4I" -# elif _M_ARM == 5 -# define ARCHITECTURE_ID "ARMV5I" -# else -# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) -# endif - -# elif defined(_M_MIPS) -# define ARCHITECTURE_ID "MIPS" - -# elif defined(_M_SH) -# define ARCHITECTURE_ID "SHx" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__WATCOMC__) -# if defined(_M_I86) -# define ARCHITECTURE_ID "I86" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#else -# define ARCHITECTURE_ID -#endif - -/* Convert integer to decimal digit literals. */ -#define DEC(n) \ - ('0' + (((n) / 10000000)%10)), \ - ('0' + (((n) / 1000000)%10)), \ - ('0' + (((n) / 100000)%10)), \ - ('0' + (((n) / 10000)%10)), \ - ('0' + (((n) / 1000)%10)), \ - ('0' + (((n) / 100)%10)), \ - ('0' + (((n) / 10)%10)), \ - ('0' + ((n) % 10)) - -/* Convert integer to hex digit literals. */ -#define HEX(n) \ - ('0' + ((n)>>28 & 0xF)), \ - ('0' + ((n)>>24 & 0xF)), \ - ('0' + ((n)>>20 & 0xF)), \ - ('0' + ((n)>>16 & 0xF)), \ - ('0' + ((n)>>12 & 0xF)), \ - ('0' + ((n)>>8 & 0xF)), \ - ('0' + ((n)>>4 & 0xF)), \ - ('0' + ((n) & 0xF)) - -/* Construct a string literal encoding the version number components. */ -#ifdef COMPILER_VERSION_MAJOR -char const info_version[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', - COMPILER_VERSION_MAJOR, -# ifdef COMPILER_VERSION_MINOR - '.', COMPILER_VERSION_MINOR, -# ifdef COMPILER_VERSION_PATCH - '.', COMPILER_VERSION_PATCH, -# ifdef COMPILER_VERSION_TWEAK - '.', COMPILER_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct a string literal encoding the version number components. */ -#ifdef SIMULATE_VERSION_MAJOR -char const info_simulate_version[] = { - 'I', 'N', 'F', 'O', ':', - 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', - SIMULATE_VERSION_MAJOR, -# ifdef SIMULATE_VERSION_MINOR - '.', SIMULATE_VERSION_MINOR, -# ifdef SIMULATE_VERSION_PATCH - '.', SIMULATE_VERSION_PATCH, -# ifdef SIMULATE_VERSION_TWEAK - '.', SIMULATE_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; -char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; - - - - -#if !defined(__STDC__) -# if defined(_MSC_VER) && !defined(__clang__) -# define C_DIALECT "90" -# else -# define C_DIALECT -# endif -#elif __STDC_VERSION__ >= 201000L -# define C_DIALECT "11" -#elif __STDC_VERSION__ >= 199901L -# define C_DIALECT "99" -#else -# define C_DIALECT "90" -#endif -const char* info_language_dialect_default = - "INFO" ":" "dialect_default[" C_DIALECT "]"; - -/*--------------------------------------------------------------------------*/ - -#ifdef ID_VOID_MAIN -void main() {} -#else -# if defined(__CLASSIC_C__) -int main(argc, argv) int argc; char *argv[]; -# else -int main(int argc, char* argv[]) -# endif -{ - int require = 0; - require += info_compiler[argc]; - require += info_platform[argc]; - require += info_arch[argc]; -#ifdef COMPILER_VERSION_MAJOR - require += info_version[argc]; -#endif -#ifdef SIMULATE_ID - require += info_simulate[argc]; -#endif -#ifdef SIMULATE_VERSION_MAJOR - require += info_simulate_version[argc]; -#endif -#if defined(__CRAYXE) || defined(__CRAYXC) - require += info_cray[argc]; -#endif - require += info_language_dialect_default[argc]; - (void)argv; - return require; -} -#endif diff --git a/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdC/a.out b/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdC/a.out deleted file mode 100755 index 99989f3b3f12ac472b49292ad6f1fa9f255ee8b3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8352 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 IP^e%3Kh{P>{{R30 diff --git a/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdCXX/CMakeCXXCompilerId.cpp b/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdCXX/CMakeCXXCompilerId.cpp deleted file mode 100644 index e7037e5..0000000 --- a/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdCXX/CMakeCXXCompilerId.cpp +++ /dev/null @@ -1,539 +0,0 @@ -/* This source file must have a .cpp extension so that all C++ compilers - recognize the extension without flags. Borland does not know .cxx for - example. */ -#ifndef __cplusplus -# error "A C compiler has been selected for C++." -#endif - - -/* Version number components: V=Version, R=Revision, P=Patch - Version date components: YYYY=Year, MM=Month, DD=Day */ - -#if defined(__COMO__) -# define COMPILER_ID "Comeau" - /* __COMO_VERSION__ = VRR */ -# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100) -# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100) - -#elif defined(__INTEL_COMPILER) || defined(__ICC) -# define COMPILER_ID "Intel" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif - /* __INTEL_COMPILER = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) -# if defined(__INTEL_COMPILER_UPDATE) -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) -# else -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) -# endif -# if defined(__INTEL_COMPILER_BUILD_DATE) - /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ -# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) -# endif -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif - -#elif defined(__PATHCC__) -# define COMPILER_ID "PathScale" -# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) -# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) -# if defined(__PATHCC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) -# endif - -#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) -# define COMPILER_ID "Embarcadero" -# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) -# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) -# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) - -#elif defined(__BORLANDC__) -# define COMPILER_ID "Borland" - /* __BORLANDC__ = 0xVRR */ -# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) -# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) - -#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 -# define COMPILER_ID "Watcom" - /* __WATCOMC__ = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__WATCOMC__) -# define COMPILER_ID "OpenWatcom" - /* __WATCOMC__ = VVRP + 1100 */ -# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__SUNPRO_CC) -# define COMPILER_ID "SunPro" -# if __SUNPRO_CC >= 0x5100 - /* __SUNPRO_CC = 0xVRRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) -# else - /* __SUNPRO_CC = 0xVRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) -# endif - -#elif defined(__HP_aCC) -# define COMPILER_ID "HP" - /* __HP_aCC = VVRRPP */ -# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000) -# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100) - -#elif defined(__DECCXX) -# define COMPILER_ID "Compaq" - /* __DECCXX_VER = VVRRTPPPP */ -# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000) -# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100) -# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000) - -#elif defined(__IBMCPP__) && defined(__COMPILER_VER__) -# define COMPILER_ID "zOS" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800 -# define COMPILER_ID "XL" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800 -# define COMPILER_ID "VisualAge" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__PGI) -# define COMPILER_ID "PGI" -# define COMPILER_VERSION_MAJOR DEC(__PGIC__) -# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) -# if defined(__PGIC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) -# endif - -#elif defined(_CRAYC) -# define COMPILER_ID "Cray" -# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) -# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) - -#elif defined(__TI_COMPILER_VERSION__) -# define COMPILER_ID "TI" - /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ -# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) -# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) -# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) - -#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version) -# define COMPILER_ID "Fujitsu" - -#elif defined(__SCO_VERSION__) -# define COMPILER_ID "SCO" - -#elif defined(__clang__) && defined(__apple_build_version__) -# define COMPILER_ID "AppleClang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) - -#elif defined(__clang__) -# define COMPILER_ID "Clang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif - -#elif defined(__GNUC__) || defined(__GNUG__) -# define COMPILER_ID "GNU" -# if defined(__GNUC__) -# define COMPILER_VERSION_MAJOR DEC(__GNUC__) -# else -# define COMPILER_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif defined(_MSC_VER) -# define COMPILER_ID "MSVC" - /* _MSC_VER = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) -# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) -# if defined(_MSC_FULL_VER) -# if _MSC_VER >= 1400 - /* _MSC_FULL_VER = VVRRPPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) -# else - /* _MSC_FULL_VER = VVRRPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) -# endif -# endif -# if defined(_MSC_BUILD) -# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) -# endif - -#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__) -# define COMPILER_ID "ADSP" -#if defined(__VISUALDSPVERSION__) - /* __VISUALDSPVERSION__ = 0xVVRRPP00 */ -# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24) -# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF) -#endif - -#elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC) -# define COMPILER_ID "IAR" - -#elif defined(__ARMCC_VERSION) -# define COMPILER_ID "ARMCC" -#if __ARMCC_VERSION >= 1000000 - /* __ARMCC_VERSION = VRRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#else - /* __ARMCC_VERSION = VRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#endif - - -#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION) -# define COMPILER_ID "MIPSpro" -# if defined(_SGI_COMPILER_VERSION) - /* _SGI_COMPILER_VERSION = VRP */ -# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100) -# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10) -# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10) -# else - /* _COMPILER_VERSION = VRP */ -# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100) -# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10) -# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10) -# endif - - -/* These compilers are either not known or too old to define an - identification macro. Try to identify the platform and guess that - it is the native compiler. */ -#elif defined(__sgi) -# define COMPILER_ID "MIPSpro" - -#elif defined(__hpux) || defined(__hpua) -# define COMPILER_ID "HP" - -#else /* unknown compiler */ -# define COMPILER_ID "" -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; -#ifdef SIMULATE_ID -char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; -#endif - -#ifdef __QNXNTO__ -char const* qnxnto = "INFO" ":" "qnxnto[]"; -#endif - -#if defined(__CRAYXE) || defined(__CRAYXC) -char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; -#endif - -#define STRINGIFY_HELPER(X) #X -#define STRINGIFY(X) STRINGIFY_HELPER(X) - -/* Identify known platforms by name. */ -#if defined(__linux) || defined(__linux__) || defined(linux) -# define PLATFORM_ID "Linux" - -#elif defined(__CYGWIN__) -# define PLATFORM_ID "Cygwin" - -#elif defined(__MINGW32__) -# define PLATFORM_ID "MinGW" - -#elif defined(__APPLE__) -# define PLATFORM_ID "Darwin" - -#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) -# define PLATFORM_ID "Windows" - -#elif defined(__FreeBSD__) || defined(__FreeBSD) -# define PLATFORM_ID "FreeBSD" - -#elif defined(__NetBSD__) || defined(__NetBSD) -# define PLATFORM_ID "NetBSD" - -#elif defined(__OpenBSD__) || defined(__OPENBSD) -# define PLATFORM_ID "OpenBSD" - -#elif defined(__sun) || defined(sun) -# define PLATFORM_ID "SunOS" - -#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) -# define PLATFORM_ID "AIX" - -#elif defined(__sgi) || defined(__sgi__) || defined(_SGI) -# define PLATFORM_ID "IRIX" - -#elif defined(__hpux) || defined(__hpux__) -# define PLATFORM_ID "HP-UX" - -#elif defined(__HAIKU__) -# define PLATFORM_ID "Haiku" - -#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) -# define PLATFORM_ID "BeOS" - -#elif defined(__QNX__) || defined(__QNXNTO__) -# define PLATFORM_ID "QNX" - -#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) -# define PLATFORM_ID "Tru64" - -#elif defined(__riscos) || defined(__riscos__) -# define PLATFORM_ID "RISCos" - -#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) -# define PLATFORM_ID "SINIX" - -#elif defined(__UNIX_SV__) -# define PLATFORM_ID "UNIX_SV" - -#elif defined(__bsdos__) -# define PLATFORM_ID "BSDOS" - -#elif defined(_MPRAS) || defined(MPRAS) -# define PLATFORM_ID "MP-RAS" - -#elif defined(__osf) || defined(__osf__) -# define PLATFORM_ID "OSF1" - -#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) -# define PLATFORM_ID "SCO_SV" - -#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) -# define PLATFORM_ID "ULTRIX" - -#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) -# define PLATFORM_ID "Xenix" - -#elif defined(__WATCOMC__) -# if defined(__LINUX__) -# define PLATFORM_ID "Linux" - -# elif defined(__DOS__) -# define PLATFORM_ID "DOS" - -# elif defined(__OS2__) -# define PLATFORM_ID "OS2" - -# elif defined(__WINDOWS__) -# define PLATFORM_ID "Windows3x" - -# else /* unknown platform */ -# define PLATFORM_ID -# endif - -#else /* unknown platform */ -# define PLATFORM_ID - -#endif - -/* For windows compilers MSVC and Intel we can determine - the architecture of the compiler being used. This is because - the compilers do not have flags that can change the architecture, - but rather depend on which compiler is being used -*/ -#if defined(_WIN32) && defined(_MSC_VER) -# if defined(_M_IA64) -# define ARCHITECTURE_ID "IA64" - -# elif defined(_M_X64) || defined(_M_AMD64) -# define ARCHITECTURE_ID "x64" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# elif defined(_M_ARM) -# if _M_ARM == 4 -# define ARCHITECTURE_ID "ARMV4I" -# elif _M_ARM == 5 -# define ARCHITECTURE_ID "ARMV5I" -# else -# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) -# endif - -# elif defined(_M_MIPS) -# define ARCHITECTURE_ID "MIPS" - -# elif defined(_M_SH) -# define ARCHITECTURE_ID "SHx" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__WATCOMC__) -# if defined(_M_I86) -# define ARCHITECTURE_ID "I86" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#else -# define ARCHITECTURE_ID -#endif - -/* Convert integer to decimal digit literals. */ -#define DEC(n) \ - ('0' + (((n) / 10000000)%10)), \ - ('0' + (((n) / 1000000)%10)), \ - ('0' + (((n) / 100000)%10)), \ - ('0' + (((n) / 10000)%10)), \ - ('0' + (((n) / 1000)%10)), \ - ('0' + (((n) / 100)%10)), \ - ('0' + (((n) / 10)%10)), \ - ('0' + ((n) % 10)) - -/* Convert integer to hex digit literals. */ -#define HEX(n) \ - ('0' + ((n)>>28 & 0xF)), \ - ('0' + ((n)>>24 & 0xF)), \ - ('0' + ((n)>>20 & 0xF)), \ - ('0' + ((n)>>16 & 0xF)), \ - ('0' + ((n)>>12 & 0xF)), \ - ('0' + ((n)>>8 & 0xF)), \ - ('0' + ((n)>>4 & 0xF)), \ - ('0' + ((n) & 0xF)) - -/* Construct a string literal encoding the version number components. */ -#ifdef COMPILER_VERSION_MAJOR -char const info_version[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', - COMPILER_VERSION_MAJOR, -# ifdef COMPILER_VERSION_MINOR - '.', COMPILER_VERSION_MINOR, -# ifdef COMPILER_VERSION_PATCH - '.', COMPILER_VERSION_PATCH, -# ifdef COMPILER_VERSION_TWEAK - '.', COMPILER_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct a string literal encoding the version number components. */ -#ifdef SIMULATE_VERSION_MAJOR -char const info_simulate_version[] = { - 'I', 'N', 'F', 'O', ':', - 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', - SIMULATE_VERSION_MAJOR, -# ifdef SIMULATE_VERSION_MINOR - '.', SIMULATE_VERSION_MINOR, -# ifdef SIMULATE_VERSION_PATCH - '.', SIMULATE_VERSION_PATCH, -# ifdef SIMULATE_VERSION_TWEAK - '.', SIMULATE_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; -char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; - - - - -const char* info_language_dialect_default = "INFO" ":" "dialect_default[" -#if __cplusplus > 201402L - "17" -#elif __cplusplus >= 201402L - "14" -#elif __cplusplus >= 201103L - "11" -#else - "98" -#endif -"]"; - -/*--------------------------------------------------------------------------*/ - -int main(int argc, char* argv[]) -{ - int require = 0; - require += info_compiler[argc]; - require += info_platform[argc]; -#ifdef COMPILER_VERSION_MAJOR - require += info_version[argc]; -#endif -#ifdef SIMULATE_ID - require += info_simulate[argc]; -#endif -#ifdef SIMULATE_VERSION_MAJOR - require += info_simulate_version[argc]; -#endif -#if defined(__CRAYXE) || defined(__CRAYXC) - require += info_cray[argc]; -#endif - require += info_language_dialect_default[argc]; - (void)argv; - return require; -} diff --git a/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdCXX/a.out b/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdCXX/a.out deleted file mode 100755 index e5ac5b8ee97a5ddc038c0c28cd6043ff70f1869d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8360 zcmeHMTWlOx89wWcW9QXcC9Ovbxwd)2*| z-Pz(qMFcsmWYV;GpeU6P6se*wJRubI0imR>LSH~`A1Kg(!X+qy1WXFSg~ZGMpZUM_ z%y`{`#1qPqcK&m|^WV;8&iv=!uk`fouLuMbN>F`9aciQ|K{}-4`U6rS(xKYaDtc~F zo7GBcGiwL^xOC{}BApl2pw-eJB)WorZ50mSr(1;&6dp1a*M!4M!mFG%s8V4KupIk3 zSEHLm!@2@`RQxzD6mr~TITh0EM8i%+=&U#fit+K-_%|r}{IuKAqClCK%b{y_oa+yX zq9s&wQNK{gJx+4kPr*Nq)Ct33vA5j3)QSI~GF-JQl^of#dsiyHGnLE~CU;J@?b*3! zcO;*UwCZuQe&#(ea70_;^~Th)&l~B-82A6?W?{|uAAJ3XzkWYB`pU*#FSNhDb%AB^ zqw0TLzC@hc%5XOl7A}K7PuTi0IQt(igFm(mu4q2;c09IY2hYJCWtwB@Y{tynR?ap} zW%dsCoAE?0F_z5RiQHg+S1OxH3|b?pgwt2HhjgYLbyORR#mqdnTG&<$W@3|;IhxE^ zspLsgWpbBTOWDg35D9)4w&Qem{3;uRuLchyp|O%r|(qzI?|&GyNs#!mq>s-BY$d)GwttEt62XmJ+B`q7K@iF zuTwQJJVUBz93Kc}_Td|&#K5)bFW)q#3s-;KbC;br&eXq5GG}^j8t09`Z0!YA`=g72 zp1XuUR}N>!*euP=KS;Rt!itI#`)GOgyTdcl&qbf?oqjKRBuaDtsXwpOQ@fMt6Vd5= zz0-I4wqMh0cbYF(9&yto?XD2oDwLVia@-ycVPd)M`PLaL^74g4bf>i{1N@; zGl^V2navC}J7sS~Dy^tA4=b&4B4yd5*<5<4k56v_tz2w;Nb2#Vl}f~HIw5)1ip;)wuzD4xwM0eB5ULnfoJD0%8!zwUY7ud44s`^}@ zs*Z8~rqACk7I!d%l=A!zFY~`k_MTzhXsGV_imsZK6<;Kc$OX{eNF5X1RS{4rRnzh6HI6eyTU5e>F2xdCehejnD?6^+G|! zP1Uf%L14E{1}fJ{1^Is!9e;>hv(o26`!_HC(C1ILF;8>SzA615N*i|I$N!pQJw8^i z++&yHL%fdo9Pv2fZ^YXNy1E_>H&J}DJ-nAL8_mnD)3xeonT-{s=mzhfmw%nYd*{XJMqFlJ1l0zGdzF`;qBpsRdGUJH zP!`{$jI#JA+~T^<@6ihN*P_3JhglBaKzIec^{?Wf5J7(L8Nceon*_&sDD0F4mML z!-V_y&*PeZ@x72^TOB8Sn7Snka-fd( z?IGW|exmso_cQ$bg|@p!&B^@eI}~-^AUq5v7p>IeU89c6{={)yuW=WnRCf~|UJ9$O zWpI_uB<)B{#d3DuE{u*+bun#b+G#V!iL*Rqy5d=LER`LxQfA!F=JKXhm{fdGP9^L_ zJhErs-iOOGakeaJTDhEc!c1iB+zBG7pCy?&R=wU*7Ns!0As+O|fB+Bt`gqn6B2UUou7 zGFdwjiFWqxw5>5|jb#dvkwTJk-O0F$aBJMkkE=-hM27S^)Xq6Ql7aCwOzO)eQWguS z2(Pw^*ojGc>d{4VS-p;t#JFs}@i(~(fhRv~T!McfX(%ZidBlOB z4}wvsU%s30I~04vKH^1C_>b@a-yx_SpbFn5ApeF`K+g#yAEP{W$m8DdBw>67fIQ+) z(ATKXUHtQRj5_&l0eQr!pty&@fAE1mP4awKK^yTbXjqK<{TEoBqzca|NGNdkyLjpZxZ}A@Ugi zDf#|^eh-F(hJEdCQJd{U9`SpL`uP3!S-)EzaX#qVK6%VP;0sg<(NC_SrTYN>_w)0k z4f-a@*1F_zZA?3eBr>=YIJe~SG9IjrM*#KYr=cz| zhm@X>2fac)ZuwGtDhBYLLILDJuleK=cQuIoa`vI`PgG%D@E`Gy~jApaj}p459ez*CWSwk7k)qBJ7k%j+vK!{eac}MyzE~&`CDS( KLof>U%l{kFi(UBu diff --git a/samples/Basic/linux/build/CMakeFiles/CMakeOutput.log b/samples/Basic/linux/build/CMakeFiles/CMakeOutput.log deleted file mode 100644 index 64f467f..0000000 --- a/samples/Basic/linux/build/CMakeFiles/CMakeOutput.log +++ /dev/null @@ -1,529 +0,0 @@ -The system is: Linux - 4.13.7-1-ARCH - x86_64 -Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. -Compiler: /usr/bin/cc -Build flags: -Id flags: - -The output was: -0 - - -Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" - -The C compiler identification is GNU, found in "/home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdC/a.out" - -Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. -Compiler: /usr/bin/c++ -Build flags: -Id flags: - -The output was: -0 - - -Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" - -The CXX compiler identification is GNU, found in "/home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/3.9.4/CompilerIdCXX/a.out" - -Determining if the C compiler works passed with the following output: -Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp - -Run Build Command:"/usr/bin/ninja" "cmTC_471e0" -[1/2] Building C object CMakeFiles/cmTC_471e0.dir/testCCompiler.c.o -[2/2] Linking C executable cmTC_471e0 - - -Detecting C compiler ABI info compiled with the following output: -Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp - -Run Build Command:"/usr/bin/ninja" "cmTC_3d6ea" -[1/2] Building C object CMakeFiles/cmTC_3d6ea.dir/CMakeCCompilerABI.c.o -[2/2] Linking C executable cmTC_3d6ea -Using built-in specs. -COLLECT_GCC=/usr/bin/cc -COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper -Target: x86_64-pc-linux-gnu -Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp -Thread model: posix -gcc version 7.2.0 (GCC) -COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/ -LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../:/lib/:/usr/lib/ -COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_3d6ea' '-mtune=generic' '-march=x86-64' - /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/origamidance/ccQsnkLI.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_3d6ea /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../.. CMakeFiles/cmTC_3d6ea.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crtn.o -COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_3d6ea' '-mtune=generic' '-march=x86-64' - - -Parsed C implicit link information from above output: - link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] - ignore line: [Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp] - ignore line: [] - ignore line: [Run Build Command:"/usr/bin/ninja" "cmTC_3d6ea"] - ignore line: [[1/2] Building C object CMakeFiles/cmTC_3d6ea.dir/CMakeCCompilerABI.c.o] - ignore line: [[2/2] Linking C executable cmTC_3d6ea] - ignore line: [Using built-in specs.] - ignore line: [COLLECT_GCC=/usr/bin/cc] - ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper] - ignore line: [Target: x86_64-pc-linux-gnu] - ignore line: [Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp] - ignore line: [Thread model: posix] - ignore line: [gcc version 7.2.0 (GCC) ] - ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/] - ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../:/lib/:/usr/lib/] - ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_3d6ea' '-mtune=generic' '-march=x86-64'] - link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/origamidance/ccQsnkLI.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_3d6ea /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../.. CMakeFiles/cmTC_3d6ea.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crtn.o] - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/collect2] ==> ignore - arg [-plugin] ==> ignore - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/liblto_plugin.so] ==> ignore - arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper] ==> ignore - arg [-plugin-opt=-fresolution=/tmp/origamidance/ccQsnkLI.res] ==> ignore - arg [-plugin-opt=-pass-through=-lgcc] ==> ignore - arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore - arg [-plugin-opt=-pass-through=-lc] ==> ignore - arg [-plugin-opt=-pass-through=-lgcc] ==> ignore - arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore - arg [--build-id] ==> ignore - arg [--eh-frame-hdr] ==> ignore - arg [--hash-style=gnu] ==> ignore - arg [-m] ==> ignore - arg [elf_x86_64] ==> ignore - arg [-export-dynamic] ==> ignore - arg [-dynamic-linker] ==> ignore - arg [/lib64/ld-linux-x86-64.so.2] ==> ignore - arg [-pie] ==> ignore - arg [-o] ==> ignore - arg [cmTC_3d6ea] ==> ignore - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/Scrt1.o] ==> ignore - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crti.o] ==> ignore - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtbeginS.o] ==> ignore - arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0] - arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib] - arg [-L/lib/../lib] ==> dir [/lib/../lib] - arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] - arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../..] - arg [CMakeFiles/cmTC_3d6ea.dir/CMakeCCompilerABI.c.o] ==> ignore - arg [-lgcc] ==> lib [gcc] - arg [--as-needed] ==> ignore - arg [-lgcc_s] ==> lib [gcc_s] - arg [--no-as-needed] ==> ignore - arg [-lc] ==> lib [c] - arg [-lgcc] ==> lib [gcc] - arg [--as-needed] ==> ignore - arg [-lgcc_s] ==> lib [gcc_s] - arg [--no-as-needed] ==> ignore - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtendS.o] ==> ignore - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crtn.o] ==> ignore - collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0] - collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib] ==> [/usr/lib] - collapse library dir [/lib/../lib] ==> [/lib] - collapse library dir [/usr/lib/../lib] ==> [/usr/lib] - collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../..] ==> [/usr/lib] - implicit libs: [gcc;gcc_s;c;gcc;gcc_s] - implicit dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0;/usr/lib;/lib] - implicit fwks: [] - - - - -Detecting C [-std=c11] compiler features compiled with the following output: -Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp - -Run Build Command:"/usr/bin/ninja" "cmTC_4e94a" -[1/2] Building C object CMakeFiles/cmTC_4e94a.dir/feature_tests.c.o -[2/2] Linking C executable cmTC_4e94a - - - Feature record: C_FEATURE:1c_function_prototypes - Feature record: C_FEATURE:1c_restrict - Feature record: C_FEATURE:1c_static_assert - Feature record: C_FEATURE:1c_variadic_macros - - -Detecting C [-std=c99] compiler features compiled with the following output: -Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp - -Run Build Command:"/usr/bin/ninja" "cmTC_4d970" -[1/2] Building C object CMakeFiles/cmTC_4d970.dir/feature_tests.c.o -[2/2] Linking C executable cmTC_4d970 - - - Feature record: C_FEATURE:1c_function_prototypes - Feature record: C_FEATURE:1c_restrict - Feature record: C_FEATURE:0c_static_assert - Feature record: C_FEATURE:1c_variadic_macros - - -Detecting C [-std=c90] compiler features compiled with the following output: -Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp - -Run Build Command:"/usr/bin/ninja" "cmTC_8c1c2" -[1/2] Building C object CMakeFiles/cmTC_8c1c2.dir/feature_tests.c.o -[2/2] Linking C executable cmTC_8c1c2 - - - Feature record: C_FEATURE:1c_function_prototypes - Feature record: C_FEATURE:0c_restrict - Feature record: C_FEATURE:0c_static_assert - Feature record: C_FEATURE:0c_variadic_macros -Determining if the CXX compiler works passed with the following output: -Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp - -Run Build Command:"/usr/bin/ninja" "cmTC_615ff" -[1/2] Building CXX object CMakeFiles/cmTC_615ff.dir/testCXXCompiler.cxx.o -[2/2] Linking CXX executable cmTC_615ff - - -Detecting CXX compiler ABI info compiled with the following output: -Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp - -Run Build Command:"/usr/bin/ninja" "cmTC_8da4f" -[1/2] Building CXX object CMakeFiles/cmTC_8da4f.dir/CMakeCXXCompilerABI.cpp.o -[2/2] Linking CXX executable cmTC_8da4f -Using built-in specs. -COLLECT_GCC=/usr/bin/c++ -COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper -Target: x86_64-pc-linux-gnu -Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp -Thread model: posix -gcc version 7.2.0 (GCC) -COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/ -LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../:/lib/:/usr/lib/ -COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_8da4f' '-shared-libgcc' '-mtune=generic' '-march=x86-64' - /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/origamidance/ccbmRBSX.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_8da4f /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../.. CMakeFiles/cmTC_8da4f.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crtn.o -COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_8da4f' '-shared-libgcc' '-mtune=generic' '-march=x86-64' - - -Parsed CXX implicit link information from above output: - link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] - ignore line: [Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp] - ignore line: [] - ignore line: [Run Build Command:"/usr/bin/ninja" "cmTC_8da4f"] - ignore line: [[1/2] Building CXX object CMakeFiles/cmTC_8da4f.dir/CMakeCXXCompilerABI.cpp.o] - ignore line: [[2/2] Linking CXX executable cmTC_8da4f] - ignore line: [Using built-in specs.] - ignore line: [COLLECT_GCC=/usr/bin/c++] - ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper] - ignore line: [Target: x86_64-pc-linux-gnu] - ignore line: [Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp] - ignore line: [Thread model: posix] - ignore line: [gcc version 7.2.0 (GCC) ] - ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/] - ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../:/lib/:/usr/lib/] - ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_8da4f' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] - link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/origamidance/ccbmRBSX.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_8da4f /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../.. CMakeFiles/cmTC_8da4f.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crtn.o] - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/collect2] ==> ignore - arg [-plugin] ==> ignore - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/liblto_plugin.so] ==> ignore - arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper] ==> ignore - arg [-plugin-opt=-fresolution=/tmp/origamidance/ccbmRBSX.res] ==> ignore - arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore - arg [-plugin-opt=-pass-through=-lgcc] ==> ignore - arg [-plugin-opt=-pass-through=-lc] ==> ignore - arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore - arg [-plugin-opt=-pass-through=-lgcc] ==> ignore - arg [--build-id] ==> ignore - arg [--eh-frame-hdr] ==> ignore - arg [--hash-style=gnu] ==> ignore - arg [-m] ==> ignore - arg [elf_x86_64] ==> ignore - arg [-export-dynamic] ==> ignore - arg [-dynamic-linker] ==> ignore - arg [/lib64/ld-linux-x86-64.so.2] ==> ignore - arg [-pie] ==> ignore - arg [-o] ==> ignore - arg [cmTC_8da4f] ==> ignore - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/Scrt1.o] ==> ignore - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crti.o] ==> ignore - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtbeginS.o] ==> ignore - arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0] - arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib] - arg [-L/lib/../lib] ==> dir [/lib/../lib] - arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] - arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../..] - arg [CMakeFiles/cmTC_8da4f.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore - arg [-lstdc++] ==> lib [stdc++] - arg [-lm] ==> lib [m] - arg [-lgcc_s] ==> lib [gcc_s] - arg [-lgcc] ==> lib [gcc] - arg [-lc] ==> lib [c] - arg [-lgcc_s] ==> lib [gcc_s] - arg [-lgcc] ==> lib [gcc] - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtendS.o] ==> ignore - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crtn.o] ==> ignore - collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0] - collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib] ==> [/usr/lib] - collapse library dir [/lib/../lib] ==> [/lib] - collapse library dir [/usr/lib/../lib] ==> [/usr/lib] - collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../..] ==> [/usr/lib] - implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc] - implicit dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0;/usr/lib;/lib] - implicit fwks: [] - - - - -Detecting CXX [-std=c++1z] compiler features compiled with the following output: -Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp - -Run Build Command:"/usr/bin/ninja" "cmTC_89d8b" -[1/2] Building CXX object CMakeFiles/cmTC_89d8b.dir/feature_tests.cxx.o -[2/2] Linking CXX executable cmTC_89d8b - - - Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers - Feature record: CXX_FEATURE:1cxx_alias_templates - Feature record: CXX_FEATURE:1cxx_alignas - Feature record: CXX_FEATURE:1cxx_alignof - Feature record: CXX_FEATURE:1cxx_attributes - Feature record: CXX_FEATURE:1cxx_attribute_deprecated - Feature record: CXX_FEATURE:1cxx_auto_type - Feature record: CXX_FEATURE:1cxx_binary_literals - Feature record: CXX_FEATURE:1cxx_constexpr - Feature record: CXX_FEATURE:1cxx_contextual_conversions - Feature record: CXX_FEATURE:1cxx_decltype - Feature record: CXX_FEATURE:1cxx_decltype_auto - Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types - Feature record: CXX_FEATURE:1cxx_default_function_template_args - Feature record: CXX_FEATURE:1cxx_defaulted_functions - Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers - Feature record: CXX_FEATURE:1cxx_delegating_constructors - Feature record: CXX_FEATURE:1cxx_deleted_functions - Feature record: CXX_FEATURE:1cxx_digit_separators - Feature record: CXX_FEATURE:1cxx_enum_forward_declarations - Feature record: CXX_FEATURE:1cxx_explicit_conversions - Feature record: CXX_FEATURE:1cxx_extended_friend_declarations - Feature record: CXX_FEATURE:1cxx_extern_templates - Feature record: CXX_FEATURE:1cxx_final - Feature record: CXX_FEATURE:1cxx_func_identifier - Feature record: CXX_FEATURE:1cxx_generalized_initializers - Feature record: CXX_FEATURE:1cxx_generic_lambdas - Feature record: CXX_FEATURE:1cxx_inheriting_constructors - Feature record: CXX_FEATURE:1cxx_inline_namespaces - Feature record: CXX_FEATURE:1cxx_lambdas - Feature record: CXX_FEATURE:1cxx_lambda_init_captures - Feature record: CXX_FEATURE:1cxx_local_type_template_args - Feature record: CXX_FEATURE:1cxx_long_long_type - Feature record: CXX_FEATURE:1cxx_noexcept - Feature record: CXX_FEATURE:1cxx_nonstatic_member_init - Feature record: CXX_FEATURE:1cxx_nullptr - Feature record: CXX_FEATURE:1cxx_override - Feature record: CXX_FEATURE:1cxx_range_for - Feature record: CXX_FEATURE:1cxx_raw_string_literals - Feature record: CXX_FEATURE:1cxx_reference_qualified_functions - Feature record: CXX_FEATURE:1cxx_relaxed_constexpr - Feature record: CXX_FEATURE:1cxx_return_type_deduction - Feature record: CXX_FEATURE:1cxx_right_angle_brackets - Feature record: CXX_FEATURE:1cxx_rvalue_references - Feature record: CXX_FEATURE:1cxx_sizeof_member - Feature record: CXX_FEATURE:1cxx_static_assert - Feature record: CXX_FEATURE:1cxx_strong_enums - Feature record: CXX_FEATURE:1cxx_template_template_parameters - Feature record: CXX_FEATURE:1cxx_thread_local - Feature record: CXX_FEATURE:1cxx_trailing_return_types - Feature record: CXX_FEATURE:1cxx_unicode_literals - Feature record: CXX_FEATURE:1cxx_uniform_initialization - Feature record: CXX_FEATURE:1cxx_unrestricted_unions - Feature record: CXX_FEATURE:1cxx_user_literals - Feature record: CXX_FEATURE:1cxx_variable_templates - Feature record: CXX_FEATURE:1cxx_variadic_macros - Feature record: CXX_FEATURE:1cxx_variadic_templates - - -Detecting CXX [-std=c++14] compiler features compiled with the following output: -Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp - -Run Build Command:"/usr/bin/ninja" "cmTC_efadc" -[1/2] Building CXX object CMakeFiles/cmTC_efadc.dir/feature_tests.cxx.o -[2/2] Linking CXX executable cmTC_efadc - - - Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers - Feature record: CXX_FEATURE:1cxx_alias_templates - Feature record: CXX_FEATURE:1cxx_alignas - Feature record: CXX_FEATURE:1cxx_alignof - Feature record: CXX_FEATURE:1cxx_attributes - Feature record: CXX_FEATURE:1cxx_attribute_deprecated - Feature record: CXX_FEATURE:1cxx_auto_type - Feature record: CXX_FEATURE:1cxx_binary_literals - Feature record: CXX_FEATURE:1cxx_constexpr - Feature record: CXX_FEATURE:1cxx_contextual_conversions - Feature record: CXX_FEATURE:1cxx_decltype - Feature record: CXX_FEATURE:1cxx_decltype_auto - Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types - Feature record: CXX_FEATURE:1cxx_default_function_template_args - Feature record: CXX_FEATURE:1cxx_defaulted_functions - Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers - Feature record: CXX_FEATURE:1cxx_delegating_constructors - Feature record: CXX_FEATURE:1cxx_deleted_functions - Feature record: CXX_FEATURE:1cxx_digit_separators - Feature record: CXX_FEATURE:1cxx_enum_forward_declarations - Feature record: CXX_FEATURE:1cxx_explicit_conversions - Feature record: CXX_FEATURE:1cxx_extended_friend_declarations - Feature record: CXX_FEATURE:1cxx_extern_templates - Feature record: CXX_FEATURE:1cxx_final - Feature record: CXX_FEATURE:1cxx_func_identifier - Feature record: CXX_FEATURE:1cxx_generalized_initializers - Feature record: CXX_FEATURE:1cxx_generic_lambdas - Feature record: CXX_FEATURE:1cxx_inheriting_constructors - Feature record: CXX_FEATURE:1cxx_inline_namespaces - Feature record: CXX_FEATURE:1cxx_lambdas - Feature record: CXX_FEATURE:1cxx_lambda_init_captures - Feature record: CXX_FEATURE:1cxx_local_type_template_args - Feature record: CXX_FEATURE:1cxx_long_long_type - Feature record: CXX_FEATURE:1cxx_noexcept - Feature record: CXX_FEATURE:1cxx_nonstatic_member_init - Feature record: CXX_FEATURE:1cxx_nullptr - Feature record: CXX_FEATURE:1cxx_override - Feature record: CXX_FEATURE:1cxx_range_for - Feature record: CXX_FEATURE:1cxx_raw_string_literals - Feature record: CXX_FEATURE:1cxx_reference_qualified_functions - Feature record: CXX_FEATURE:1cxx_relaxed_constexpr - Feature record: CXX_FEATURE:1cxx_return_type_deduction - Feature record: CXX_FEATURE:1cxx_right_angle_brackets - Feature record: CXX_FEATURE:1cxx_rvalue_references - Feature record: CXX_FEATURE:1cxx_sizeof_member - Feature record: CXX_FEATURE:1cxx_static_assert - Feature record: CXX_FEATURE:1cxx_strong_enums - Feature record: CXX_FEATURE:1cxx_template_template_parameters - Feature record: CXX_FEATURE:1cxx_thread_local - Feature record: CXX_FEATURE:1cxx_trailing_return_types - Feature record: CXX_FEATURE:1cxx_unicode_literals - Feature record: CXX_FEATURE:1cxx_uniform_initialization - Feature record: CXX_FEATURE:1cxx_unrestricted_unions - Feature record: CXX_FEATURE:1cxx_user_literals - Feature record: CXX_FEATURE:1cxx_variable_templates - Feature record: CXX_FEATURE:1cxx_variadic_macros - Feature record: CXX_FEATURE:1cxx_variadic_templates - - -Detecting CXX [-std=c++11] compiler features compiled with the following output: -Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp - -Run Build Command:"/usr/bin/ninja" "cmTC_5f28f" -[1/2] Building CXX object CMakeFiles/cmTC_5f28f.dir/feature_tests.cxx.o -[2/2] Linking CXX executable cmTC_5f28f - - - Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers - Feature record: CXX_FEATURE:1cxx_alias_templates - Feature record: CXX_FEATURE:1cxx_alignas - Feature record: CXX_FEATURE:1cxx_alignof - Feature record: CXX_FEATURE:1cxx_attributes - Feature record: CXX_FEATURE:0cxx_attribute_deprecated - Feature record: CXX_FEATURE:1cxx_auto_type - Feature record: CXX_FEATURE:0cxx_binary_literals - Feature record: CXX_FEATURE:1cxx_constexpr - Feature record: CXX_FEATURE:0cxx_contextual_conversions - Feature record: CXX_FEATURE:1cxx_decltype - Feature record: CXX_FEATURE:0cxx_decltype_auto - Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types - Feature record: CXX_FEATURE:1cxx_default_function_template_args - Feature record: CXX_FEATURE:1cxx_defaulted_functions - Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers - Feature record: CXX_FEATURE:1cxx_delegating_constructors - Feature record: CXX_FEATURE:1cxx_deleted_functions - Feature record: CXX_FEATURE:0cxx_digit_separators - Feature record: CXX_FEATURE:1cxx_enum_forward_declarations - Feature record: CXX_FEATURE:1cxx_explicit_conversions - Feature record: CXX_FEATURE:1cxx_extended_friend_declarations - Feature record: CXX_FEATURE:1cxx_extern_templates - Feature record: CXX_FEATURE:1cxx_final - Feature record: CXX_FEATURE:1cxx_func_identifier - Feature record: CXX_FEATURE:1cxx_generalized_initializers - Feature record: CXX_FEATURE:0cxx_generic_lambdas - Feature record: CXX_FEATURE:1cxx_inheriting_constructors - Feature record: CXX_FEATURE:1cxx_inline_namespaces - Feature record: CXX_FEATURE:1cxx_lambdas - Feature record: CXX_FEATURE:0cxx_lambda_init_captures - Feature record: CXX_FEATURE:1cxx_local_type_template_args - Feature record: CXX_FEATURE:1cxx_long_long_type - Feature record: CXX_FEATURE:1cxx_noexcept - Feature record: CXX_FEATURE:1cxx_nonstatic_member_init - Feature record: CXX_FEATURE:1cxx_nullptr - Feature record: CXX_FEATURE:1cxx_override - Feature record: CXX_FEATURE:1cxx_range_for - Feature record: CXX_FEATURE:1cxx_raw_string_literals - Feature record: CXX_FEATURE:1cxx_reference_qualified_functions - Feature record: CXX_FEATURE:0cxx_relaxed_constexpr - Feature record: CXX_FEATURE:0cxx_return_type_deduction - Feature record: CXX_FEATURE:1cxx_right_angle_brackets - Feature record: CXX_FEATURE:1cxx_rvalue_references - Feature record: CXX_FEATURE:1cxx_sizeof_member - Feature record: CXX_FEATURE:1cxx_static_assert - Feature record: CXX_FEATURE:1cxx_strong_enums - Feature record: CXX_FEATURE:1cxx_template_template_parameters - Feature record: CXX_FEATURE:1cxx_thread_local - Feature record: CXX_FEATURE:1cxx_trailing_return_types - Feature record: CXX_FEATURE:1cxx_unicode_literals - Feature record: CXX_FEATURE:1cxx_uniform_initialization - Feature record: CXX_FEATURE:1cxx_unrestricted_unions - Feature record: CXX_FEATURE:1cxx_user_literals - Feature record: CXX_FEATURE:0cxx_variable_templates - Feature record: CXX_FEATURE:1cxx_variadic_macros - Feature record: CXX_FEATURE:1cxx_variadic_templates - - -Detecting CXX [-std=c++98] compiler features compiled with the following output: -Change Dir: /home/origamidance/Playground/StringFab/Cinder-ImGui/samples/Basic/linux/build/CMakeFiles/CMakeTmp - -Run Build Command:"/usr/bin/ninja" "cmTC_11e1c" -[1/2] Building CXX object CMakeFiles/cmTC_11e1c.dir/feature_tests.cxx.o -[2/2] Linking CXX executable cmTC_11e1c - - - Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers - Feature record: CXX_FEATURE:0cxx_alias_templates - Feature record: CXX_FEATURE:0cxx_alignas - Feature record: CXX_FEATURE:0cxx_alignof - Feature record: CXX_FEATURE:0cxx_attributes - Feature record: CXX_FEATURE:0cxx_attribute_deprecated - Feature record: CXX_FEATURE:0cxx_auto_type - Feature record: CXX_FEATURE:0cxx_binary_literals - Feature record: CXX_FEATURE:0cxx_constexpr - Feature record: CXX_FEATURE:0cxx_contextual_conversions - Feature record: CXX_FEATURE:0cxx_decltype - Feature record: CXX_FEATURE:0cxx_decltype_auto - Feature record: CXX_FEATURE:0cxx_decltype_incomplete_return_types - Feature record: CXX_FEATURE:0cxx_default_function_template_args - Feature record: CXX_FEATURE:0cxx_defaulted_functions - Feature record: CXX_FEATURE:0cxx_defaulted_move_initializers - Feature record: CXX_FEATURE:0cxx_delegating_constructors - Feature record: CXX_FEATURE:0cxx_deleted_functions - Feature record: CXX_FEATURE:0cxx_digit_separators - Feature record: CXX_FEATURE:0cxx_enum_forward_declarations - Feature record: CXX_FEATURE:0cxx_explicit_conversions - Feature record: CXX_FEATURE:0cxx_extended_friend_declarations - Feature record: CXX_FEATURE:0cxx_extern_templates - Feature record: CXX_FEATURE:0cxx_final - Feature record: CXX_FEATURE:0cxx_func_identifier - Feature record: CXX_FEATURE:0cxx_generalized_initializers - Feature record: CXX_FEATURE:0cxx_generic_lambdas - Feature record: CXX_FEATURE:0cxx_inheriting_constructors - Feature record: CXX_FEATURE:0cxx_inline_namespaces - Feature record: CXX_FEATURE:0cxx_lambdas - Feature record: CXX_FEATURE:0cxx_lambda_init_captures - Feature record: CXX_FEATURE:0cxx_local_type_template_args - Feature record: CXX_FEATURE:0cxx_long_long_type - Feature record: CXX_FEATURE:0cxx_noexcept - Feature record: CXX_FEATURE:0cxx_nonstatic_member_init - Feature record: CXX_FEATURE:0cxx_nullptr - Feature record: CXX_FEATURE:0cxx_override - Feature record: CXX_FEATURE:0cxx_range_for - Feature record: CXX_FEATURE:0cxx_raw_string_literals - Feature record: CXX_FEATURE:0cxx_reference_qualified_functions - Feature record: CXX_FEATURE:0cxx_relaxed_constexpr - Feature record: CXX_FEATURE:0cxx_return_type_deduction - Feature record: CXX_FEATURE:0cxx_right_angle_brackets - Feature record: CXX_FEATURE:0cxx_rvalue_references - Feature record: CXX_FEATURE:0cxx_sizeof_member - Feature record: CXX_FEATURE:0cxx_static_assert - Feature record: CXX_FEATURE:0cxx_strong_enums - Feature record: CXX_FEATURE:1cxx_template_template_parameters - Feature record: CXX_FEATURE:0cxx_thread_local - Feature record: CXX_FEATURE:0cxx_trailing_return_types - Feature record: CXX_FEATURE:0cxx_unicode_literals - Feature record: CXX_FEATURE:0cxx_uniform_initialization - Feature record: CXX_FEATURE:0cxx_unrestricted_unions - Feature record: CXX_FEATURE:0cxx_user_literals - Feature record: CXX_FEATURE:0cxx_variable_templates - Feature record: CXX_FEATURE:0cxx_variadic_macros - Feature record: CXX_FEATURE:0cxx_variadic_templates diff --git a/samples/Basic/linux/build/CMakeFiles/cmake.check_cache b/samples/Basic/linux/build/CMakeFiles/cmake.check_cache deleted file mode 100644 index 3dccd73..0000000 --- a/samples/Basic/linux/build/CMakeFiles/cmake.check_cache +++ /dev/null @@ -1 +0,0 @@ -# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git a/samples/Basic/linux/build/CMakeFiles/feature_tests.bin b/samples/Basic/linux/build/CMakeFiles/feature_tests.bin deleted file mode 100755 index a709c3cc388fb8daabdf9e25ab3cea624ec3e574..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12248 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 bT90-HlykexOZ^Lz@9OqAK4wNmgYy3dDA6K= diff --git a/samples/Basic/linux/build/CMakeFiles/feature_tests.c b/samples/Basic/linux/build/CMakeFiles/feature_tests.c deleted file mode 100644 index 83e86dd..0000000 --- a/samples/Basic/linux/build/CMakeFiles/feature_tests.c +++ /dev/null @@ -1,34 +0,0 @@ - - const char features[] = {"\n" -"C_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 -"1" -#else -"0" -#endif -"c_function_prototypes\n" -"C_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L -"1" -#else -"0" -#endif -"c_restrict\n" -"C_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201000L -"1" -#else -"0" -#endif -"c_static_assert\n" -"C_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L -"1" -#else -"0" -#endif -"c_variadic_macros\n" - -}; - -int main(int argc, char** argv) { (void)argv; return features[argc]; } diff --git a/samples/Basic/linux/build/CMakeFiles/feature_tests.cxx b/samples/Basic/linux/build/CMakeFiles/feature_tests.cxx deleted file mode 100644 index b93418c..0000000 --- a/samples/Basic/linux/build/CMakeFiles/feature_tests.cxx +++ /dev/null @@ -1,405 +0,0 @@ - - const char features[] = {"\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L -"1" -#else -"0" -#endif -"cxx_aggregate_default_initializers\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L -"1" -#else -"0" -#endif -"cxx_alias_templates\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L -"1" -#else -"0" -#endif -"cxx_alignas\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L -"1" -#else -"0" -#endif -"cxx_alignof\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L -"1" -#else -"0" -#endif -"cxx_attributes\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L -"1" -#else -"0" -#endif -"cxx_attribute_deprecated\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_auto_type\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L -"1" -#else -"0" -#endif -"cxx_binary_literals\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_constexpr\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L -"1" -#else -"0" -#endif -"cxx_contextual_conversions\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_decltype\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L -"1" -#else -"0" -#endif -"cxx_decltype_auto\n" -"CXX_FEATURE:" -#if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L -"1" -#else -"0" -#endif -"cxx_decltype_incomplete_return_types\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_default_function_template_args\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_defaulted_functions\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_defaulted_move_initializers\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L -"1" -#else -"0" -#endif -"cxx_delegating_constructors\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_deleted_functions\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L -"1" -#else -"0" -#endif -"cxx_digit_separators\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_enum_forward_declarations\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_explicit_conversions\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L -"1" -#else -"0" -#endif -"cxx_extended_friend_declarations\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_extern_templates\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L -"1" -#else -"0" -#endif -"cxx_final\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_func_identifier\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_generalized_initializers\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L -"1" -#else -"0" -#endif -"cxx_generic_lambdas\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L -"1" -#else -"0" -#endif -"cxx_inheriting_constructors\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_inline_namespaces\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_lambdas\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L -"1" -#else -"0" -#endif -"cxx_lambda_init_captures\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_local_type_template_args\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_long_long_type\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_noexcept\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L -"1" -#else -"0" -#endif -"cxx_nonstatic_member_init\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_nullptr\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L -"1" -#else -"0" -#endif -"cxx_override\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_range_for\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_raw_string_literals\n" -"CXX_FEATURE:" -#if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L -"1" -#else -"0" -#endif -"cxx_reference_qualified_functions\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L -"1" -#else -"0" -#endif -"cxx_relaxed_constexpr\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L -"1" -#else -"0" -#endif -"cxx_return_type_deduction\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_right_angle_brackets\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_rvalue_references\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_sizeof_member\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_static_assert\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_strong_enums\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && __cplusplus -"1" -#else -"0" -#endif -"cxx_template_template_parameters\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L -"1" -#else -"0" -#endif -"cxx_thread_local\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_trailing_return_types\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_unicode_literals\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_uniform_initialization\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_unrestricted_unions\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L -"1" -#else -"0" -#endif -"cxx_user_literals\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L -"1" -#else -"0" -#endif -"cxx_variable_templates\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_variadic_macros\n" -"CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -"1" -#else -"0" -#endif -"cxx_variadic_templates\n" - -}; - -int main(int argc, char** argv) { (void)argv; return features[argc]; } From 2c6d35d1efe751fc380c9224b3957c3b9d0c3037 Mon Sep 17 00:00:00 2001 From: origamidance Date: Tue, 5 Dec 2017 17:19:24 +0100 Subject: [PATCH 10/14] updated sumodule --- lib/imgui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/imgui b/lib/imgui index de72e9c..77d1a4b 160000 --- a/lib/imgui +++ b/lib/imgui @@ -1 +1 @@ -Subproject commit de72e9cc87e9f2da56145c3bd3c4681443c05184 +Subproject commit 77d1a4b6369943064a8faf9025ef211c0473ab4c From b01c6d519b5f6efcfa68a8238fb576481ff553d7 Mon Sep 17 00:00:00 2001 From: origamidance Date: Thu, 21 Dec 2017 17:57:29 +0100 Subject: [PATCH 11/14] revert and fix glyph problem --- src/CinderImGui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CinderImGui.cpp b/src/CinderImGui.cpp index 012e792..283838a 100644 --- a/src/CinderImGui.cpp +++ b/src/CinderImGui.cpp @@ -548,8 +548,8 @@ ImFont* Renderer::addFont( const ci::fs::path &font, float size, const ImWchar* for( const ImWchar* range = glyph_ranges; range[0] && range[1]; range += 2 ) { ranges.push_back( range[0] ); ranges.push_back( range[1] ); - ranges.push_back( 0 ); } + ranges.push_back( 0 ); glyphRanges = ranges.data(); } // otherwise get them from the font From fd1e0d3364e7131c70f48be6552c538402a72029 Mon Sep 17 00:00:00 2001 From: origamidance Date: Thu, 15 Feb 2018 16:34:44 +0100 Subject: [PATCH 12/14] added clipboard submodule --- .gitmodules | 3 ++ lib/clipboard_lite | 1 + lib/imgui | 2 +- proj/cmake/Cinder-ImGuiConfig.cmake | 55 +++++++++++++++++++++++++++-- 4 files changed, 58 insertions(+), 3 deletions(-) create mode 160000 lib/clipboard_lite diff --git a/.gitmodules b/.gitmodules index 2d90e46..0b0fd00 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "lib/imgui"] path = lib/imgui url = https://github.com/ocornut/imgui.git +[submodule "lib/clipboard_lite"] + path = lib/clipboard_lite + url = https://github.com/smasherprog/clipboard_lite diff --git a/lib/clipboard_lite b/lib/clipboard_lite new file mode 160000 index 0000000..5b26bb9 --- /dev/null +++ b/lib/clipboard_lite @@ -0,0 +1 @@ +Subproject commit 5b26bb9aae85a70b477d2cf775ff350cb905ad56 diff --git a/lib/imgui b/lib/imgui index 398a4e1..651538e 160000 --- a/lib/imgui +++ b/lib/imgui @@ -1 +1 @@ -Subproject commit 398a4e1865db8225f7e1367dba17223ca57e1291 +Subproject commit 651538e13bef974e5cc7db3fbd0e78fe78f98f63 diff --git a/proj/cmake/Cinder-ImGuiConfig.cmake b/proj/cmake/Cinder-ImGuiConfig.cmake index 5fc6d8a..774bee9 100644 --- a/proj/cmake/Cinder-ImGuiConfig.cmake +++ b/proj/cmake/Cinder-ImGuiConfig.cmake @@ -1,21 +1,72 @@ if( NOT TARGET Cinder-ImGui ) get_filename_component( IMGUI_ROOT_PATH "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE ) + if(MSVC) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4") + else() + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic") + endif() + + if(WIN32) + set(CLIPBOARD_LITE_PLATFORM_SRC + ${IMGUI_ROOT_PATH}/lib/clipboard_lite/include/windows/Clipboard.h + ${IMGUI_ROOT_PATH}/lib/clipboard_lite/src/windows/Clipboard.cpp + ) + set(CLIPBOARD_LITE_PLATFORM_INC + ${IMGUI_ROOT_PATH}/lib/clipboard_lite/include/windows + ) + elseif(APPLE) + set(CLIPBOARD_LITE_PLATFORM_SRC + ${IMGUI_ROOT_PATH}/lib/clipboard_lite/include/ios/Clipboard.h + ${IMGUI_ROOT_PATH}/lib/clipboard_lite/src/ios/Clipboard.mm + ) + + set(CLIPBOARD_LITE_PLATFORM_INC + ${IMGUI_ROOT_PATH}/lib/clipboard_lite/include/ios + ) + else() + set(CLIPBOARD_LITE_PLATFORM_SRC + ${IMGUI_ROOT_PATH}/lib/clipboard_lite/include/linux/Clipboard.h + ${IMGUI_ROOT_PATH}/lib/clipboard_lite/src/linux/Clipboard.cpp + ) + find_package(X11 REQUIRED) + + set(CLIPBOARD_LITE_PLATFORM_INC + ${IMGUI_ROOT_PATH}/lib/clipboard_lite/include/linux + ${X11_INCLUDE_DIR} + ) + endif() + message("clipboard folder=${CLIPBOARD_LITE_PLATFORM_INC}") list( APPEND IMGUI_SOURCES ${IMGUI_ROOT_PATH}/src/CinderImGui.cpp ${IMGUI_ROOT_PATH}/lib/imgui/imgui.cpp ${IMGUI_ROOT_PATH}/lib/imgui/imgui_draw.cpp ${IMGUI_ROOT_PATH}/lib/imgui/imgui_demo.cpp ) +list(APPEND CLIPBOARD_LITE_SOURCES + ${IMGUI_ROOT_PATH}/lib/clipboard_lite/include/Clipboard_Lite.h + ${IMGUI_ROOT_PATH}/lib/clipboard_lite/src/Clipboard_Lite.cpp + ${CLIPBOARD_LITE_PLATFORM_SRC} + ) +list(APPEND CLIPBOARD_LITE_INCLUDE + ${CLIPBOARD_LITE_PLATFORM_INC} + ${IMGUI_ROOT_PATH}/lib/clipboard_lite/include + ) - add_library( Cinder-ImGui ${IMGUI_SOURCES} ) +add_library( Cinder-ImGui + ${IMGUI_SOURCES} + ${CLIPBOARD_LITE_SOURCES} + ) list( APPEND IMGUI_INCLUDE_DIRS ${IMGUI_ROOT_PATH}/include ${IMGUI_ROOT_PATH}/lib/imgui ) - target_include_directories( Cinder-ImGui PUBLIC "${IMGUI_INCLUDE_DIRS}" ) +target_include_directories( Cinder-ImGui PUBLIC + ${IMGUI_INCLUDE_DIRS} + ${CLIPBOARD_LITE_INCLUDE} + ) if( NOT TARGET cinder ) include( "${CINDER_PATH}/proj/cmake/configure.cmake" ) From e772c0e4e3733da17b3f6806ea59c133b46e286a Mon Sep 17 00:00:00 2001 From: origamidance Date: Tue, 27 Feb 2018 18:56:35 +0100 Subject: [PATCH 13/14] recover cmake --- proj/cmake/Cinder-ImGuiConfig.cmake | 101 +++++++--------------------- 1 file changed, 26 insertions(+), 75 deletions(-) diff --git a/proj/cmake/Cinder-ImGuiConfig.cmake b/proj/cmake/Cinder-ImGuiConfig.cmake index 774bee9..4bac35a 100644 --- a/proj/cmake/Cinder-ImGuiConfig.cmake +++ b/proj/cmake/Cinder-ImGuiConfig.cmake @@ -1,80 +1,31 @@ -if( NOT TARGET Cinder-ImGui ) - get_filename_component( IMGUI_ROOT_PATH "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE ) +if (NOT TARGET Cinder-ImGui) + get_filename_component(IMGUI_ROOT_PATH "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE) + list(APPEND IMGUI_SOURCES + ${IMGUI_ROOT_PATH}/src/CinderImGui.cpp + ${IMGUI_ROOT_PATH}/lib/imgui/imgui.cpp + ${IMGUI_ROOT_PATH}/lib/imgui/imgui_draw.cpp + ${IMGUI_ROOT_PATH}/lib/imgui/imgui_demo.cpp + ) + add_library(Cinder-ImGui + ${IMGUI_SOURCES} + ) - if(MSVC) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4") - else() - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic") - endif() + list(APPEND IMGUI_INCLUDE_DIRS + ${IMGUI_ROOT_PATH}/include + ${IMGUI_ROOT_PATH}/lib/imgui + ) - if(WIN32) - set(CLIPBOARD_LITE_PLATFORM_SRC - ${IMGUI_ROOT_PATH}/lib/clipboard_lite/include/windows/Clipboard.h - ${IMGUI_ROOT_PATH}/lib/clipboard_lite/src/windows/Clipboard.cpp - ) - set(CLIPBOARD_LITE_PLATFORM_INC - ${IMGUI_ROOT_PATH}/lib/clipboard_lite/include/windows - ) - elseif(APPLE) - set(CLIPBOARD_LITE_PLATFORM_SRC - ${IMGUI_ROOT_PATH}/lib/clipboard_lite/include/ios/Clipboard.h - ${IMGUI_ROOT_PATH}/lib/clipboard_lite/src/ios/Clipboard.mm - ) + target_include_directories(Cinder-ImGui PUBLIC + ${IMGUI_INCLUDE_DIRS} + ) - set(CLIPBOARD_LITE_PLATFORM_INC - ${IMGUI_ROOT_PATH}/lib/clipboard_lite/include/ios - ) - else() - set(CLIPBOARD_LITE_PLATFORM_SRC - ${IMGUI_ROOT_PATH}/lib/clipboard_lite/include/linux/Clipboard.h - ${IMGUI_ROOT_PATH}/lib/clipboard_lite/src/linux/Clipboard.cpp - ) - find_package(X11 REQUIRED) + if (NOT TARGET cinder) + include("${CINDER_PATH}/proj/cmake/configure.cmake") + find_package(cinder REQUIRED PATHS + "${CINDER_PATH}/${CINDER_LIB_DIRECTORY}" + "$ENV{CINDER_PATH}/${CINDER_LIB_DIRECTORY}") + endif () - set(CLIPBOARD_LITE_PLATFORM_INC - ${IMGUI_ROOT_PATH}/lib/clipboard_lite/include/linux - ${X11_INCLUDE_DIR} - ) - endif() - message("clipboard folder=${CLIPBOARD_LITE_PLATFORM_INC}") - list( APPEND IMGUI_SOURCES - ${IMGUI_ROOT_PATH}/src/CinderImGui.cpp - ${IMGUI_ROOT_PATH}/lib/imgui/imgui.cpp - ${IMGUI_ROOT_PATH}/lib/imgui/imgui_draw.cpp - ${IMGUI_ROOT_PATH}/lib/imgui/imgui_demo.cpp - ) -list(APPEND CLIPBOARD_LITE_SOURCES - ${IMGUI_ROOT_PATH}/lib/clipboard_lite/include/Clipboard_Lite.h - ${IMGUI_ROOT_PATH}/lib/clipboard_lite/src/Clipboard_Lite.cpp - ${CLIPBOARD_LITE_PLATFORM_SRC} - ) -list(APPEND CLIPBOARD_LITE_INCLUDE - ${CLIPBOARD_LITE_PLATFORM_INC} - ${IMGUI_ROOT_PATH}/lib/clipboard_lite/include - ) + target_link_libraries(Cinder-ImGui PRIVATE cinder) -add_library( Cinder-ImGui - ${IMGUI_SOURCES} - ${CLIPBOARD_LITE_SOURCES} - ) - - list( APPEND IMGUI_INCLUDE_DIRS - ${IMGUI_ROOT_PATH}/include - ${IMGUI_ROOT_PATH}/lib/imgui - ) - -target_include_directories( Cinder-ImGui PUBLIC - ${IMGUI_INCLUDE_DIRS} - ${CLIPBOARD_LITE_INCLUDE} - ) - - if( NOT TARGET cinder ) - include( "${CINDER_PATH}/proj/cmake/configure.cmake" ) - find_package( cinder REQUIRED PATHS - "${CINDER_PATH}/${CINDER_LIB_DIRECTORY}" - "$ENV{CINDER_PATH}/${CINDER_LIB_DIRECTORY}" ) - endif() - - target_link_libraries( Cinder-ImGui PRIVATE cinder ) - -endif() +endif () From ebb51196cdf5ea17fea44809ab7266c1f9932287 Mon Sep 17 00:00:00 2001 From: origamidance Date: Tue, 6 Mar 2018 16:04:10 +0100 Subject: [PATCH 14/14] update submodule --- lib/imgui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/imgui b/lib/imgui index 651538e..945f4d1 160000 --- a/lib/imgui +++ b/lib/imgui @@ -1 +1 @@ -Subproject commit 651538e13bef974e5cc7db3fbd0e78fe78f98f63 +Subproject commit 945f4d1ecd5806268de9674c3753feb7911fb935