mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-12-22 20:05:31 +00:00
Fixed the build error with peglint.
This commit is contained in:
parent
795c84e007
commit
59c7ab94ac
@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0)
|
|||||||
include_directories(.)
|
include_directories(.)
|
||||||
add_definitions("-std=c++1y")
|
add_definitions("-std=c++1y")
|
||||||
|
|
||||||
add_executable(peglint lint/peglint.cc)
|
add_executable(peglint lint/peglint.cc lint/server.cc)
|
||||||
target_link_libraries(peglint pthread)
|
target_link_libraries(peglint pthread)
|
||||||
|
|
||||||
add_executable(test-main test/test.cc)
|
add_executable(test-main test/test.cc)
|
||||||
|
@ -11,5 +11,5 @@ endif
|
|||||||
|
|
||||||
all: peglint
|
all: peglint
|
||||||
|
|
||||||
peglint : peglint.cc ../peglib.h
|
peglint : peglint.cc server.cc ../peglib.h
|
||||||
$(CC) -o peglint $(CFLAGS) -I.. peglint.cc
|
$(CC) -o peglint $(CFLAGS) -I.. peglint.cc server.cc
|
||||||
|
Loading…
Reference in New Issue
Block a user