2 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 #include <dali/public-api/dali-core-version.h>
29 const unsigned int CORE_MAJOR_VERSION = 1;
30 const unsigned int CORE_MINOR_VERSION = 0;
31 const unsigned int CORE_MICRO_VERSION = 1;
32 const char * const CORE_BUILD_DATE = __DATE__ " " __TIME__;
37 /// Allows the printing of the version number ONLY when debug is enabled
42 std::cout << "DALi Core: " << CORE_MAJOR_VERSION << "." << CORE_MINOR_VERSION << "." << CORE_MICRO_VERSION << " (" << CORE_BUILD_DATE << ")" << std::endl;
45 PrintVersion CORE_VERSION;
46 } // unnamed namespace