mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-27 09:29:15 -05:00
53a69c7dd4
For greater transparency tests are moved to a subfolder with each test having its own dir.
8 lines
254 B
CMake
8 lines
254 B
CMake
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/main.cpp"
|
|
"int main() {return 0;}\n")
|
|
add_executable(test_prog "${CMAKE_CURRENT_BINARY_DIR}/main.cpp")
|
|
|
|
install(TARGETS test_prog DESTINATION foo COMPONENT applications)
|
|
|
|
set(CPACK_RPM_FILE_NAME "RPM-DEFAULT")
|