mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
ENH: add enable language support for PROJECT command, this means that a C only project can be built with cmake, even without a cxx compiler
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# Create a library called "Hello" which includes the source file "hello.cxx".
|
||||
# The extension is already found. Any number of sources could be listed here.
|
||||
ADD_LIBRARY(Hello hello)
|
||||
ADD_LIBRARY(Hello hello.cxx)
|
||||
|
||||
Reference in New Issue
Block a user