Skip to content
Snippets Groups Projects
Select Git revision
  • 52cc25c5d187ca1f4008c242bc83d72f1292f2be
  • master default
  • mingw_gcc44
  • release_ABP1_012
  • release_ABP1_008
  • release_ABP1_006
  • release_ABP1_007
  • release_ABP1_005
  • release_ABP1_004
  • release_ABP1_003
  • pre_release_0.15
  • release_ABP1_001
  • release_ABP1_002
  • pre_release_0.13
  • pre_release_0.14
  • pre_release_0.11
  • pre_release_0.12
  • pre_release_0.10
  • pre_release_0.09
  • pre_release_0.08
20 results

CMakeLists.txt.oglft.patch

Blame
  • Forked from einsteinathome / graphicsframework
    Source project has a limited visibility.
    • Oliver Bock's avatar
      3fdc34a5
      Yet another build script update · 3fdc34a5
      Oliver Bock authored
      * Patching OGLFT to use fixed path/libfile for freetype2 instead of FindFreetype.cmake module
      * Added failure() for crude error handling (invocations pending)
      * Implemented cleansing in check_last_build()
      * Added global config section
      * Using $LOGFILE
      3fdc34a5
      History
      Yet another build script update
      Oliver Bock authored
      * Patching OGLFT to use fixed path/libfile for freetype2 instead of FindFreetype.cmake module
      * Added failure() for crude error handling (invocations pending)
      * Implemented cleansing in check_last_build()
      * Added global config section
      * Using $LOGFILE
    cs_account.cpp 14.61 KiB
    // This file is part of BOINC.
    // http://boinc.berkeley.edu
    // Copyright (C) 2008 University of California
    //
    // BOINC is free software; you can redistribute it and/or modify it
    // under the terms of the GNU Lesser General Public License
    // as published by the Free Software Foundation,
    // either version 3 of the License, or (at your option) any later version.
    //
    // BOINC is distributed in the hope that it will be useful,
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    // See the GNU Lesser General Public License for more details.
    //
    // You should have received a copy of the GNU Lesser General Public License
    // along with BOINC.  If not, see <http://www.gnu.org/licenses/>.
    
    #ifdef _WIN32
    #include "boinc_win.h"
    #endif
    
    #ifndef _WIN32
    #include "config.h"
    #include <algorithm>
    #include <cstdio>
    #include <cassert>
    #ifdef HAVE_SYS_STAT_H
    #include <sys/stat.h>
    #endif
    #endif
    
    #include <algorithm>
    #include <cstring>
    #include "filesys.h"
    #include "parse.h"
    #include "str_util.h"
    #include "client_state.h"
    #include "client_msgs.h"
    #include "log_flags.h"
    #include "error_numbers.h"
    #include "file_names.h"
    
    using std::string;
    
    // write account_*.xml file.
    // NOTE: this is called only when
    // 1) attach to a project, and
    // 2) after a scheduler RPC
    // So in either case PROJECT.project_prefs
    // (which normally is undefined) is valid
    //
    int PROJECT::write_account_file() {
        char path[256];
        FILE* f;
        int retval;
    
        get_account_filename(master_url, path);
        f = boinc_fopen(TEMP_ACCT_FILE_NAME, "w");
        if (!f) return ERR_FOPEN;
    
        fprintf(f,
            "<account>\n"
            "    <master_url>%s</master_url>\n"
            "    <authenticator>%s</authenticator>\n",
            master_url,
            authenticator
        );
        // put project name in account file for informational purposes only
        // (client state file is authoritative)
        //