district10/cmake-templates
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
Some CMake Templates.
Conventions
Use CMake-GUI to generate Visual Studio 2010 project, then use Visual Studio to compile & run.
Most commonly, we build Makefile project:
Simple C project.
cmake_minimum_required( . ) is needed in root CMakeLists.txt, always.
The $ is variable with value C , which is set by the project( C ) .
Simple C++ project.
I recommend Visual Studio 2015 Community Edition.
3.4. Example to Show How to Modualize Your Project
3.5. Example with Support of Boost
Ubuntu install: sudo apt-get install libboost-all-dev .
3.6. Example with 提供外汇交易商Binary简介 Support of OpenCV
Want to how to configure both opencv 2 & 3 on your system? Checkout my tutorial: HOWTO: OpenCV 2 & OpenCV 3 · Issue #4 · district10/cmake-templates.
opencv 2 or less
-
: for opencv2 or less (提供外汇交易商Binary简介 VS2010 😄 , Linux ❓ ) : for opencv3 (VS2010 ❓ , Linux 😄 )
3.7. Example 提供外汇交易商Binary简介 with Support of Qt4
Be sure to make qmake caught by CMake, put it in your $PATH .
Works like qmake -project , one ring to rule 提供外汇交易商Binary简介 them all:
-
(VS2010 😄 , Linux 😄 ) (check out the configs.h.in file) (VS2010 😄 , Linux 😄 ) , works like qmake -project && qmake && make on Linux (VS2010 😄 , Linux 😄 )
3.8. Example with Support 提供外汇交易商Binary简介 of Qt5
3.9. Get'em Together (advanced examples)
This part is called CMake in Action.
- a great cmake wrapper for lua, a great c++ wrapper for lua
- I forked it, and annotated (in chinese), it's really great! My fork: 4ker/luapp: Using lua in C++ style. Build system 提供外汇交易商Binary简介 is CMake..
- Libs
- google test (gmock), for testing and benchmarking, etc
- cppformat, the missing string formating lib
- More documentation
- More elegant & illustrative examples
- Planned Examples
- for Windows, link *.lib files
- for Linux, link *.a , *.so files, set rpath
- etc.
5. Snippets & Helper Functions
There are some utility functions in utilities.cmake , use include(utilities.cmake) to include, then use
- print_include_directories() to print all included directories,
- print_all_linked_libraries(your_exe_or_lib) to print all linked libs,
- print_all_variables() to print all variables
Tip, 提供外汇交易商Binary简介 use cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=YES .. to generate compile commands (a json file).
fanvanzh/3dtiles
This commit does not belong to any branch on this repository, and may belong to 提供外汇交易商Binary简介 a fork outside of the repository.
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub 提供外汇交易商Binary简介 Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
English | 简体中文
Tools for 3D-Tiles convertion.
This is a RUST language project with cpp lib to handle osgb data.
Tools provided are as follow:
Osgb(OpenSceneGraph Binary) to 3D-Tiles : convert huge of osgb file to 3D-Tiles.
Esri Shapefile to 3D-Tiles : convert shapefile to 3D-Tiles.
Fbx to 3D-Tiles : convert fbx file to 3D-Tiles, include auto_lod\texture convertion etc.
提供外汇交易商Binary简介
This Sliding Bar can be switched on or off in theme options, and can take any widget you throw at it or 提供外汇交易商Binary简介 even fill it with your custom HTML Code. Its perfect for grabbing the attention of your viewers. Choose between 1, 2, 3 or 4 columns, set the background color, widget divider color, activate transparency, a top border 提供外汇交易商Binary简介 or fully disable it on desktop and mobile.
Recent Tweets
A #Creative #Website project can be challenging to nail down the aesthetic. The #Avada #WebsiteBuilder makes this p… twitter.com/i/web/status/1…
Take advantage of an exclusive #discountoffer for #Avada customers! High-performance #WordPress #hosting by… twitter.com/i/web/status/1…
Newsletter
Sign-up to get the latest news and update information. Don't worry, we won't send spam!
提供外汇交易商Binary简介
A character string literal, hexadecimal literal, or bit-value literal may have an optional character set introducer and COLLATE clause, to designate it as a string that uses a particular character set and collation:
The _ charset_name expression is formally called an introducer . It tells the parser, “ the string that follows uses character set charset_name . ” An introducer does not change the string to 提供外汇交易商Binary简介 提供外汇交易商Binary简介 the introducer character set like CONVERT() would do. It does not change the string value, although padding may occur. The introducer is just a signal.
For character string literals, space between the introducer and the string is permitted but optional.
For character set literals, an introducer indicates the character 提供外汇交易商Binary简介 set for the following string, but does not change how the parser performs escape processing within the string. Escapes are always interpreted by the parser according to the character set given by character_set_connection . For additional discussion and examples, see Section 10.3.6, “Character String Literal Character Set and Collation”.
Character set introducers and the COLLATE clause are implemented according to standard SQL specifications.
Character string literals can be designated as binary strings by using the _binary introducer. Hexadecimal literals and bit-value literals are binary strings by default, so _binary is permitted, but unnecessary.
MySQL determines the character set 提供外汇交易商Binary简介 and collation of a character string literal, hexadecimal literal, or bit-value literal 提供外汇交易商Binary简介 in the following manner:
If both _charset_name and COLLATE collation_name are specified, character 提供外汇交易商Binary简介 set charset_name and collation collation_name are used. collation_name must be a permitted collation for charset_name .
If _charset_name is specified but COLLATE is not specified, character set charset_name and its default collation are used. To see the default 提供外汇交易商Binary简介 collation for each character set, use the SHOW CHARACTER SET statement or query the INFORMATION_SCHEMA CHARACTER_SETS table.
If _charset_name is not specified but COLLATE collation_name is specified:
For a character string literal, the connection default character set 提供外汇交易商Binary简介 given by the character_set_connection system variable and collation collation_name are used. collation_name must be a permitted collation for the connection default character set.
For a hexadecimal literal or bit-value literal, the only permitted collation is binary because 提供外汇交易商Binary简介 these types of literals are binary strings by default.
Otherwise (neither _charset_name nor COLLATE collation_name is specified):
For a character string literal, the connection default character set and collation given by the character_set_connection and collation_connection system variables 提供外汇交易商Binary简介 are used.
For a hexadecimal literal or bit-value literal, the character set and collation are binary .
Nonbinary strings with latin1 character set and latin1_german1_ci 提供外汇交易商Binary简介 collation:
Nonbinary strings with utf8 character set and its default collation (that is, utf8_general_ci ):
Binary strings with binary character set and its default collation (that is, binary ):
The hexadecimal literal and bit-value literal need no introducer because they are binary strings by default.
A nonbinary string with the connection default 提供外汇交易商Binary简介 character set and utf8_general_ci collation (fails if the connection character set is not utf8 ):
This construction ( COLLATE only) does not work for hexadecimal literals 提供外汇交易商Binary简介 or bit literals because their character set is binary no matter the connection character set, and binary is not compatible with the utf8_general_ci collation. The only permitted COLLATE clause in the absence of an introducer is COLLATE binary .