Skip to content

Instantly share code, notes, and snippets.

View ericzhng's full-sized avatar
🌝
Focusing

HUI ZHANG ericzhng

🌝
Focusing
  • U-M Aerospace Department
View GitHub Profile
@ericzhng
ericzhng / CMakeLists.txt
Last active April 22, 2022 01:17
An example CMake Visual Studio Project. Both user and software (find_package) can decide on using certain 3rd party external library. Add USE_XXX as macro in either CMakeLists.txt and C/C++ programs.
# CMakeList.txt : CMake project for test_cmake, include source and define
# project specific logic here.
#
cmake_minimum_required (VERSION 3.8)
project ("test_cmake")
# Find OpenMP package
find_package(OpenMP)