cmakeBuild Targets


Syntax

  • add_executable(target_name [EXCLUDE_FROM_ALL] source1 [source2...])
  • add_library(lib_name [STATIC|SHARED|MODULE] [EXCLUDE_FROM_ALL] source1 [source2 ...])