This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
git clone http://llvm.org/git/llvm.git | |
cd llvm/tools | |
git clone http://llvm.org/git/clang.git | |
cd clang/tools | |
git clone http://llvm.org/git/clang-tools-extra.git extra | |
cd ../../.. | |
cd projects | |
git clone http://llvm.org/git/compiler-rt.git | |
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
git clone http://llvm.org/git/llvm.git | |
cd llvm/tools | |
git clone http://llvm.org/git/clang.git | |
cd .. | |
cd projects | |
git clone http://llvm.org/git/compiler-rt.git | |
cd .. | |
mkdir build | |
cd build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Foo { | |
int getA() const { return a; } | |
private: | |
int a = 10; | |
friend class Bar; | |
}; | |
class Bar { | |
Bar(Foo* instance):instance(instance){} | |
Foo* operator ->() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Connection { | |
public: | |
virtual void OnData(uint8_t* data, size_t size) = 0; | |
void Write(uint8_t* data, size_t size); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.13) | |
project(test) | |
set(CMAKE_CXX_STANDARD 17) | |
set(scpm_server_branch "develop") | |
include(scpm.cmake) | |
scpm_install(imgui 1.67) | |
scpm_install(expat R_2_2_5) | |
add_executable(${PROJECT_NAME} main.cpp) |
OlderNewer