Skip to content

Commit da508ad

Browse files
committed
Initial code revision
1 parent 29bb27b commit da508ad

File tree

5 files changed

+1968
-0
lines changed

5 files changed

+1968
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Build/

CMakeLists.txt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
cmake_minimum_required (VERSION 3.5.1)
2+
project (ComgrUtils)
3+
4+
set (COMGR_UTILS_VERSION_MAJOR 1)
5+
set (COMGR_UTILS_VERSION_MINOR 0)
6+
7+
# Path to the comgr header
8+
include_directories(AFTER ${COMGR_INCLUDE_DIR} )
9+
10+
# Add all header and source files within the directory to the library.
11+
file (GLOB CPP_INC
12+
"Src/ComgrUtils.h"
13+
)
14+
15+
# Add all source files found within this directory.
16+
file (GLOB CPP_SRC
17+
"Src/ComgrUtils.cpp"
18+
)
19+
20+
# Pick up the source files that are relevant to the platform
21+
add_library(${PROJECT_NAME} STATIC ${CPP_SRC} ${CPP_INC})
22+
23+
# Added since ComgrUtils is included in a dynamic object (RgpFileAnalyzer)
24+
set_property(TARGET ${PROJECT_NAME} PROPERTY POSITION_INDEPENDENT_CODE ON)
25+

LICENSE

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2018 Advanced Micro Devices, Inc. All rights reserved.
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

0 commit comments

Comments
 (0)