-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from guanshaoheng/master
Fixed some extension problems
- Loading branch information
Showing
7 changed files
with
523 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
cmake_minimum_required(VERSION 3.0) | ||
|
||
project(PretextGraph LANGUAGES CXX C) | ||
|
||
set(CMAKE_CXX_STANDARD 11) | ||
|
||
set(version "0.0.6") | ||
|
||
if (NOT CMAKE_BUILD_TYPE) | ||
set(CMAKE_BUILD_TYPE Debug) | ||
message(STATUS "No build type selected, default to Debug") | ||
endif() | ||
message(STATUS "Build type: ${CMAKE_BUILD_TYPE}") | ||
|
||
link_directories( | ||
${CMAKE_SOURCE_DIR}/libdeflate | ||
) | ||
add_executable(PretextGraph PretextGraph.cpp) | ||
|
||
target_include_directories( | ||
PretextGraph | ||
PRIVATE | ||
wrapper | ||
libdeflate | ||
) | ||
|
||
target_link_libraries( | ||
PretextGraph | ||
PRIVATE | ||
pthread | ||
deflate | ||
) | ||
|
||
if (CMAKE_BUILD_TYPE STREQUAL "Debug") | ||
target_compile_definitions(PretextGraph PRIVATE DEBUG) | ||
endif() | ||
|
||
target_compile_definitions(PretextGraph PRIVATE PV="${version}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.