-
Notifications
You must be signed in to change notification settings - Fork 36
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 #64 from sharonsun1999/master
Merging branches
- Loading branch information
Showing
7 changed files
with
2,281 additions
and
1,998 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,12 @@ | ||
cmake_minimum_required(VERSION 3.13) # CMake version check | ||
project(strawC) # Create project "simple_example" | ||
set(CMAKE_CXX_STANDARD 14) # Enable c++14 standard | ||
|
||
# g++ -std=c++0x -o straw main.cpp straw.cpp -lcurl -lz | ||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -lcurl -lz") | ||
|
||
# Add main.cpp file of project root directory as source file | ||
set(SOURCE_FILES main.cpp straw.cpp) | ||
add_executable(straw ${SOURCE_FILES}) | ||
|
||
target_link_libraries(straw curl z) |
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.