Build Cryptography And Use It As WASM

Download cryptography library and build for wasm Download cryptography source code at GitHub, cryptopp. Go to cryptopp folder which contains GNUmakefile. Build it to generate C++ library and execute file. make static dynamic cryptest.exe Create a new folder build and move all generated files into it. mv *.o *.so *.a Read more…

C++ : Create Same BasicIO Functions For Cross-platform Compatibility

I write a few file IO functions which are used in windows and mac os x. bool CopyAFile(const std::string inFile, const std::string outFile); bool RemoveFile(const std::string filePath); void RemoveDir(const std::string folderPath); void MoveAFile(const std::string oldFile, const std::string newFile); void CheckFolderExist(const std::string folderPath); bool FileExists( const std::string path ); void HandleLastSlash( Read more…

Add Subdirectory In CMake Project

Add subdirectories and use VTK library and Qt in my projects. The file structure looks like the following image. projectB generates lib and dll files which will be used by projectA. projectA show a window and print message from Base class in projectB. The file CMakeLists.txt in the root directionary Read more…

Tex To PDF
: convert the Latex file which suffix is tex to a PDF file

X