<commit_before># $Id: Sudoku_shared.pri 312M 2010-10-29 18:45:26Z (local) $


message(Qt version: $$[QT_VERSION])
CONFIG(release, debug|release) {
  message("--- Sudoku project file generation (release mode) ---")
} else {
  message("--- Sudoku project file generation (debug mode) ---")
}


# Basic settings.
message("Basic settings...")
TEMPLATE = app
CONFIG += qt thread resources warn_on
OBJECTS_DIR = .obj
MOC_DIR = .moc
RCC_DIR = .rcc
TARGET = Sudoku


# Input files.
message("Input files...")
HEADERS += Board.h \
           Exception.h \
           FileIO.h \
           FileIOException.h \
           InternalException.h \
           Sudoku.h \
           BoardGenerator.h \
           SudokuApp.h \
           Qt/Dimensions.h \
           Qt/MainWindow.h \
           Qt/NewGameDialog.h \
           Qt/PauseOverlay.h \
           Qt/PauseOverlayEventFilter.h \
           Qt/SudokuGame.h \
           Qt/SudokuView.h \
           Qt/SudokuScene.h \
           Qt/SudokuElement.h \
           Qt/SudokuHUD.h
SOURCES += Board.cpp \
           FileIO.cpp \
           main.cpp \
           Sudoku.cpp \
           BoardGenerator.cpp \
           SudokuApp.cpp \
           Qt/MainWindow.cpp \
           Qt/NewGameDialog.cpp \
           Qt/PauseOverlay.cpp \
           Qt/SudokuGame.cpp \
           Qt/SudokuView.cpp \
           Qt/SudokuScene.cpp \
           Qt/SudokuElement.cpp \
           Qt/SudokuHUD.cpp
RESOURCES += resources/Sudoku.qrc
TRANSLATIONS += translations/sudoku_nl.ts \
                translations/sudoku_fr.ts

# Linux platform-specific settings.
linux-g++ {
  message("Building for Linux (makefile) ...")
}


# Mac OS X platform-specific settings.
macx {
  message("Building for Mac OS X (Xcode project file) ...")

  # Application icon.
  ICON = resources/macx/icon.icns

  # Always create an .app bundle.
  CONFIG += app_bundle
  
  # We want a universal binaries as releases.
  CONFIG(release, debug|release) {
    message("Configured to build a universal binary")
    CONFIG += x86 ppc
  }
}


# Windows platform-specific settings.
win32 {
  message("Building for Windows (Visual Studio project file) ...")

  # Application icon.
  RC_FILE = resources/win32/icon.rc

  # Enable manifest embedding (because we're not generating DLLs). Enabling
  # this when the windows subystem is used, results in linker errors.
  #CONFIG += embed_manifest_exe

  # Using OpenGL on Windows works fine, as long as you don't mind a console
  # window (subsystem = WINDOWS in linker settings results in linker errors).
  QT += opengl
<commit_msg>On Mac OS X: no longer build for the PowerPC CPU architecture, but for x86-64 instead.<commit_after># $Id: Sudoku_shared.pri 312M 2010-10-29 18:45:26Z (local) $


message(Qt version: $$[QT_VERSION])
CONFIG(release, debug|release) {
  message("--- Sudoku project file generation (release mode) ---")
} else {
  message("--- Sudoku project file generation (debug mode) ---")
}


# Basic settings.
message("Basic settings...")
TEMPLATE = app
CONFIG += qt thread resources warn_on
OBJECTS_DIR = .obj
MOC_DIR = .moc
RCC_DIR = .rcc
TARGET = Sudoku


# Input files.
message("Input files...")
HEADERS += Board.h \
           Exception.h \
           FileIO.h \
           FileIOException.h \
           InternalException.h \
           Sudoku.h \
           BoardGenerator.h \
           SudokuApp.h \
           Qt/Dimensions.h \
           Qt/MainWindow.h \
           Qt/NewGameDialog.h \
           Qt/PauseOverlay.h \
           Qt/PauseOverlayEventFilter.h \
           Qt/SudokuGame.h \
           Qt/SudokuView.h \
           Qt/SudokuScene.h \
           Qt/SudokuElement.h \
           Qt/SudokuHUD.h
SOURCES += Board.cpp \
           FileIO.cpp \
           main.cpp \
           Sudoku.cpp \
           BoardGenerator.cpp \
           SudokuApp.cpp \
           Qt/MainWindow.cpp \
           Qt/NewGameDialog.cpp \
           Qt/PauseOverlay.cpp \
           Qt/SudokuGame.cpp \
           Qt/SudokuView.cpp \
           Qt/SudokuScene.cpp \
           Qt/SudokuElement.cpp \
           Qt/SudokuHUD.cpp
RESOURCES += resources/Sudoku.qrc
TRANSLATIONS += translations/sudoku_nl.ts \
                translations/sudoku_fr.ts

# Linux platform-specific settings.
linux-g++ {
  message("Building for Linux (makefile) ...")
}


# Mac OS X platform-specific settings.
macx {
  message("Building for Mac OS X (Xcode project file) ...")

  # Application icon.
  ICON = resources/macx/icon.icns

  # Always create an .app bundle.
  CONFIG += app_bundle
  
  # We want a universal binaries as releases.
  CONFIG(release, debug|release) {
    message("Configured to build a universal binary")
    CONFIG += x86 x86_64
  }
}


# Windows platform-specific settings.
win32 {
  message("Building for Windows (Visual Studio project file) ...")

  # Application icon.
  RC_FILE = resources/win32/icon.rc

  # Enable manifest embedding (because we're not generating DLLs). Enabling
  # this when the windows subystem is used, results in linker errors.
  #CONFIG += embed_manifest_exe

  # Using OpenGL on Windows works fine, as long as you don't mind a console
  # window (subsystem = WINDOWS in linker settings results in linker errors).
  QT += opengl

{'fraction_non_alphanumeric': 0.10522273425499232, 'fraction_numerical': 0.010368663594470046, 'mean_word_length': 2.0786052009456264, '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': '3475651', 'n_tokens_mistral': 1700, 'n_tokens_neox': 1573, 'n_words': 421}