Template
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0970a23501 |
@@ -1,5 +1,7 @@
|
|||||||
cmake_minimum_required(VERSION 3.10)
|
cmake_minimum_required(VERSION 3.10)
|
||||||
|
|
||||||
project(cpp_example)
|
project(cpp_example)
|
||||||
|
# static linking
|
||||||
|
set(CMAKE_EXE_LINKER_FLAGS "-static")
|
||||||
|
|
||||||
add_executable(cpp_example main.cpp)
|
add_executable(cpp_example main.cpp)
|
||||||
Reference in New Issue
Block a user