mirror of
https://github.com/supleed2/svd2cpp.git
synced 2024-12-22 05:35:50 +00:00
Added cxxopts
This commit is contained in:
parent
9cf36a19b3
commit
2fac6035ab
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +1,6 @@
|
|||
[submodule "tinyxml2"]
|
||||
path = tinyxml2
|
||||
url = https://github.com/leethomason/tinyxml2.git
|
||||
[submodule "cxxopts"]
|
||||
path = cxxopts
|
||||
url = https://github.com/jarro2783/cxxopts.git
|
||||
|
|
6
Makefile
6
Makefile
|
@ -1,6 +1,6 @@
|
|||
OBJS = Build/main.o tinyxml2/tinyxml2.o
|
||||
SOURCE = Src/main.cpp tinyxml2/tinyxml2.cpp
|
||||
HEADER = tinyxml2/tinyxml2.h
|
||||
INCLUDE = -I tinyxml2 -I cxxopts/include
|
||||
OUT = svd2cpp
|
||||
CC = g++
|
||||
FLAGS = -g -c -Wall
|
||||
|
@ -10,10 +10,10 @@ all: $(OBJS)
|
|||
|
||||
Build/main.o: Src/main.cpp
|
||||
mkdir -p Build
|
||||
$(CC) $(FLAGS) Src/main.cpp -o Build/main.o
|
||||
$(CC) $(FLAGS) Src/main.cpp $(INCLUDE) -o Build/main.o
|
||||
|
||||
tinyxml2/tinyxml2.o:
|
||||
$(MAKE) -C tinyxml2/make staticlib
|
||||
$(MAKE) -C tinyxml2/ staticlib
|
||||
|
||||
|
||||
clean:
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
int main(){
|
||||
|
||||
#include <tinyxml2.h>
|
||||
#include <cxxopts.hpp>
|
||||
|
||||
int main(){
|
||||
|
||||
}
|
1
cxxopts
Submodule
1
cxxopts
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 073dd3e645fa0c853c3836f3788ca21c39af319d
|
Loading…
Reference in a new issue