<commit_before>project( sgui C )

cmake_minimum_required( VERSION 2.6 )

set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" )
set( CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin" )
set( CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin" )

#----------------------------------------------------------------------
# Compile configuration
#----------------------------------------------------------------------

if( NOT WIN32 )
  option( MEMCANVAS "Compile memory canvas implementation" ON )

  if( NOT MEMCANVAS )
    add_definitions( -DSGUI_NO_MEM_CANVAS )
  endif( )
endif( )

if( WIN32 )
  option( DIRECT3D9 "Compile with Direct3D(R) 9 support" ON )
  option( DIRECT3D11 "Compile with Direct3D(R) 11 support" ON )
else( )
  set( DIRECT3D9 false )
  set( DIRECT3D11 false )
endif( )

option( OPENGL "Compile with OpenGL(R) support" ON )
option( NOFLOAT "Disable all use of floatingpoint data types" OFF )
option( MESSAGEBOX "Compile with message box dialog" ON )
option( NATIVE_MB "Compile with native emergency message box function" ON )

if( UNIX )
  set( ICONCACHE true )<commit_msg>[fix] binary output path for fancy IDEs (MSVC et al)<commit_after>project( sgui C )

cmake_minimum_required( VERSION 2.6 )

set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" )
set( CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin" )
set( CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin" )

set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG "${CMAKE_BINARY_DIR}/lib" )
set( CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG "${CMAKE_BINARY_DIR}/bin" )
set( CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG "${CMAKE_BINARY_DIR}/bin" )

set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE "${CMAKE_BINARY_DIR}/lib" )
set( CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE "${CMAKE_BINARY_DIR}/bin" )
set( CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE "${CMAKE_BINARY_DIR}/bin" )

set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY_MINSIZEREL "${CMAKE_BINARY_DIR}/lib" )
set( CMAKE_LIBRARY_OUTPUT_DIRECTORY_MINSIZEREL "${CMAKE_BINARY_DIR}/bin" )
set( CMAKE_RUNTIME_OUTPUT_DIRECTORY_MINSIZEREL "${CMAKE_BINARY_DIR}/bin" )

set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELWITHDEBINFO "${CMAKE_BINARY_DIR}/lib" )
set( CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELWITHDEBINFO "${CMAKE_BINARY_DIR}/bin" )
set( CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELWITHDEBINFO "${CMAKE_BINARY_DIR}/bin" )

#----------------------------------------------------------------------
# Compile configuration
#----------------------------------------------------------------------

if( NOT WIN32 )
  option( MEMCANVAS "Compile memory canvas implementation" ON )

  if( NOT MEMCANVAS )
    add_definitions( -DSGUI_NO_MEM_CANVAS )
  endif( )
endif( )

if( WIN32 )
  option( DIRECT3D9 "Compile with Direct3D(R) 9 support" ON )
  option( DIRECT3D11 "Compile with Direct3D(R) 11 support" ON )
else( )
  set( DIRECT3D9 false )
  set( DIRECT3D11 false )
endif( )

option( OPENGL "Compile with OpenGL(R) support" ON )
option( NOFLOAT "Disable all use of floatingpoint data types" OFF )
option( MESSAGEBOX "Compile with message box dialog" ON )
option( NATIVE_MB "Compile with native emergency message box function" ON )

if( UNIX )
  set( ICONCACHE true )
{'fraction_non_alphanumeric': 0.18003169572107766, 'fraction_numerical': 0.013312202852614897, 'mean_word_length': 3.6964285714285716, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '53990', 'n_tokens_mistral': 1148, 'n_tokens_neox': 1053, 'n_words': 245}